Change Risk Analyzer and Predictor

Change Risk Analyzer and Predictor

This seems to be the hot topic lately.

Everyone want C.R.A.P. related info in covereage. My mangement is asking for items from NCover the I'm not sure I can provide:

Average CRAP score Total lines of code Number of methods above C.R.A.P threshold (30+) Number of methods above Complexity threhshold (10+) Average C.R.A.P. score Overall test coverage

I'm thinking of just generating the FullCoverage report with the MSBuild NCover.Reporting task using xsl, then parsing it out myself using a custom MSBuild task to generate the output xml.

Can anyone think of a better way for any of this info needed?

Thanks,

Todd


RE: Change Risk Analyzer and Predictor

you should generate a report-format xml file using NCover Reporting and then use xslt to get the data from the file.

http://docs.ncover.com/kb/ncover-trend-and-report-file-definition