Uses of Class
com.parasoft.findings.jenkins.coverage.model.Percentage
Package
Description
Generic coverage model to parse and collect code coverage results of different tools.
-
Uses of Percentage in com.parasoft.findings.jenkins.coverage.model
Modifier and TypeMethodDescriptionCoverage.getCoveredPercentage()
Returns the percentage of covered items.static Percentage
Percentage.valueOf
(int items, int total) Creates an instance ofPercentage
from the two number items and total.static Percentage
Creates a newPercentage
instance from the provided string representation.static Percentage
Percentage.valueOf
(org.apache.commons.lang3.math.Fraction fraction) Creates an instance ofPercentage
in the range [0,100] from afraction
within the range [0,1].Modifier and TypeMethodDescriptionorg.apache.commons.lang3.math.Fraction
Percentage.subtract
(Percentage subtrahend) Subtracts the other percentage from this percentage, returning the result as aFraction
.