[
http://jira.codehaus.org/browse/MEMMA-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter moved MOJO-1247 to MEMMA-2:
----------------------------------------
Component/s: (was: emma)
Complexity: (was: Intermediate)
Workflow: jira (was: Maven New)
Key: MEMMA-2 (was: MOJO-1247)
Project: Mojo EMMA Plugin (was: Mojo)
> Emma check goal always gives false-positive results
> ----------------------------------------------------
>
> Key: MEMMA-2
> URL: http://jira.codehaus.org/browse/MEMMA-2
> Project: Mojo EMMA Plugin
> Issue Type: Bug
> Reporter: Petr Pancocha
> Assignee: Alexandre ROMAN
> Attachments: pom.xml
>
>
> If I try to configure code coverage thresholds using attached pom.xml, I
> always get false-positive results (i.e. i.e. plugin's "check goal" always
> says that code coverage is OK independently of the configuration).
> I found that the problem is on the line 175 of the EmmaCheckMojo.java (method
> doExecute). The condition "if ( allNodes.size() > 1 )" is wrong! It MUST be
> "if ( allNodes.size() >= 1 )" ! The current implementation causes that build
> process never fails (even if code-coverage is insufficient).
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email