SLOC count does not work on linked files
Brought to you by:
dwheeler
I am using SLOC count for Java files. If I run sloccount on a directory that contains linked files sloccount report 0 SLOC. If I run sloccount on the link target I get the expected results.
To recreate:
>mkdir test
>ln -s someDir/someFile.java test/someFile.java
>sloccount test
Result is: SLOC = 0
however,
sloccount someDir
Result is: SLOC > 0
Running Linux, Fedora 4
Kernel: 2.6.11