BloggingAbout.NET
Thoughts of developers
DevMetrics and Nant Build

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:

  1. The running of metrics tool should be part of your automatic build process.
  2. 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

Comments

Jan Schreuder wrote re: DevMetrics and Nant Build
on Fri, Jul 22 2005 4:33 AM
Well done, Mario!!!!
Mario Roovers wrote re: DevMetrics and Nant Build
on Fri, Jul 22 2005 6:28 AM
Thankx Jan.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

Please add 6 and 7 and type the answer here:
Copyright © 2003-2010 BloggingAbout.NET