Page 1 of 1

Count of Lines added for added files is Zero

Posted: Thu Apr 26, 2012 2:51 pm
by jlambert
I am trying to compare between two different code revisions I've downloaded to local folders. One ("Base") is the very first revision on the code, with only a very few files. The other ("PreReOrg") is a very recent revision. I am trying to find the number of lines of 'turmoil' in the code (lines added, changed, or deleted) between those two revisions. I get a nice list of the files that are different and the status bar gives me counts of the number of files A/D/C, but the number of lines for each is Zero.

Currently it shows Added(237,0) Deleted(21,0) Changed(0,0). I've opened a file that was added and confirmed it had actual non-commented code in it, several dozen lines. So my count should be (dozens of lines x 237) for added, right?

To be fair, I did a compare between "PostReOrg" and "Today": Added(13,285) Deleted(2,38) Changed(40,406). That seems closer, but does it include the lines Added due to added files?

Am I missing a switch or setting to make this happen? Or is this not something ExamDiff Pro does? How can I do this?

Thanks!
Jim Lambert

Re: Count of Lines added for added files is Zero

Posted: Fri Apr 27, 2012 1:24 pm
by psguru
It's difficult to understand the nature of your question without seeing the results you get. Please post screenshot(s) with the comparison results you referred to.

Re: Count of Lines added for added files is Zero

Posted: Fri Apr 27, 2012 3:08 pm
by jlambert
Good point :( Sorry about that.

Thanks for the help!
Jim

Re: Count of Lines added for added files is Zero

Posted: Fri Apr 27, 2012 3:48 pm
by psguru
Lines from Added and Deleted files are not included in the second numbers in parentheses: counting them was a big performance hit. Only lines from Changed files are counted.