Metric for test code coverage by branch (branch-rate) from a Cobertura XML file.
| Fields inherited from class | Fields |
|---|---|
class AbstractCoberturaCoverageMetric |
LOG, ROUNDING_MODE, SCALE |
| Type | Name and description |
|---|---|
String |
attributeName |
String |
name |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected Ratio |
getCoverageRatioForSingleClass(def matchingClassElement) |
| Methods inherited from class | Name |
|---|---|
class AbstractCoberturaCoverageMetric |
applyToClosure, applyToMethod, calculate, calculateForClass, calculateForPackage, calculateMethodResult, findMethodElement, getAttributeName, getCoverageRatioForClass, getCoverageRatioForSingleClass |
class AbstractMetric |
applyToClass, applyToPackage, calculateForClass, calculateForPackage, createAggregateMetricResult, isNotAnInterface |