Ohcount, the Ohloh’s line counter
This afternoon I did some simple tests with Ohcount which is the Ohloh’s source code line counter. I did not manage to compile the 3.0 release, but the latest version downloaded from git worked properly.
For me, the most interesting part is the possibility to get the license from a source code file with the flag “-l”
$ ./bin/ohcount -l /tmp/evince/
UPDATE I’ve found a bug in this version of the tool while studying the evince code. It identifies cpp code in the libview directory which is false. I’ve reported the bug to the main developer in sourceforge.