Tuesday, January 30, 2007

CCNet still ahead of the game on Statistics

CCNet now tracks build statistics, all you need to do to make this happen is add a block in your project after the merge bit... here are my msbuild warnings and ncover total lines / coverage stats:

<statistics>
<statisticList>
<statistic name="Compile Warnings" xpath="count(//warning)"/>
<statistic name="Total Lines" xpath="count(//coverage/module/method/seqpnt)" />
<statistic name="Coverage" xpath="round((count(//coverage/module/method/seqpnt[@visitcount > 0]) div count(//coverage/module/method/seqpnt)) * 100)" />
</statisticList>
</statistics>

You can then download to excel / cast your eye on the long term trends.

No comments: