Search code examples
javaversioningclearcaselines-of-code

count lines of code between two versions


Is there any way to compare lines of code between two clearcase versions , or for that matter whatever the version controller , I want to compare two different version say compare main branch with the development branch. I'm looking this topic for Java


Solution

  • if you need to compare+view+edit the lines then VonC's recommendation of WinMerge is excellent, but if you need to compare the Number Of Lines Of Code (count) then a sloc diff tool like ProjectCodeMeter or CLOC would be better.