yegor256/hoc has 66 GitHub stars and 12 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 06:53 UTC. Last push 2026-11-13.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Hits-of-Code Command Line Calculator, for Git and Subversion
Developer ToolsREADME.md
OriginalHits of Code
It is a command line tool to calculate Hits-of-Code metric in a source code repository (at the moment we support Git 2+ and Subversion 1.7+). You can read more about Hits-of-Code metric in this blog post: Hits-of-Code Instead of SLoC.
You can also use hitsofcode.com by Valentin Brandl, if you want to have a badge in your repo.
Install it first:
gem install hoc
Run it locally and read its output:
hoc --help
For Subversion statistics you must have diffstat installed.
How to contribute
Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 2.3+ and Bundler installed. Then:
bundle update
bundle exec rake
If it's clean and you don't see any error messages, submit your pull request.