Lines of Code/JavaNCSS

View: New views
7 Messages — Rating Filter:   Alert me  

Lines of Code/JavaNCSS

by Wellmann, Harald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There have been several people asking for a lines of code plugin, and
since no such plugin seems to be available to date, I thought I might
try to write my own, as a wrapper around the linecount project from
Sourceforge.

Then I read the Stephen Connolly's excellent plugin tutorial using
JavaNCSS line counting as an example.

Not until checking out Hudson from Subversion did I realize that this
javancss plugin is already available in the source tree, but not in the
plugin download section.

I had a look at it and tried to make it work - after installing it, I
got a runtime exception when Hudson was trying to serialize a certain
class. I simply added an "implements Serializable" to that class (not
really understanding whether or not that's a good solution) and now I
get NCSS reports and colourful trend graphs :-).

Is Stephen or anyone else still working on that plugin? Should I send a
patch or maybe commit that fix myself?

What else would be required to complete the JavaNCSS plugin and make it
offical?

Regards,

Harald
 
*******************************************
innovative systems GmbH Navigation-Multimedia
Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot
Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980
 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


RE: Lines of Code/JavaNCSS

by Ulli Hafner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> There have been several people asking for a lines of code
> plugin, and since no such plugin seems to be available to
> date, I thought I might try to write my own, as a wrapper
> around the linecount project from Sourceforge.
>
> Then I read the Stephen Connolly's excellent plugin tutorial
> using JavaNCSS line counting as an example.
>
> Not until checking out Hudson from Subversion did I realize
> that this javancss plugin is already available in the source
> tree, but not in the plugin download section.
>
> I had a look at it and tried to make it work - after
> installing it, I got a runtime exception when Hudson was
> trying to serialize a certain class. I simply added an
> "implements Serializable" to that class (not really
> understanding whether or not that's a good solution) and now
> I get NCSS reports and colourful trend graphs :-).
>
> Is Stephen or anyone else still working on that plugin?
> Should I send a patch or maybe commit that fix myself?
>
> What else would be required to complete the JavaNCSS plugin
> and make it offical?
>

I think Stephen is still working on the plug-in. He should
be the one to release it and take the credits for his plug-in:-)

Ulli

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Lines of Code/JavaNCSS

by kohsuke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hafner Ullrich wrote:

>>
>> There have been several people asking for a lines of code
>> plugin, and since no such plugin seems to be available to
>> date, I thought I might try to write my own, as a wrapper
>> around the linecount project from Sourceforge.
>>
>> Then I read the Stephen Connolly's excellent plugin tutorial
>> using JavaNCSS line counting as an example.
>>
>> Not until checking out Hudson from Subversion did I realize
>> that this javancss plugin is already available in the source
>> tree, but not in the plugin download section.
>>
>> I had a look at it and tried to make it work - after
>> installing it, I got a runtime exception when Hudson was
>> trying to serialize a certain class. I simply added an
>> "implements Serializable" to that class (not really
>> understanding whether or not that's a good solution) and now
>> I get NCSS reports and colourful trend graphs :-).
>>
>> Is Stephen or anyone else still working on that plugin?
>> Should I send a patch or maybe commit that fix myself?
>>
>> What else would be required to complete the JavaNCSS plugin
>> and make it offical?
>>
>
> I think Stephen is still working on the plug-in. He should
> be the one to release it and take the credits for his plug-in:-)
I'm sure he wouldn't mind patches, though. It looks like Harald did some
work, so I'd definitely encourage him to send in patches.

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment

Re: Lines of Code/JavaNCSS

by Wellmann, Harald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems Stephen hasn't been online for a while. His latest Hudson
commit I can see in Fisheye is some 40 days old. I also emailed him
directly at stephen.alan.connolly@... (hope the address is right)
and there's been no reply so far.

So I think I'll go ahead and commit this small change that makes things
work. It's a one-liner anyway, and it'll give everyone else a chance to
look at the plugin and test it.

By the way, I suppose there will be a number of users who would like to
test the plugin in a beta stage but can't be bothered to build it from
source with Maven and all the rest. Is there some kind of established
procedure for providing binary pre-releases?

Regards,

Harald

> >>
> >> Is Stephen or anyone else still working on that plugin?
> >> Should I send a patch or maybe commit that fix myself?
> >>
> >> What else would be required to complete the JavaNCSS
> plugin and make
> >> it offical?
> >>
> >
> > I think Stephen is still working on the plug-in. He should
> be the one
> > to release it and take the credits for his plug-in:-)
>
> I'm sure he wouldn't mind patches, though. It looks like
> Harald did some work, so I'd definitely encourage him to send
> in patches.
>
 
