You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2005/01/23 20:06:20 UTC

[jira] Updated: (MPJCOVERAGE-18) Inner/anonymous classes report uncomplete

The following issue has been updated:

    Updater: Stephen Colebourne (mailto:scolebourne@btopenworld.com)
       Date: Sun, 23 Jan 2005 2:05 PM
    Comment:
PATCH to fix the problem described here which affects all inner classes.
    Changes:
             Attachment changed to JCoveragePatch.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPJCOVERAGE-18?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-18

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-18
    Summary: Inner/anonymous classes report uncomplete
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.8

   Assignee: Emmanuel Venisse
   Reporter: Daniel Frey

    Created: Tue, 26 Oct 2004 4:46 PM
    Updated: Sun, 23 Jan 2005 2:05 PM

Description:
Since I use maven (1.0b8 or so) up to now (1.0) I observe that the JCoverage plugin does produce wrong results for inner/anonymous classes. I.e. I have got a class called ClassOne, which has an anonymouls inner class. The two classes are displayed in the coverage report as ClassOnewith 44% and ClassOne$1 with 0% tested, which is correct. The underlining reference to the html-file is in both cases the same. However, the file displays only the coverage of the inner class, the outer class does not contain any counts, red or green lines. 
 
I doublechecked whether the coverage.xml file contains the corresponding values, which it does. So it seems to be a problem of the plugin itself.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org