Klasse JavaCoverageParser

java.lang.Object
io.jenkins.plugins.coverage.adapter.parser.CoverageParser
io.jenkins.plugins.coverage.adapter.parser.JavaCoverageParser
Bekannte direkte Unterklassen:
JacocoReportAdapter.JacocoCoverageParser

public class JavaCoverageParser extends CoverageParser

parse Java standard format coverage report to CoverageResult.

The standard format should be like this


 
 <report name="cobertura">
     <group name="io.jenkins.plugins.coverage">
         <package name="io.jenkins.plugins.coverage.adapter.parser">
             <file name="JavaCoverageParser.java">
                 <class name="io.jenkins.plugins.coverage.adapter.parser.JavaCoverageParser">
                     <method name="processElement" signature="...">
                         <line number="1" hits="1"/>
                     </method>
                     ...
                     <line number="1" hits="1" branch="false"/>
                     <line number="2" hits="11" branch="false"/>
                     ...
                 </class>
                 ...
             </file>
             ...
         </package>
         ...
     </group>
     ...
 </report>