Skip to content
项目

yegor256/hoc has 66 GitHub stars and 12 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-21 12:34 UTC. Last push 2026-11-17.

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

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

开发工具

README.md

原文

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.

探索相关项目

加载中…