4

Can anyone point me in right direction, I'm looking for a tool that can give a report with new lines or modified lines of code added to a project. We are working with SVN, ant, maven, gradel, jenkins, sonar, fisheye, crucible. My boss wants us to generate a report on weekly basis that shows how many new or modified lines of code is added to a project. Please help me out with any tool or script.

Himanshu
  • 126
  • 8

1 Answers1

3

A git diff --numstat can easily do that for a all repo between two dates.
See also "git diff --stat explanation"

git diff --numstat "@{7 day ago}"

You would need to parse its output to get the total, as in "Git: Getting total numbers of uncomitted lines in a repo".
More complete tools are listed here.

For SVN, see "How many lines of code modified during a time period?", or "What svn command would list all the files modified on a branch?".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250