Groovy Documentation

org.gmetrics.metric.coverage
[Groovy] Class CoberturaLineCoverageMetric

java.lang.Object
  org.gmetrics.metric.AbstractMetric
      org.gmetrics.metric.coverage.AbstractCoberturaCoverageMetric
          org.gmetrics.metric.coverage.CoberturaLineCoverageMetric

class CoberturaLineCoverageMetric
extends AbstractCoberturaCoverageMetric

Metric for test code coverage by line (line-rate) from a Cobertura XML file.

Authors:
Chris Mair
See Also:


Field Summary
 
Fields inherited from class AbstractCoberturaCoverageMetric
LOG, ROUNDING_MODE, SCALE
 
Property Summary
String attributeName

String name

 
Method Summary
protected Ratio getCoverageRatioForSingleClass(def matchingClassElement)

 
Methods inherited from class AbstractCoberturaCoverageMetric
applyToClosure, applyToMethod, calculate, calculateForClass, calculateForPackage, calculateMethodResult, findMethodElement, getAttributeName, getCoverageRatioForClass, getCoverageRatioForSingleClass
 
Methods inherited from class AbstractMetric
applyToClass, applyToPackage, calculateForClass, calculateForPackage, createAggregateMetricResult, isNotAnInterface
 

Property Detail

attributeName

final String attributeName


name

final String name


 
Method Detail

getCoverageRatioForSingleClass

@Override
protected Ratio getCoverageRatioForSingleClass(def matchingClassElement)


 

Groovy Documentation