As a reaction on the blog of Jan, the following:
I agree that it is very good too use metrics tools like DevMetrics. It is very useful especially for code reviews.
But there are two things important:
- The running of metrics tool should be part of your automatic build process.
- You should frequently analyze the metrics results and take actions, such as code reviews.
Today i have added devmetrics too our automatic build process. If you want to do this, you should add the following XML configuration to your Nant build file:
<!-- run DevMetrics to Analyse the code-->
<target name="devMetricsReport" description="Run DevMetrics on the solution">
<exec program="${devmetrics.dir}devmetrics.exe" commandline='/q /o:"${Build.OutputFolder}latest" "${src.dir}"' failonerror="false" verbose="true"/>
</target>
This will result into to two reports, one project report and one detail report. You find an example of a report on: http://www.anticipatingminds.com/images/devMetricsReport.gif
Tools like this really improve the quality of your code within a project and it's fun to see the results.

Posted
Fri, Jul 22 2005 12:40 PM
by
Mario Roovers