I have started to work with the Code Measurement and Analysis features of VS2010; i.e. the code analysis, code metrics and code coverage. I have gone through the details about how to run these tools (using VS and automate via the command line) and have also looked at the results.
I was wondering if there is way to compare the results to better understand the "progress", meaning how the quality of code has been improving on an ongoing basis? For example, I would like to compare the code metrics statistics (xml results file) from a previous build and compare it with the current build.
Is there a tool available for this that I am not aware of? Right now we are thinking about storing results in excel and do comparisons and charting on it as we progress.
Appreciate if anyone has any thoughts.
Thanks
The only dedicated comparison tool of which I am aware is one that I created a few years ago, which available at http://finlogikfxcopstats.codeplex.com/. I am no longer responsible for its maintenance, and I'm not sure if it's been updated for FxCop 10.0. However, its source code is available, so you can tweak it if you need to...
TFS also offers some results tracking from which historical reports can be generated. However, I find its approach pretty useless since it means that you need to keep your backlog "active", which means that you can't fail builds based on new problems.