I have two Java projects in eclipse. Same project but different versions.
Now I want to compare these projects and find out the Inserted, Modified, Deleted LOCs of each java project.
Is there any plugins are available for this same purpose? Or is there any such tools are available? Please advise me.
You can click to projects/folders/packages in Eclipse, right click and select
Compare With>Each Other. That will give you an overview of the differences between them. It does not give it on a line basis however, nor does it recurse into subdirectories.On Linux, you could use
diffanddiffstattogether like follows.Argument
-rwill make the diff recursive (i.e. look in subdirectories), and-Nwill treat missing files as empty (to report lines as added, rather than the file as added).This will produce a list like:
It doesn’t report number of modified files, but inserted and deleted.