Linux tool to show SLOC and SLOC modified, added, removed
Asked Answered
M

3

5

I am currently using the SLOCCOUNT tool for gaining source lines of code (SLOC) for a codebase.

However, it doesnt support comparing two versions of the codebase and then report:

  • Lines of code (LOC) modified
  • LOC removed
  • LOC added

Can anyone suggest a linux based (preferably free) tool to do this?

Modena answered 6/3, 2009 at 12:30 Comment(0)
J
3

I've used CODECOUNT for differencing baselines. This compares changes, deletions and additions between different code bases. It's provided free of charge by the University of Southern California.

They only provide source code. However, it built cleanly out of the zip file in cygwin using g++. They also claim support for Visual Studio, but I have not tried it.

Jack answered 11/1, 2010 at 19:48 Comment(0)
M
2

I beleive diffstat utility does that.

Mackmackay answered 6/3, 2009 at 12:56 Comment(0)
K
2

It sounds like SLOCCount and SLOC Compare can show you the trend over time, but it isn't exactly what you are looking for.

Krantz answered 6/3, 2009 at 13:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.