Linux tool for demonstrating SLOC and SLOC, added, removed

I am currently using the SLOCCOUNT tool to get the source lines of code (SLOC) for a code base.

However, it does not support comparing two versions of the codebase and then reports:

  • Changed lines of code (LOC)
  • LOC deleted
  • Added LOC

Can anyone suggest a Linux based tool (preferably free) for this?

+5
source share
3 answers

I used CODECOUNT for different baselines. It compares changes, deletions and additions between different code bases. He provided free University of Southern California.

. , zip cygwin, g++. Visual Studio, .

+3

diffstat. .

+2

It looks like SLOCCount and SLOC Compare may show you a trend over time, but this is not quite what you are looking for.

+2
source

All Articles