Uses of Class
com.parasoft.findings.jenkins.coverage.model.Value
Packages that use Value
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 Value in com.parasoft.findings.jenkins.coverage.api.metrics.model
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.model that return types with arguments of type ValueModifier and TypeMethodDescriptionReturns the value for the specified baseline and metric.Methods in com.parasoft.findings.jenkins.coverage.api.metrics.model with parameters of type ValueModifier and TypeMethodDescriptionFormats a generic value using a specific rendering method.Formats a generic value using a specific rendering method.ElementFormatter.formatAdditionalInformation
(Value value) Formats additional information for a generic value using a specific rendering method.ElementFormatter.formatDetailedValueWithMetric
(Value value) Returns a formatted and localized String representation of the specified value prefixed with the metric name.ElementFormatter.formatDetails
(Value value, Locale locale) Formats a generic value using a specific rendering method.ElementFormatter.formatValue
(Value value) Returns a formatted and localized String representation of the specified value (without metric).ElementFormatter.formatValueWithMetric
(Value value) Returns a formatted and localized String representation of the specified value prefixed with the metric name.ElementFormatter.getBackgroundColorFillPercentage
(Value value) Returns the fill percentage for the specified value.ElementFormatter.getDisplayColors
(Baseline baseline, Value value) Provides the colors to render a given coverage percentage.Constructor parameters in com.parasoft.findings.jenkins.coverage.api.metrics.model with type arguments of type ValueModifierConstructorDescriptionCoverageStatistics
(List<? extends Value> projectValueMapping, List<? extends Value> modifiedLinesValueMapping) Creates a new instance ofCoverageStatistics
. -
Uses of Value in com.parasoft.findings.jenkins.coverage.api.metrics.steps
Methods in com.parasoft.findings.jenkins.coverage.api.metrics.steps that return types with arguments of type ValueModifier and TypeMethodDescriptionCoverageBuildAction.getAllValues
(Baseline baseline) Returns all available values for the specified baseline.CoverageMetricColumn.getCoverageValue
(Job<?, ?> job) Provides the coverage value of the selected coverage type and metric.CoverageBuildAction.getValueForMetric
(Baseline baseline, Metric metric) Returns the value for the specified metric, if available.Returns all important values for the specified baseline.Method parameters in com.parasoft.findings.jenkins.coverage.api.metrics.steps with type arguments of type ValueModifier and TypeMethodDescriptionCoverageMetricColumn.getDisplayColors
(Job<?, ?> job, Optional<? extends Value> coverage) Provides the line color for representing the passed coverage value.Constructor parameters in com.parasoft.findings.jenkins.coverage.api.metrics.steps with type arguments of type ValueModifierConstructorDescriptionCoverageBuildAction
(Run<?, ?> owner, String id, String icon, Node result, io.jenkins.plugins.util.QualityGateResult qualityGateResult, edu.hm.hafner.util.FilteredLog log, String referenceBuildId, List<? extends Value> modifiedLinesCoverage, ReferenceResult referenceResult) Creates a new instance ofCoverageBuildAction
. -
Uses of Value in com.parasoft.findings.jenkins.coverage.model
Subclasses of Value in com.parasoft.findings.jenkins.coverage.modelModifier and TypeClassDescriptionfinal class
Value of a code coverage metric.final class
Represents the cyclomatic complexity in a particular code block.final class
Represents the value of a rational number based metric.class
Represents the value of an integer based metric.final class
Represents the lines of code in a particular code block.Methods in com.parasoft.findings.jenkins.coverage.model with type parameters of type ValueModifier and TypeMethodDescription<T extends Value>
TNode.getTypedValue
(Metric searchMetric, T defaultValue) Returns the value for the specified metric.Methods in com.parasoft.findings.jenkins.coverage.model that return ValueModifier and TypeMethodDescriptionabstract Value
Add the coverage from the specified instance to the coverage of this instance.static Value
Searches for a value with the specified metric in the specified list of values.abstract Value
Merge this coverage with the specified coverage.static Value
Creates a newValue
instance from the provided string representation.Methods in com.parasoft.findings.jenkins.coverage.model that return types with arguments of type ValueModifier and TypeMethodDescriptionNode.aggregateValues()
Aggregates all values that are part of the subtree that is spanned by this node.Searches for a value with the specified metric in the specified list of values.Returns the value for the specified metric.Metric.getValueFor
(Node node) Returns the aggregated value of this metric for the specified tree of nodes.Node.getValues()
Methods in com.parasoft.findings.jenkins.coverage.model with parameters of type ValueModifier and TypeMethodDescriptionabstract Value
Add the coverage from the specified instance to the coverage of this instance.void
Appends the specified value to the list of values.org.apache.commons.lang3.math.Fraction
org.apache.commons.lang3.math.Fraction
org.apache.commons.lang3.math.Fraction
abstract org.apache.commons.lang3.math.Fraction
Computes the delta of this value with the specified value.protected boolean
Value.hasSameMetric
(Value other) Returns whether this value has the same metric as the specified value.abstract Value
Merge this coverage with the specified coverage.void
Node.replaceValue
(Value value) Replaces an existing value of the specified metric with the specified value.Method parameters in com.parasoft.findings.jenkins.coverage.model with type arguments of type ValueModifier and TypeMethodDescriptionprotected void
Node.addAllValues
(Collection<? extends Value> additionalValues) Searches for a value with the specified metric in the specified list of values.static Value
Searches for a value with the specified metric in the specified list of values.