Class CoberturaCoverageFile

  • All Implemented Interfaces:
    groovy.lang.GroovyObject

    public class CoberturaCoverageFile
    extends Object
    implements groovy.lang.GroovyObject
    • Constructor Detail

      • CoberturaCoverageFile

        public CoberturaCoverageFile​(String coberturaFile,
                                     String attributeName)
    • Method Detail

      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public Object invokeMethod​(String method,
                                   Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public Object getProperty​(String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

        public void setProperty​(String property,
                                Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
      • getOverallCoverageRate

        protected BigDecimal getOverallCoverageRate()
      • parseCoverageRate

        protected BigDecimal parseCoverageRate​(groovy.util.slurpersupport.GPathResult node)
      • findPackageElement

        protected groovy.util.slurpersupport.GPathResult findPackageElement​(String packageName)
      • findClassElement

        protected groovy.util.slurpersupport.GPathResult findClassElement​(String className)
      • findInnerClasses

        protected groovy.util.slurpersupport.GPathResult findInnerClasses​(String className)
      • hasInnerClasses

        protected boolean hasInnerClasses​(String className)
      • findMethodElement

        protected groovy.util.slurpersupport.GPathResult findMethodElement​(String methodName,
                                                                           int numParameters,
                                                                           String methodSignature,
                                                                           groovy.util.slurpersupport.GPathResult classXmlElement)
      • getCoberturaXml

        protected groovy.util.slurpersupport.GPathResult getCoberturaXml()