There's a really nice (and old) tool called sloccount (http://www.dwheeler.com/sloccount/). Would be nice to add this kind of information to SVNStats, probably in the main page.
sloccount is more known (and accepted) for its counting methodology than statsvn is. Switching the internal linecounting method to an external call to sloccount would be a good idea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In principle it is a good idea but in practice I would not want StatSVn to depend on a non-java external application. This would also require us to do a full check out of each version of the file (even if only transient) as the whole file would be required to detect any comment etc.
If it exists in java and is open souce +1 for investigation
otherwise -1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I confirm we would have to run on the whole file instead of just the diffs. Furthermore, it is GPL and we are LGPL (a bit less restrictive). Using it would make ours GPL, which we do not want in the main product.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
+1
sloccount is more known (and accepted) for its counting methodology than statsvn is. Switching the internal linecounting method to an external call to sloccount would be a good idea
In principle it is a good idea but in practice I would not want StatSVn to depend on a non-java external application. This would also require us to do a full check out of each version of the file (even if only transient) as the whole file would be required to detect any comment etc.
If it exists in java and is open souce +1 for investigation
otherwise -1
I confirm we would have to run on the whole file instead of just the diffs. Furthermore, it is GPL and we are LGPL (a bit less restrictive). Using it would make ours GPL, which we do not want in the main product.