Uses of Class
com.parasoft.findings.jenkins.coverage.model.Node
Package
Description
Contains logic and models for visualizing the colored HTML source code files.
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 Node in com.parasoft.findings.jenkins.coverage.api.metrics.source
Modifier and TypeMethodDescriptionvoid
SourceCodePainter.processSourceCodePainting
(Node rootNode, List<FileNode> files, String sourceCodeEncoding, io.jenkins.plugins.prism.SourceCodeRetention sourceCodeRetention, edu.hm.hafner.util.FilteredLog log) Processes the source code painting. -
Uses of Node in com.parasoft.findings.jenkins.coverage.api.metrics.steps
Modifier and TypeMethodDescriptionprotected io.jenkins.plugins.util.AbstractXmlStream<Node>
CoverageBuildAction.createXmlStream()
Modifier and TypeMethodDescriptionvoid
FileChangesProcessor.attachChangedCodeLines
(Node coverageNode, Map<String, io.jenkins.plugins.forensics.delta.FileChanges> codeChanges) Attaches the changed code lines to the file nodes of the coverage tree.CoverageReporter.publishAction
(String id, String icon, Node rootNode, Run<?, ?> build, FilePath workspace, TaskListener listener, String configRefJob, String configRefBuild, List<CoverageQualityGate> qualityGates, String sourceCodeEncoding, io.jenkins.plugins.util.ResultHandler resultHandler, FilteredLogChain logChain) ModifierConstructorDescriptionCoverageBuildAction
(Run<?, ?> owner, String id, String icon, Node result, io.jenkins.plugins.util.QualityGateResult qualityGateResult, edu.hm.hafner.util.FilteredLog log, ReferenceResult referenceResult) Creates a new instance ofCoverageBuildAction
.CoverageBuildAction
(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 Node in com.parasoft.findings.jenkins.coverage.model
Modifier and TypeClassDescriptionfinal class
ANode
for a specific class.final class
ANode
which represents the top level node in the tree.final class
ANode
for a specific file.final class
ANode
for a specific method.final class
ANode
which represents a module of a project.final class
ANode
for a specific package.Modifier and TypeMethodDescriptionMethodNode.copy()
abstract Node
Node.copy()
Creates a copy of this instance that has no children and no parent yet.final Node
Node.copyNode()
Creates a copy of this instance that has no children and no parent yet.Node.copyTree()
Creates a deep copy of the tree with this as root node.Creates a deep copy of the tree with the specifiedNode
as root.Node.filterByIndirectChanges()
Creates a new coverage tree that shows indirect coverage changes.Node.filterByModifiedFiles()
Creates a new coverage tree that represents the modified files coverage.Node.filterByModifiedLines()
Creates a new coverage tree that represents the modified lines coverage.Node.getParent()
Returns the parent node.static Node
Creates a new tree of mergednodes
if all nodes have the same name and metric.Modifier and TypeMethodDescriptionFileNode.filterTreeByIndirectChanges()
Node.filterTreeByIndirectChanges()
FileNode.filterTreeByModifiedFiles()
Node.filterTreeByModifiedFiles()
FileNode.filterTreeByModifiedLines()
Node.filterTreeByModifiedLines()
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.Returns recursively all nodes for the specified metric type.Node.getChildren()
Modifier and TypeMethodDescriptionvoid
Appends the specified child element to the list of children.NavigableMap<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.Creates a deep copy of the tree with the specifiedNode
as root.Metric.getValueFor
(Node node) Returns the aggregated value of this metric for the specified tree of nodes.protected void
Node.removeChild
(Node child) Modifier and TypeMethodDescriptionvoid
Node.addAllChildren
(Collection<? extends Node> nodes) Adds alls given nodes as children to the current node.static Node
Creates a new tree of mergednodes
if all nodes have the same name and metric.