We need to be able to calculate the complete change in the lines of code between the two versions (V1 and V2) of a large Java base. A tool that uses Eclipse or Mercurial would be ideal.
Counting the number of lines of code in V1 and V2 is insufficient, as some sections of the code will be deleted and rewritten between versions.
We really need to calculate something like:
- i = intersection of V1 and V2
- D = Difference from Z to V2
Then we can calculate things like percent change = D / V2
Any recommendations for tools that can do this?
source share