Uses of Enum
com.parasoft.findings.jenkins.coverage.model.Metric
Packages that use Metric
Package
Description
Contains models to format coverages and aggregate values.
New coverage model that tries to replace all the existing functionality with a more versatile model.
Generic coverage model to parse and collect code coverage results of different tools.
-
Uses of Metric in com.parasoft.findings.jenkins.coverage.api.metrics.model
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.model with parameters of type MetricModifier and TypeMethodDescriptionbooleanCoverageStatistics.containsValue(Baseline baseline, Metric metric) Returns whether a value for the specified metric and baseline is available.ElementFormatter.getDisplayName(Metric metric) Returns a localized human-readable name for the specified metric.Returns a localized human-readable label for the specified metric.Returns the value for the specified baseline and metric. -
Uses of Metric in com.parasoft.findings.jenkins.coverage.api.metrics.steps
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps that return MetricMethods in com.parasoft.findings.jenkins.coverage.api.metrics.steps with parameters of type MetricModifier and TypeMethodDescriptionCoverageBuildAction.formatValue(Baseline baseline, Metric metric) Returns a formatted and localized String representation of the value for the specified metric (with respect to the given baseline).CoverageBuildAction.getValueForMetric(Baseline baseline, Metric metric) Returns the value for the specified metric, if available. -
Uses of Metric in com.parasoft.findings.jenkins.coverage.model
Methods in com.parasoft.findings.jenkins.coverage.model that return MetricModifier and TypeMethodDescriptionstatic MetricReturns the metric that belongs to the specified tag.Node.getMetric()final MetricValue.getMetric()static MetricReturns the enum constant of this type with the specified name.static Metric[]Metric.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.parasoft.findings.jenkins.coverage.model that return types with arguments of type MetricModifier and TypeMethodDescriptionNavigableMap<Metric,org.apache.commons.lang3.math.Fraction> Node.computeDelta(Node reference) Computes the delta of all metrics between this node and the specified reference node as fractions.static NavigableSet<Metric>Metric.getCoverageMetrics()Node.getMetrics()Returns the available metrics for the whole tree starting with this node.Node.getValueMetrics()Returns the available metrics for the whole tree starting with this node.Methods in com.parasoft.findings.jenkins.coverage.model with parameters of type MetricModifier and TypeMethodDescriptionbooleanNode.containsMetric(Metric searchMetric) Returns whether results for the specified metric are available within the tree spanned by this node.Finds the metric with the given name starting from this node.Node.findByHashCode(Metric searchMetric, int searchNameHashCode) Finds the metric with the given hash code starting from this node.Searches for a value with the specified metric in the specified list of values.Returns recursively all nodes for the specified metric type.org.apache.commons.lang3.math.FractionReturns the delta for the specified metric.<T extends Value>
TNode.getTypedValue(Metric searchMetric, T defaultValue) Returns the value for the specified metric.Returns the value for the specified metric.static ValueSearches for a value with the specified metric in the specified list of values.booleanReturns whether this file has a delta result for the specified metric.booleanbooleanbooleanReturns whether this node matches the specified metric and name.booleanReturns whether this node matches the specified metric and name.static CoverageCoverage.nullObject(Metric metric) Returns anullobject that indicates that no coverage has been recorded.Sets the metric of the coverage.static CoverageCreates a newCoverageinstance from the provided string representation.Constructors in com.parasoft.findings.jenkins.coverage.model with parameters of type MetricModifierConstructorDescriptionCoverageBuilder(Metric metric) Creates a newCoverage.CoverageBuilderwith the specified metric.CyclomaticComplexity(int complexity, Metric metric) Creates a newCyclomaticComplexityinstance with the specified complexity.FractionValue(Metric metric, int numerator, int denominator) Creates a newFractionValuefrom the specified counters for the given metric.FractionValue(Metric metric, org.apache.commons.lang3.math.Fraction fraction) Creates a newFractionValuewith the specified value for the given metric.protectedCreates a new node with the given name.protectedCreates a new leaf with the given coverage for the specified metric.