linecounter is a small Ruby gem that scans a git repository and reports per-file lines of code, churn, branching complexity, and structure, surfacing the heaviest files first. Built by starting with golden master tests to pin CLI output, then using Claude Code to refactor a single script into small classes under lib, switching from regex to the Prism syntax tree for accurate parsing, and publishing to RubyGems.
Sort: