Verwendungen von Klasse
io.jenkins.plugins.coverage.model.Coverage
Package
Beschreibung
New coverage model that tries to replace all the existing functionality with a more versatile model.
-
Verwendungen von Coverage in io.jenkins.plugins.coverage.model
Modifizierer und TypFeldBeschreibungstatic final Coverage
Coverage.CoverageBuilder.NO_COVERAGE
Null object that indicates that the code coverage has not been measured.static final Coverage
Coverage.NO_COVERAGE
Null object that indicates that the code coverage has not been measured.Modifizierer und TypMethodeBeschreibungAdd the coverage details from the specified instance to the coverage details of this instance.Coverage.CoverageBuilder.build()
Creates the newCoverage
instance.CoverageBuildAction.getBranchCoverage()
CoverageBuildAction.getChangeCoverage
(CoverageMetric coverageMetric) Gets thechange coverage
for the passed metric.CoverageBuildAction.getCoverage
(CoverageMetric coverageMetric) Returns theCoverage
for the specified metric.CoverageLeaf.getCoverage
(CoverageMetric searchMetric) Returns the coverage for the specified metric.CoverageNode.getCoverage
(CoverageMetric searchMetric) Returns the coverage for the specified metric.CoverageBuildAction.getIndirectCoverageChanges
(CoverageMetric coverageMetric) Gets theindirect coverage changes
for the passed metric.CoverageBuildAction.getLineCoverage()
static Coverage
Creates a newCoverage
instance from the provided string representation.Modifizierer und TypMethodeBeschreibungFileCoverageNode.getCoveragePerLine()
CoverageNode.getMetricsDistribution()
Returns a mapping of metric to coverage.Modifizierer und TypMethodeBeschreibungAdd the coverage details from the specified instance to the coverage details of this instance.void
FileCoverageNode.putCoveragePerLine
(int line, Coverage coverage) Adds theCoverage
for a specific line of code.Modifizierer und TypMethodeBeschreibungvoid
FileCoverageNode.setCoveragePerLine
(SortedMap<Integer, Coverage> coverage) ModifiziererKonstruktorBeschreibungCoverageLeaf
(CoverageMetric metric, Coverage coverage) Creates a new leaf with the given coverage for the specified metric.