com.jcoverage.coverage.reporting.collation
Class OverallSummaryLine

java.lang.Object
  extended bycom.jcoverage.reporting.AbstractLine
      extended bycom.jcoverage.coverage.reporting.collation.OverallSummaryLine
All Implemented Interfaces:
Closeable, Line

public class OverallSummaryLine
extends AbstractLine
implements Line


Field Summary
static Column COLUMN_AVERAGE_COVERAGE
           
static Column COLUMN_AVERAGE_COVERAGE_PERCENT
           
static Column COLUMN_BRANCH_AVERAGE_COVERAGE
           
static Column COLUMN_BRANCH_AVERAGE_COVERAGE_PERCENT
           
static Column COLUMN_TOTAL_JAVAFILES
           
static Column COLUMN_TOTAL_LINES
           
(package private) static org.apache.log4j.Logger logger
           
 
Fields inherited from class com.jcoverage.reporting.AbstractLine
 
Constructor Summary
OverallSummaryLine()
           
 
Method Summary
(package private)  double getAverageBranchCoverageRate()
           
(package private)  double getAverageLineCoverageRate()
           
 java.lang.Object getField(Column column)
          Get the field value for a given column.
(package private)  int getTotalJavaFiles()
           
(package private)  int getTotalLines()
           
 Page instantiateDetailPage()
          Subclasses should override this method if the line has information in a detail page.
 
Methods inherited from class com.jcoverage.reporting.AbstractLine
assertValidColumnForCategory, close, getDetailPage, getOwner, isClosed, openDetailPage, setCategory, setField, setField, setField, setField, setOwner, setReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jcoverage.reporting.Line
getDetailPage, getOwner, openDetailPage, setCategory, setField, setField, setField, setField, setOwner, setReport
 
Methods inherited from interface com.jcoverage.reporting.Closeable
close, isClosed
 

Field Detail

logger

static org.apache.log4j.Logger logger

COLUMN_TOTAL_JAVAFILES

public static Column COLUMN_TOTAL_JAVAFILES

COLUMN_TOTAL_LINES

public static Column COLUMN_TOTAL_LINES

COLUMN_AVERAGE_COVERAGE

public static Column COLUMN_AVERAGE_COVERAGE

COLUMN_AVERAGE_COVERAGE_PERCENT

public static Column COLUMN_AVERAGE_COVERAGE_PERCENT

COLUMN_BRANCH_AVERAGE_COVERAGE

public static Column COLUMN_BRANCH_AVERAGE_COVERAGE

COLUMN_BRANCH_AVERAGE_COVERAGE_PERCENT

public static Column COLUMN_BRANCH_AVERAGE_COVERAGE_PERCENT
Constructor Detail

OverallSummaryLine

public OverallSummaryLine()
Method Detail

instantiateDetailPage

public Page instantiateDetailPage()
Description copied from class: AbstractLine
Subclasses should override this method if the line has information in a detail page.

Overrides:
instantiateDetailPage in class AbstractLine

getField

public java.lang.Object getField(Column column)
Description copied from class: AbstractLine
Get the field value for a given column.

Specified by:
getField in interface Line
Overrides:
getField in class AbstractLine
Parameters:
column - the given column.
Returns:
null if no value has been set for the given column.

getAverageLineCoverageRate

double getAverageLineCoverageRate()

getAverageBranchCoverageRate

double getAverageBranchCoverageRate()

getTotalLines

int getTotalLines()

getTotalJavaFiles

int getTotalJavaFiles()