Skip to content

Initial Release - Analyze loc and contributors

Choose a tag to compare

@finnmglas finnmglas released this 08 Aug 09:29
· 183 commits to main since this release

First release. Run npm i desprawl, then desprawl in any git repo. Analyses git-tracked files.

✨ Opus 5 Summary

Scope

  • loc, comment and blank split per language and per folder
  • chars and estimated tokens, at four characters per token
  • nest, the mean indentation depth of code lines

History

  • commits, contributors merged by mailmap email, with renames followed
  • commits, churn and last-touched per file and folder
  • daily commit and churn time series in the JSON

Surfaces

  • desprawl prints the report, --depth, --top, --digits, --raw
  • desprawl --json emits the whole thing, version stamped, tree and series included
  • desprawl view writes one self contained html file and opens it, with an overview,
    a folder explorer you can click into with the language split per folder, and the
    commit history drawn as a branch graph

No runtime dependencies. One git log and one git ls-files per run, roughly three
seconds on 400k lines.

https://www.npmjs.com/package/desprawl