Hi,

There is a program at http://cccc.sourceforge.net which collects metrics
on C, C++ and Java programs (including fan in/out, lines of code, and
lots and lots of weighted metrics) which generates .html reports. It
slots very nicely into an execon task (literally 'cccc file1 file2
file3....). I only got tried it today and it already pointed out two
major flaws in my class design :)

You might want to check it out.

cheers,
        mick

Peter Donald wrote:
> 
> At 10:35  25/4/01 +0200, Johannes Brodwall wrote:
> >Hi,
> >
> >Does any task exists for automatically collecting code metrics?
> >Some metrics that would be interesting are number of classes, fan-
> >in/fan-out for packages, classes and methods, number of lines per
> >method, number of methods per class, number of lines per class, etc.
> >
> >
> >Collecting these numbers by hand is very tedious and probably not
> >cost-efficient.  Collecting it as a part of a build process could
> >be fun, though.
> >
> >Any pointers would be appreciated.
> 
> Theres no task that I know of however the alexandria project (also at
> jakarta) where talking about adding one ... you may be able to *nudge* them
> in right direction or even help them out ;)
> 
> Cheers,
> 
> Pete
> 
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*

-- 
Michael Twomey
These opinions are my own and do not represent Sun unless otherwise
stated.
Sun Microsystems, Dublin, 8199164, x19164
"Fly my little Makefiles! Fly!"

Reply via email to