Get resharper issues for new / changed code between two changesets

I am wondering if there is a way to find pending issues only for new and modified lines of code between the two versions?

For example, I start with the baseline version number 50 for a given repository. For a period of 1 month, say, about 20 files have been changed, 5 new ones have been added. The latest version number is 100. I can easily check 5 new files if any comment is pending fix.

But for 20 changed files, how can one find the comment list in one shot. At the moment I am comparing versions 100 and 50 of the abc.cs file and find out the new / changed code in the SVN DIFF and go to the IDE to that line to check if there is any issue raised for it by re-configuring it. This is very time consuming. Is there an efficient way to fix problems for incremental code? For example - get all review comments with incremental code line numbers for the 20 files.

+3


source to share


1 answer


I haven't tried it, but maybe something like this might work for you:

  • get the base version code from the repository;
  • run R # code check on it
  • export verification results to XML baseline.xml file: exporting code issues
  • repeat the steps above in the latest version code.
  • compare XML validation results (baseline.xml and latest.xml) with some diff utility.


Also I found a script that I can try to use myself: http://jbazuzicode.blogspot.com/2014/05/automating-resharpers-inspect-code.html

If you try this script please let us know.

+1


source







All Articles