*******************************************
innovative systems GmbH Navigation-Multimedia
Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot
Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980
 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


RE: Lines of Code/JavaNCSS

by Ulli Hafner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> It seems Stephen hasn't been online for a while. His latest
> Hudson commit I can see in Fisheye is some 40 days old. I
> also emailed him directly at stephen.alan.connolly@...
> (hope the address is right) and there's been no reply so far.
>
> So I think I'll go ahead and commit this small change that
> makes things work. It's a one-liner anyway, and it'll give
> everyone else a chance to look at the plugin and test it.
>
> By the way, I suppose there will be a number of users who
> would like to test the plugin in a beta stage but can't be
> bothered to build it from source with Maven and all the rest.
> Is there some kind of established procedure for providing
> binary pre-releases?

Well, not actually established and official, but Erik has a Hudson
instance to build Hudson and the plug-ins: http://hudson.ramfelt.se/ 

Ulli


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Parent Message unknown AW: RE: Lines of Code/JavaNCSS

by Wellmann, Harald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm, I suppose Eriks Meta-Hudson will only pick up the JavaNCSS plugin if it is included in the plugin parent POM, which is not the case yet.

Would that be ok? I just want to avoid anyone thinking that someone is trying to push a new plugin into the next offical Hudson release and get away unnoticed...

Regards,

Harald


-----Ursprüngliche Nachricht-----
Von: Hafner Ullrich [mailto:Ullrich.Hafner@...]
Gesendet: Fr 22.08.2008 09:39
An: dev@...
Cc:
Betreff: RE: Lines of Code/JavaNCSS

>
> It seems Stephen hasn't been online for a while. His latest
> Hudson commit I can see in Fisheye is some 40 days old. I
> also emailed him directly at stephen.alan.connolly@...
> (hope the address is right) and there's been no reply so far.
>
> So I think I'll go ahead and commit this small change that
> makes things work. It's a one-liner anyway, and it'll give
> everyone else a chance to look at the plugin and test it.
>
> By the way, I suppose there will be a number of users who
> would like to test the plugin in a beta stage but can't be
> bothered to build it from source with Maven and all the rest.
> Is there some kind of established procedure for providing
> binary pre-releases?
Well, not actually established and official, but Erik has a Hudson
instance to build Hudson and the plug-ins: http://hudson.ramfelt.se/ 

Ulli


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...
 
*******************************************
innovative systems GmbH Navigation-Multimedia
Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot
Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980
 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

winmail.dat (5K) Download Attachment

Re: Lines of Code/JavaNCSS

by Stephen Connolly-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am on vacation at the moment. work threw a spanner in some of my
Hudson plans with getting some stuff done before my vacation, hence
the inactivity

expect something after sept 1st

goahead and commit your patch, I'll back it out if I disagree

I'll roll a release soon

-Stephen

On 8/22/08, Wellmann, Harald <HWellmann@...> wrote:

> It seems Stephen hasn't been online for a while. His latest Hudson
> commit I can see in Fisheye is some 40 days old. I also emailed him
> directly at stephen.alan.connolly@... (hope the address is right)
> and there's been no reply so far.
>
> So I think I'll go ahead and commit this small change that makes things
> work. It's a one-liner anyway, and it'll give everyone else a chance to
> look at the plugin and test it.
>
> By the way, I suppose there will be a number of users who would like to
> test the plugin in a beta stage but can't be bothered to build it from
> source with Maven and all the rest. Is there some kind of established
> procedure for providing binary pre-releases?
>
> Regards,
>
> Harald
>
>> >>
>> >> Is Stephen or anyone else still working on that plugin?
>> >> Should I send a patch or maybe commit that fix myself?
>> >>
>> >> What else would be required to complete the JavaNCSS
>> plugin and make
>> >> it offical?
>> >>
>> >
>> > I think Stephen is still working on the plug-in. He should
>> be the one
>> > to release it and take the credits for his plug-in:-)
>>
>> I'm sure he wouldn't mind patches, though. It looks like
>> Harald did some work, so I'd definitely encourage him to send
>> in patches.
>>
>
> *******************************************
> innovative systems GmbH Navigation-Multimedia
> Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot
> Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980
>
> *******************************************
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
> loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail ist nicht gestattet.
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and delete this e-mail. Any
> unauthorized copying, disclosure or distribution of the contents in this
> e-mail is strictly forbidden.
> *******************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price!