Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 SLOC count does not work on linked files

open
nobody
None
5
2006-11-30
2006-11-30
Anonymous
No

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

Discussion