Summary rates are the average of per-file rates, not the overall rates
----------------------------------------------------------------------

         Key: MCOBERTURA-32
         URL: http://jira.codehaus.org/browse/MCOBERTURA-32
     Project: Maven 2.x Cobertura Plugin
        Type: Bug

    Versions: 2.0    
 Environment: Mac OS X 10.4.6
maven 2.0.4
cobertura-maven-plugin 2.0-20060430035113
    Reporter: Gordon Henriksen
    Priority: Minor


It's easy to dramatically drag down the "bottom line" coverage rates by 
including small class files like these in a project:

    package com.example;
    public final class Test {
        private Test() {}
    }

Such a file contributes disproportionately to test results because the summary 
figures give an unweighted average rather than being proportional to the line 
counts of each respective file.

-- 
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

Reply via email to