My projects, and Perl projects in general, are being dinged because of "Few source code comments". It reports MakeMaker as only having 5%. Ohloh fails to take into account POD, Plain Old Documentation. Documentation embedded in the source code which often takes the place of comments and has a much higher quality.
A simple evaluation of the MakeMaker sources (*.PL, *.t and *.pm) shows that it's...
- 11549 lines of code
- 1180 lines of comments
- 9187 lines of POD
- 3623 blank lines
- 25539 total lines.
- 554 subroutines
- 45.22% code.
- 40.59% POD and comments
Please count POD for the purpose of calculating source code comments. It's very easy to spot in Perl code:
/^=\w+/ # beginning of a POD block
/^=cut\s*$/ # end of a POD block