Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
331 views
in Technique[技术] by (71.8m points)

estimation - How can we find the count of added ,removed and modified lines of code on comparing two folder in the visual studio(Diff Folders)?

Actually, I want to know the following details after comparing two folder of the source code for the estimation purpose :-

  1. No. of new lines added in the code with respect to the previous version of same code.
  2. No. of lines of code removed/deleted in the new version with respect to the previous one.
  3. No. of lines of code *modified in new version with respect to the previous one. *modified(Changed)-> I mean, there are some constant whose value have been changed in the new version.

Note-> I have used winmerge for this purpose and generated patch file then with the application of a program i am able to find it, but the comparison result i am getting from winmerge is not satisfactory, So I want to do it with the help of visual studio code. I want to know a way so that we can generate the difference report present in the respective two folders( new version and old version), So that by reading the difference report we can get the above mentioned report.

Please suggest a better of doing the same.

Thanks and regards,


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...