Skip to content
프로젝트

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

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
기록 수집 중
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

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

개발 도구

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.

관련 프로젝트 살펴보기