Skip to content
Proyectos

yegor256/hoc has 66 GitHub stars and 12 forks. Star changes are not measured yet. Last checked 2026-11-13 22:33 UTC. Last push 2026-11-13.

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
Recopilando historial
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

Hits-of-Code Command Line Calculator, for Git and Subversion

Herramientas de desarrollo

README.md

Original

Hits of Code

EO principles respected here DevOps By Rultor.com We recommend RubyMine

rake Gem Version Maintainability Test Coverage Hits-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.

Explorar proyectos relacionados