harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [wish] harmony NCSS chart over time wanted!
Date Sat, 05 Aug 2006 21:29:32 GMT

On 5 August 2006 at 14:19, Geir Magnusson Jr <geir@pobox.com> wrote:
> 
> 
> Stefano Mazzocchi wrote:
> > This morning I woke up thinking that it would be nice to see an
> > historical chart of the (real) lines of code in harmony over time.
> > 
> > I found this: http://www.kclee.de/clemens/java/javancss/
> > 
> > A tool that checks the real lines of code in a java program and the code
> > complexity of class, methods and packages.
> > 
> > Here's the pseudocode that would use if I had time to implement this:
> 
> You forgot a step :
> 
>    - go to a starbucks and get online there, so when infrastructure bans
> the IP address of the person that did 238,541 svn updates on the harmony
> svn tree....

Maybe try it with long sleep between updates and limit it to the ~2000
relevant updates...

> Maybe I'll try it on the svn box sometime when it's quiet...
> 
> > 
> >  - find out the initial svn revision number that Harmony was committed in
> >  - checkout that revision number (svn can checkout a specific revision
> > number)
> > 
> >  - apply javaNCSS on that, save the output as XML as
> > "revision#.ncss.xml" or something like that
> > 
> >  - increase the revision number by one and call svn update with that
> > revision (most revisions won't update harmony but there is no way to
> > know this in advance)

svn log |awk '/^r[0-9]* \|/{ print $1 }' ?

-Mark.

> >  - apply javaNCSS on that
> > 
> >  - and so on, until svn returns an error because it ran out of revision
> > numbers
> > 
> > At this point, the latest processed revision can be obtained using "svn
> > info" on the harmony folder and we can continue from there as a cron job
> > or something.
> > 
> > Once all that data is there, we can plot it using things like gnuplot or
> > ploticus or even a custom java2d->jpg thingy.
> > 
> > Any volunteer?
> > 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message