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.
Asked
Active
Viewed 107 times
1 Answers
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?".
-
Hey @VonC , currently we are using svn also. Is there any process for SVN? – Himanshu Dec 18 '15 at 05:45