Menu

#8 Add SlocCount support

open
nobody
None
5
2007-01-23
2007-01-23
No

Hi,

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.

Thanks a lot for this great tool :)

Discussion

  • Gaetano Giunta

    Gaetano Giunta - 2009-05-27

    +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

     
  • Benoit Xhenseval

    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

     
  • Jason Kealey

    Jason Kealey - 2009-05-27

    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.

     

Log in to post a comment.