Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Ulli Hafner-2
Hi,

I've seen several mails about people working on some Hudson plugins for
checkstyle, findbugs, cobertura, etc. Is there a public list somewhere
that shows the current state of these plugins? Does someone need help on
finishing such a plugin?

Best regards, Ulli

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Kohsuke Kawaguchi
Administrator
Hafner Ullrich wrote:
> I've seen several mails about people working on some Hudson plugins for
> checkstyle, findbugs, cobertura, etc. Is there a public list somewhere
> that shows the current state of these plugins? Does someone need help on
> finishing such a plugin?

I think a few people developed them internally but couldn't post them
publicly. Of three you named, I'm not aware of any publicly available
version.

If you are willing to start one on http://hudson.dev.java.net/, let me
know...

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Stephen Connolly-2
kohsuke wrote
Hafner Ullrich wrote:
> I've seen several mails about people working on some Hudson plugins for
> checkstyle, findbugs, cobertura, etc. Is there a public list somewhere
> that shows the current state of these plugins? Does someone need help on
> finishing such a plugin?

I think a few people developed them internally but couldn't post them
publicly. Of three you named, I'm not aware of any publicly available
version.

If you are willing to start one on http://hudson.dev.java.net/, let me
know...
Peter has developed a simple checkstyle plugin... AFAIK he wanted to wait until Health Reporting was in Hudson before releasing it.

He is on holidays at the moment, so we'll have to wait.  He seemed confident that he could release it.

Regarding cobertura.  I know of a bare bones plugin that just scrapes the badly formed HTML report (i.e. it's not valid XML) and grabs the coverage data.  Whether the author of that plugin feels up to showing off their code is another question.  I will leave it up to them to decide what they are doing.

In the mean time, you might have more luck copying either the Emma Plugin or the Clover Plugin (not my best code... but I wrote it from home so :-P at least it's not my worst code!)

The others, I don't know.
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Kohsuke Kawaguchi
Administrator
Stephen Connolly wrote:
> Peter has developed a simple checkstyle plugin... AFAIK he wanted to wait
> until Health Reporting was in Hudson before releasing it.
>
> He is on holidays at the moment, so we'll have to wait.  He seemed confident
> that he could release it.

Cool. I'm looking forward to seeing it.

>
> Regarding cobertura.  I know of a bare bones plugin that just scrapes the
> badly formed HTML report (i.e. it's not valid XML) and grabs the coverage
> data.  Whether the author of that plugin feels up to showing off their code
> is another question.  I will leave it up to them to decide what they are
> doing.
>
> In the mean time, you might have more luck copying either the Emma Plugin or
> the Clover Plugin (not my best code... but I wrote it from home so :-P at
> least it's not my worst code!)
>
> The others, I don't know.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Stephen Connolly-2

kohsuke wrote
Stephen Connolly wrote:
> Peter has developed a simple checkstyle plugin... AFAIK he wanted to wait
> until Health Reporting was in Hudson before releasing it.
>
> He is on holidays at the moment, so we'll have to wait.  He seemed confident
> that he could release it.

Cool. I'm looking forward to seeing it.
 
I would be remiss if I did not point out that this is a _simple_ checkstyle plugin.

That is, it reports the number of errors and (if we are lucky) copies a checkstyle html report so that it can be linked from the front page. AFAIK it does not expose the report as Java objects.

However, even in this limited form Peter has reported that it has got all the projects he put it on down to 0 checkstyle errors. That is an achievement worth noting.
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

iamsteveholmes
In reply to this post by Ulli Hafner-2
I'm also very interested in static analysis tools.  I am trying to incorporate PMD right now with Hudson and compared to everything else I've done this is a big headache.  Not to mention there won't be any way to show the report without copying it over to my local machine and opening it up.

I might suggest creating a PMD plugin for the next iteration of my project particularly if someone would be willing to help out.  I can't make any promises though....
-Steve

Hafner Ullrich wrote
Hi,

I've seen several mails about people working on some Hudson plugins for
checkstyle, findbugs, cobertura, etc. Is there a public list somewhere
that shows the current state of these plugins? Does someone need help on
finishing such a plugin?

Best regards, Ulli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Kohsuke Kawaguchi
Administrator
Steve Holmes wrote:
> I'm also very interested in static analysis tools.  I am trying to
> incorporate PMD right now with Hudson and compared to everything else I've
> done this is a big headache.  Not to mention there won't be any way to show
> the report without copying it over to my local machine and opening it up.
>
> I might suggest creating a PMD plugin for the next iteration of my project
> particularly if someone would be willing to help out.  I can't make any
> promises though....

Why don't we start by creating a plugin place holder, even if it doesn't
work right away. We can start by just a POM. Once we create a plugin, it
becomes easier for other people to jump in.

As usual, I'm happy to help.

If you are interested, let me know your java.net user ID so that I can
give you the commit access.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

iamsteveholmes
Sure, it should be iamsteveholmes@gmail.com or maybe just iamsteveholmes.  By the way I got PMD working and I have Hudson saving the report as an artifact.  A bit of a hack but at least I can see the report straight from the build.

kohsuke wrote
Steve Holmes wrote:
> I'm also very interested in static analysis tools.  I am trying to
> incorporate PMD right now with Hudson and compared to everything else I've
> done this is a big headache.  Not to mention there won't be any way to show
> the report without copying it over to my local machine and opening it up.
>
> I might suggest creating a PMD plugin for the next iteration of my project
> particularly if someone would be willing to help out.  I can't make any
> promises though....

Why don't we start by creating a plugin place holder, even if it doesn't
work right away. We can start by just a POM. Once we create a plugin, it
becomes easier for other people to jump in.

As usual, I'm happy to help.

If you are interested, let me know your java.net user ID so that I can
give you the commit access.

--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi@sun.com

 
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Kohsuke Kawaguchi
Administrator
Steve Holmes wrote:
> Sure, it should be [hidden email] or maybe just iamsteveholmes.  By
> the way I got PMD working and I have Hudson saving the report as an
> artifact.  A bit of a hack but at least I can see the report straight from
> the build.

Welcome onboard. I created empty hudson/plugins/pmd directory.

I think the first thing we need is to create pom and perhaps seed the
plugin by writing an empty PluginImpl class.

The clover plugin or the emma plugin would be a good candidate to copy
the files from. If you haven't done so, you'd probably need to follow
http://hudson.gotdns.com/wiki/display/HUDSON/Plugin+tutorial to get your
environment ready, too.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Current state of unreleased analysis plugins (checkstyle, pmd, findbugs, cobertura, etc.)

Tomasz Sterna-2
In reply to this post by iamsteveholmes

Dnia 12-07-2007, czw o godzinie 16:12 -0700, Steve Holmes napisaƂ(a):
> I am trying to
> incorporate PMD right now with Hudson and compared to everything else
> I've
> done this is a big headache.  Not to mention there won't be any way to
> show
> the report without copying it over to my local machine and opening it
> up.

Can't PMD incorporate it's report in javadoc site?


--
Tomasz Sterna
eo Networks Sp. z o.o.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]