|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gmetrics.metric.coverage.CoberturaCoverageFile
class CoberturaCoverageFile
Parses and provides access to a Cobertura "coverage.xml"
Constructor Summary | |
CoberturaCoverageFile(String coberturaFile, String attributeName, String packageNamePrefixes)
|
Method Summary | |
---|---|
protected groovy.util.slurpersupport.GPathResult
|
findClassElement(String className)
|
protected groovy.util.slurpersupport.GPathResult
|
findInnerClasses(String className)
|
protected groovy.util.slurpersupport.GPathResult
|
findMatchingPackageElement(String packageName, String packagePath)
|
protected groovy.util.slurpersupport.GPathResult
|
findMethodElement(String methodName, int numParameters, String methodSignature, groovy.util.slurpersupport.GPathResult classXmlElement)
|
protected groovy.util.slurpersupport.GPathResult
|
findPackageElement(String packageName)
|
protected groovy.util.slurpersupport.GPathResult
|
findPackageElementMatchingPrefix(String packagePath)
|
protected groovy.util.slurpersupport.GPathResult
|
findPackageWithPrefix(String packagePath, String prefix, def matchingPackageElement)
|
protected groovy.util.slurpersupport.GPathResult
|
getCoberturaXml()
|
protected BigDecimal
|
getOverallCoverageRate()
|
protected boolean
|
hasInnerClasses(String className)
|
protected BigDecimal
|
parseCoverageRate(groovy.util.slurpersupport.GPathResult node)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
CoberturaCoverageFile(String coberturaFile, String attributeName, String packageNamePrefixes)
Method Detail |
---|
protected groovy.util.slurpersupport.GPathResult findClassElement(String className)
protected groovy.util.slurpersupport.GPathResult findInnerClasses(String className)
protected groovy.util.slurpersupport.GPathResult findMatchingPackageElement(String packageName, String packagePath)
protected groovy.util.slurpersupport.GPathResult findMethodElement(String methodName, int numParameters, String methodSignature, groovy.util.slurpersupport.GPathResult classXmlElement)
protected groovy.util.slurpersupport.GPathResult findPackageElement(String packageName)
protected groovy.util.slurpersupport.GPathResult findPackageElementMatchingPrefix(String packagePath)
protected groovy.util.slurpersupport.GPathResult findPackageWithPrefix(String packagePath, String prefix, def matchingPackageElement)
protected groovy.util.slurpersupport.GPathResult getCoberturaXml()
protected BigDecimal getOverallCoverageRate()
protected boolean hasInnerClasses(String className)
protected BigDecimal parseCoverageRate(groovy.util.slurpersupport.GPathResult node)
Groovy Documentation