Code Coverage

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

Code Coverage

Scott Gray-2
I don't suppose anyone has looked at EMMA (http://emma.sourceforge.net/) as an alternative to Cobertura?  It has a CPL license which means we could include the jar.

Thanks
Scott

HotWax Media
http://www.hotwaxmedia.com


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

Re: Code Coverage

Bob Morley
I seem to recall that the issue may be that EMMA is not being actively  
developed (that isn't to say people don't use it).  As you probably  
know I did some extensions to Adam's work with Cobertura so we could  
be generating code coverage as part of the build and ultimately  
publishing those metrics.  Adam took the initiative to make this  
pluggable and I provided targets that would allow users of Ofbiz to  
download the library if they saw fit.  In doing this, I did notice  
that some of the other Apache products use Clover for these type of  
metrics (assumption is this is just as prt of their build and not  
distributed with their product) ...


On Apr 30, 2010, at 10:28 AM, Scott Gray wrote:

> I don't suppose anyone has looked at EMMA (http://emma.sourceforge.net/ 
> ) as an alternative to Cobertura?  It has a CPL license which means  
> we could include the jar.
>
> Thanks
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>

Reply | Threaded
Open this post in threaded view
|

Re: Code Coverage

Jacopo Cappellato-4
In reply to this post by Scott Gray-2
There was a thread in this list (with the same subject "Code Coverage") between Erwan and Adam: it seems like they discovered that Emma was a dead project...

Jacopo

On Apr 30, 2010, at 4:28 PM, Scott Gray wrote:

> I don't suppose anyone has looked at EMMA (http://emma.sourceforge.net/) as an alternative to Cobertura?  It has a CPL license which means we could include the jar.
>
> Thanks
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>

Reply | Threaded
Open this post in threaded view
|

Re: Code Coverage

Erwan de FERRIERES
In reply to this post by Bob Morley
Problem with Clover is the commercial licence. This could be used as atlassian is giving licences to open source projects, but then users couldn't use it freely at home...
Cobertura is the best default choice we had, as emma is a dead project. Sometimes ago, I have been asking the same question, look at this thread :
http://ofbiz.135035.n4.nabble.com/Code-coverage-td1559131.html#a1559131
Reply | Threaded
Open this post in threaded view
|

Re: Code Coverage

Adam Heath-2
In reply to this post by Scott Gray-2
Scott Gray wrote:
> I don't suppose anyone has looked at EMMA (http://emma.sourceforge.net/) as an alternative to Cobertura?  It has a CPL license which means we could include the jar.

As already mentioned in this thread, and previously, the project was
last released in 2005.  cobertura is still being developed.

The reports from cobertura look nicer.  The classfiles have better
syntax highlighting.  Each line also has line counts attached, which
emma doesn't do.  This can help when a complex if condition only has
partial coverage.

Cobertura also has code complexity calculation.
Reply | Threaded
Open this post in threaded view
|

Re: Code Coverage

Scott Gray-2
On 1/05/2010, at 3:49 AM, Adam Heath wrote:

> Scott Gray wrote:
>> I don't suppose anyone has looked at EMMA (http://emma.sourceforge.net/) as an alternative to Cobertura?  It has a CPL license which means we could include the jar.
>
> As already mentioned in this thread, and previously, the project was
> last released in 2005.  cobertura is still being developed.

Yeah sorry I must have missed it at the time and it looks like a simple search in my email client would have answered the question.

Thanks
Scott

smime.p7s (3K) Download Attachment