terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

Comment and empty line count #171

Closed rakhimov closed 7 years ago

rakhimov commented 7 years ago

I got the idea from Open HUB. The metric displays the ratio of 'comment' / (total - empty). The metric hints on how well the code is documented. It turns out 22% is the average for C/C++ projects, and 25% is for Python projects.

rakhimov commented 7 years ago

Turns out this has been implemented in cloc tool.