At last Microsoft released a Power-Tool to enable generating Visual Studio 2010 code metrics analysis using a command line.
the tool can be downloaded from here:
Visual Studio Code Metrics PowerTool 10.0
The output is stored into an XML file which is than can be processed to generate a nice visible report.
Next steps would be to create an xsl that can be used by various build servers (like cc.net).
and integrate this into the crap4Net tool so it can process that format.
This is going to be be useful.
2 comments:
Hi,
Is there any way to export the code metrics xml to excel via TFS build options.
Hi Rajesh,
I'm not that familiar with TFS and i don't know if there's a built in way to export this data. My guess will be that there isn't.
However, I'm sure you can use the command line power tool and add a step that will execute it as a shell command.
Post a Comment