# hoc A command line tool to calculate the hits-of-code metric in a source code repository using Git. You can read more about hits-of-code metric in this blog post: [Hits-of-Code Instead of SLoC][blog_post]. Based on the [Ruby version by Yegor Bugayenko][ruby_version]. [blog_post]: https://www.yegor256.com/2014/11/14/hits-of-code.html [ruby_version]: https://github.com/yegor256/hoc