Enhanced SLOC counting for StatCVS/StatSVN
StatCVS and StatSVN are great tools for monitoring your source repositories. However, the built-in line counter is very simplistic. In fact, it doesn't even differentiate blank and non-blank lines! My patch adds support for counting physical, comment, and logical code lines.
My goal was to modify statcvs to support an extensible set of SLOC counters. In particular, I was interested in sclc, sloccount, and codecount. I also modified the built in counter to at least count blank/non-blank lines. Currently I've only implemented support for SCLC.
Run StatCVS as normal, but add the -counter option.
java -jar statcvs.jar -counter net.sf.statcvs.sloc.SclcSlocCounter