Package org.gmetrics.metric.coverage
Class CoberturaBranchCoverageMetric
java.lang.Object
org.gmetrics.metric.AbstractMetric
org.gmetrics.metric.coverage.AbstractCoberturaCoverageMetric
org.gmetrics.metric.coverage.CoberturaBranchCoverageMetric
- All Implemented Interfaces:
groovy.lang.GroovyObject,MethodMetric,Metric
-
Field Summary
Fields inherited from class org.gmetrics.metric.coverage.AbstractCoberturaCoverageMetric
LOG, ROUNDING_MODE, SCALE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringprotected RatiogetCoverageRatioForSingleClass(Object matchingClassElement) groovy.lang.MetaClassfinal StringgetName()getProperty(String property) invokeMethod(String method, Object arguments) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) Methods inherited from class org.gmetrics.metric.coverage.AbstractCoberturaCoverageMetric
applyToClosure, applyToMethod, calculate, calculateForClass, calculateForPackage, calculateMethodResult, findMethodElement, getBaseLevel, getCoberturaFile, getCoverageRatioForClass, setCoberturaFileMethods inherited from class org.gmetrics.metric.AbstractMetric
applyToClass, applyToPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gmetrics.metric.Metric
applyToClass, applyToPackage, getFunctions, isEnabled
-
Constructor Details
-
CoberturaBranchCoverageMetric
public CoberturaBranchCoverageMetric()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractCoberturaCoverageMetric
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractCoberturaCoverageMetric
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractCoberturaCoverageMetric
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractCoberturaCoverageMetric
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractCoberturaCoverageMetric
-
getName
-
getAttributeName
- Specified by:
getAttributeNamein classAbstractCoberturaCoverageMetric
-
getCoverageRatioForSingleClass
- Specified by:
getCoverageRatioForSingleClassin classAbstractCoberturaCoverageMetric
-