Class CoberturaLineCoverageMetric
java.lang.Object
org.gmetrics.metric.AbstractMetric
org.gmetrics.metric.coverage.AbstractCoberturaCoverageMetric
org.gmetrics.metric.coverage.CoberturaLineCoverageMetric
- All Implemented Interfaces:
groovy.lang.GroovyObject, MethodMetric, Metric
-
Field Summary
Fields inherited from class 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 AbstractCoberturaCoverageMetric
applyToClosure, applyToMethod, calculate, calculateForClass, calculateForPackage, calculateMethodResult, findMethodElement, getBaseLevel, getCoberturaFile, getCoverageRatioForClass, setCoberturaFileMethods inherited from class AbstractMetric
applyToClass, applyToPackage, createAggregateMetricResult, createAggregateMetricResult, getEnabled, getFunctions, isEnabled, isNotAnInterface, setEnabled, setFunctionsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Metric
applyToClass, applyToPackage, getFunctions, isEnabled
-
Constructor Details
-
CoberturaLineCoverageMetric
public CoberturaLineCoverageMetric()
-
-
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
-