[jbosstools-issues] [JBoss JIRA] (JBDS-1876) emma code coverage in overall jbosstools-3.3_trunk.soa-tooling.tests fails to find org.eclipse.bpel.* sources; cannot do coverage report so builds fail

Denis Golovin (JIRA) jira-events at lists.jboss.org
Tue Jan 17 17:00:19 EST 2012


     [ https://issues.jboss.org/browse/JBDS-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin resolved JBDS-1876.
---------------------------------

    Resolution: Done


eclemma gather coverage data only for loaded classes, which means final coverage statistic is usually higher that real coverage, because it dosen't consider classes that that wasn't loaded during test. To get real coverage for all classes metadata should be generated manually for plugins included in coverage report. Now it is not possible for plugins that are outside component codebase and are not part of the build. 

I fixed error by skipping metadata generation for unreachable plugins, but it means coverage report shows results higher then they really are.
                
> emma code coverage in overall jbosstools-3.3_trunk.soa-tooling.tests fails to find org.eclipse.bpel.* sources; cannot do coverage report so builds fail
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBDS-1876
>                 URL: https://issues.jboss.org/browse/JBDS-1876
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Build, updatesite, Upstream
>    Affects Versions: 5.0.0.M4
>            Reporter: Nick Boldt
>            Assignee: Denis Golovin
>             Fix For: 5.0.0.Beta1
>
>
> {code}
> 2011-10-07 15:42:31) nickboldt: http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-3.3_trunk.soa-tooling.tests/164/console 
> is failing due to emma coverage for bpel
> (2011-10-07 15:42:57) nickboldt: it's failing to generate emma coverage because the sources for o.e.bpel.* 
> aren't in the workspace, so the build is therefore red
> (2011-10-07 15:43:28) ldimaggi: ok?
> (2011-10-07 15:43:51) nickboldt: I'm wondering if you're ok w/ just disabling code coverage for bpel, or if 
> you want us to figure out some way to fetch org.eclipse.bpel.* sources into the .tests job's workspace so 
> that it can properly do the emma code coverage reporting
> (2011-10-07 15:44:32) ldimaggi: 1) For today disable emma
> (2011-10-07 15:44:41) ldimaggi: 2) On Monday - let's try to fix it
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list