[ANN] Cobertura plugin 0.4 (beta) released

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Cobertura plugin 0.4 (beta) released

Stephen Connolly-2
Changes:

* initial support for multi-report aggregation (may get totals incorrect if reports overlap for individual classes - I'll need to get source file painting support implemented to remove that issue.  However, this is just how the files are parsed.  This version will archive the files correctly so when it is fixed your history should report correctly)
Reply | Threaded
Open this post in threaded view
|

RE: [ANN] Cobertura plugin 0.4 (beta) released

Ulli Hafner-2
Your plugin is not visible in the download page. Did the upload fail?

> -----Original Message-----
> From: Stephen Connolly [mailto:[hidden email]]
> Sent: Wednesday, August 29, 2007 2:36 PM
> To: [hidden email]
> Subject: [ANN] Cobertura plugin 0.4 (beta) released
>
>
> Changes:
>
> * initial support for multi-report aggregation (may get
> totals incorrect if reports overlap for individual classes -
> I'll need to get source file painting support implemented to
> remove that issue.  However, this is just how the files are
> parsed.  This version will archive the files correctly so
> when it is fixed your history should report correctly)
> --
> View this message in context:
> http://www.nabble.com/-ANN--Cobertura-plugin-0.4-%28beta%29-re
> leased-tf4347506.html#a12386191
> Sent from the Hudson users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

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

Reply | Threaded
Open this post in threaded view
|

RE: [ANN] Cobertura plugin 0.4 (beta) released

Stephen Connolly-2
My bad.

I was doing the release while hpi:run was running on plugin in another window!

Pushing again.

-Stephen
Hafner Ullrich wrote
Your plugin is not visible in the download page. Did the upload fail?

> -----Original Message-----
> From: Stephen Connolly [mailto:stephenconnolly@one-dash.com]
> Sent: Wednesday, August 29, 2007 2:36 PM
> To: users@hudson.dev.java.net
> Subject: [ANN] Cobertura plugin 0.4 (beta) released
>
>
> Changes:
>
> * initial support for multi-report aggregation (may get
> totals incorrect if reports overlap for individual classes -
> I'll need to get source file painting support implemented to
> remove that issue.  However, this is just how the files are
> parsed.  This version will archive the files correctly so
> when it is fixed your history should report correctly)
> --
> View this message in context:
> http://www.nabble.com/-ANN--Cobertura-plugin-0.4-%28beta%29-re
> leased-tf4347506.html#a12386191
> Sent from the Hudson users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: users-help@hudson.dev.java.net
>
>

---------------------------------------------------------------------
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: [ANN] Cobertura plugin 0.4 (beta) released

Ulli Hafner-2
In reply to this post by Stephen Connolly-2
> Changes:
>
> * initial support for multi-report aggregation (may get
> totals incorrect if reports overlap for individual classes -
> I'll need to get source file painting support implemented to
> remove that issue.  However, this is just how the files are
> parsed.  This version will archive the files correctly so
> when it is fixed your history should report correctly)

Hi Stephen,

Thanks for adding this option, I waited so long for seeing aggregated
coverage results (the maven plugin does not work for multi-module
builds)!

However, the drill down support seems to be somewhat to fine (in my
opinion). Here, I prefer the original maven report: package statistics,
classes per package and then the file with the coverage information.
These three levels should be sufficient (i.e., two clicks for a single
class). Maybe you could copy the generated HTML maven file reports and
reuse them? This will be a lot of work if you would like to redo this on
your own.

Keep up the good work!

Ulli


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

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Cobertura plugin 0.4 (beta) released

Stephen Connolly-2
Hafner Ullrich wrote:
Changes:

* initial support for multi-report aggregation (may get 
totals incorrect if reports overlap for individual classes - 
I'll need to get source file painting support implemented to 
remove that issue.  However, this is just how the files are 
parsed.  This version will archive the files correctly so 
when it is fixed your history should report correctly)
    

Hi Stephen,

Thanks for adding this option, I waited so long for seeing aggregated
coverage results (the maven plugin does not work for multi-module
builds)! 

However, the drill down support seems to be somewhat to fine (in my
  
The problem is that I get this level of drill down for free!!!
It's actually more work to not provide that level of drill down.
opinion). Here, I prefer the original maven report: package statistics,
classes per package and then the file with the coverage information.
These three levels should be sufficient (i.e., two clicks for a single
  
My aim is two clicks for a single file.  That file should also show the painted source code, and most people will not want to drill down any deeper (but they will be able to... at which point the painted source will no longer be shown.

So you'll have:

Project level -> shows packages (and if there are non-java and non-cobertura generated coverage metrics, their next level will go in here too)

Package level -> shows files in that package

File level -> shows classes in that file, shows painted source code if available (i.e. for the latest build only)

Class level -> shows methods in that class (This is not of much use - other than the coverage history, but it's more work to take it out).  I might be able to show the painted source for that class only... but I'm not sure if it would be easy.

Method level  -> shows the coverage history.
class). Maybe you could copy the generated HTML maven file reports and
reuse them? This will be a lot of work if you would like to redo this on
your own.
  
Nope, I can't copy the HTML file, I have to build this myself, as the coverage reports may overlap.  Thus as I am doing the aggregating, I am saddled with doing the source code painting.

I currently have a good deal of the painting code written (i.e. capturing the line coverage hit counts and aggregating them up to the file level).  I will be unable to report the true conditional coverage, so I will be reporting the highest conditional coverage for each line that was observed from all the coverage reports :-(

Once I have the painting code written, then it's a question of having the publisher capture the painted source code and generate the painted HTML fragments for each file in /hudson/jobs/NAME/cobertura/*.html

Then the file coverage report page can just pull in the HTML fragments.

Not that hard really!
Keep up the good work! 

Ulli


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

  

Reply | Threaded
Open this post in threaded view
|

RE: [ANN] Cobertura plugin 0.4 (beta) released

Ulli Hafner-2
Good too see, that you already planned this! The three levels (project, package, file inkl. source) are excatly the way I like it. If you get the additional ones for free, just use them!
 
Ulli
 

From: Stephen Connolly [mailto:[hidden email]]
Sent: Thursday, August 30, 2007 7:48 PM
To: [hidden email]
Subject: Re: [ANN] Cobertura plugin 0.4 (beta) released

Hafner Ullrich wrote:
Changes:

* initial support for multi-report aggregation (may get 
totals incorrect if reports overlap for individual classes - 
I'll need to get source file painting support implemented to 
remove that issue.  However, this is just how the files are 
parsed.  This version will archive the files correctly so 
when it is fixed your history should report correctly)
    

Hi Stephen,

Thanks for adding this option, I waited so long for seeing aggregated
coverage results (the maven plugin does not work for multi-module
builds)! 

However, the drill down support seems to be somewhat to fine (in my
  
The problem is that I get this level of drill down for free!!!
It's actually more work to not provide that level of drill down.
opinion). Here, I prefer the original maven report: package statistics,
classes per package and then the file with the coverage information.
These three levels should be sufficient (i.e., two clicks for a single
  
My aim is two clicks for a single file.  That file should also show the painted source code, and most people will not want to drill down any deeper (but they will be able to... at which point the painted source will no longer be shown.

So you'll have:

Project level -> shows packages (and if there are non-java and non-cobertura generated coverage metrics, their next level will go in here too)

Package level -> shows files in that package

File level -> shows classes in that file, shows painted source code if available (i.e. for the latest build only)

Class level -> shows methods in that class (This is not of much use - other than the coverage history, but it's more work to take it out).  I might be able to show the painted source for that class only... but I'm not sure if it would be easy.

Method level  -> shows the coverage history.
class). Maybe you could copy the generated HTML maven file reports and
reuse them? This will be a lot of work if you would like to redo this on
your own.
  
Nope, I can't copy the HTML file, I have to build this myself, as the coverage reports may overlap.  Thus as I am doing the aggregating, I am saddled with doing the source code painting.

I currently have a good deal of the painting code written (i.e. capturing the line coverage hit counts and aggregating them up to the file level).  I will be unable to report the true conditional coverage, so I will be reporting the highest conditional coverage for each line that was observed from all the coverage reports :-(

Once I have the painting code written, then it's a question of having the publisher capture the painted source code and generate the painted HTML fragments for each file in /hudson/jobs/NAME/cobertura/*.html

Then the file coverage report page can just pull in the HTML fragments.

Not that hard really!
Keep up the good work! 

Ulli


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