{"repo":"yegor256/hoc","free":true,"listed":false,"github":"https://github.com/yegor256/hoc","clone":"git clone https://github.com/yegor256/hoc.git","description":"Hits-of-Code Command Line Calculator, for Git and Subversion","language":"Ruby","stars":65,"topics":["ruby","metrics","hits-of-code","command-line-tool","git","subversion"],"license":"MIT","category":"cli-tools","readme_excerpt":"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: Run it locally and read its output: 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: If it's clean and you don't see any error messages, submit your pull request.","default_branch":null,"files":null,"tree":[],"storefront":"/r/yegor256","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yegor256/hoc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}