I've had a quick look at the website for Understand - if you have their Pro
or Analyst versions, then you can run it from the command-line (their
basic-version doesn't have a command-line version).

If so you can use the exec task to run it.


Craig

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Daniel Hommel
Sent: Friday, 27 February 2009 5:10 a.m.
To: [email protected]
Subject: [ccnet-user] Re: Report Metrics specifically lines of code


Hi Patrick,

You might want to try out SourceMonitor (Freeware). It shows several
code metrics including lines of code... IIRC there is a howto on the
net to get it working with CC.NET including all needed XSL files.

regards,

Daniel


2009/2/26 Pat <[email protected]>:
>
> Is there a feature in cruise control that will output the certain
> metrics/statistics about the project being compiled.  I am using ccnet
> to compile a project in C++ using Visual Studio 2005.  I initially
> thought that I would run Understand software (metrics analysis tool)
> after I build the project, but I would like this to be done
> automatically and if there is built in functionality that would be
> much better.
>
> My question in short, is there a way to count the lines of code
> automatically after each build and then output that number in the
> report that is generated after each build?
>
> Thanks for any help you can give!
> Patrick

Reply via email to