Verwendungen von Klasse
io.jenkins.plugins.coverage.model.CoverageNode
Packages, die CoverageNode verwenden
Package
Beschreibung
New coverage model that tries to replace all the existing functionality with a more versatile model.
-
Verwendungen von CoverageNode in io.jenkins.plugins.coverage.model
Unterklassen von CoverageNode in io.jenkins.plugins.coverage.modelModifizierer und TypKlasseBeschreibungclass
ACoverageNode
for a specific file.class
ACoverageNode
for a specific method.class
ACoverageNode
for a specific package.Methoden in io.jenkins.plugins.coverage.model, die CoverageNode zurückgebenModifizierer und TypMethodeBeschreibungCoverageNodeConverter.convert
(CoverageResult result) Converts aCoverageResult
instance to the correspondingCoverageNode
instance.protected CoverageNode
CoverageNode.copyEmpty()
Creates a copied instance of this node that has no children, leaves, and parent yet.protected CoverageNode
FileCoverageNode.copyEmpty()
protected CoverageNode
MethodCoverageNode.copyEmpty()
protected CoverageNode
PackageCoverageNode.copyEmpty()
CoverageNode.copyTree()
Creates a deep copy of the coverage tree with this as root node.protected CoverageNode
CoverageNode.copyTree
(CoverageNode copiedParent) Recursively copies the coverage tree with the passedCoverageNode
as root.CoverageTreeCreator.createChangeCoverageTree
(CoverageNode coverageNode) Creates a coverage tree which represents the change coverage.CoverageTreeCreator.createIndirectCoverageChangesTree
(CoverageNode coverageNode) Creates a coverage tree which represents the indirect coverage changes.CoverageNode.filterPackageStructure()
Filters the package structure for only package nodes which contain file nodes.CoverageNode.getChangeCoverageTree()
Creates a filtered coverage tree which only contains nodes with code changes.CoverageNode.getIndirectCoverageChangesTree()
Creates a filtered coverage tree which only contains nodes with indirect coverage changes.CoverageViewModel.getNode()
CoverageNode.getParent()
Gets the parent node.Methoden in io.jenkins.plugins.coverage.model, die Typen mit Argumenten vom Typ CoverageNode zurückgebenModifizierer und TypMethodeBeschreibungprotected io.jenkins.plugins.util.AbstractXmlStream
<CoverageNode> CoverageBuildAction.createXmlStream()
CoverageNode.find
(CoverageMetric searchMetric, String searchPath) Finds the coverage metric with the given path starting from this node.CoverageNode.findByHashCode
(CoverageMetric searchMetric, int searchNameHashCode) Finds the coverage metric with the given hash code starting from this node.CoverageNode.getAll
(CoverageMetric searchMetric) Returns recursively all nodes for the specified metric type.CoverageNode.getChildren()
CoverageNodeConverter.getPaintedFiles()
Methoden in io.jenkins.plugins.coverage.model mit Parametern vom Typ CoverageNodeModifizierer und TypMethodeBeschreibungvoid
CoverageNode.add
(CoverageNode child) Appends the specified child element to the list of children.void
FileChangesProcessor.attachChangedCodeLines
(CoverageNode coverageNode, Map<String, io.jenkins.plugins.forensics.delta.FileChanges> codeChanges) Attaches the changed code lines to the file nodes of the coverage tree.void
FileChangesProcessor.attachFileCoverageDeltas
(CoverageNode root, CoverageNode referenceNode, Map<String, String> oldPathMapping) Attaches the delta between the total file coverage of all currently built files against the passed reference.void
FileChangesProcessor.attachIndirectCoveragesChanges
(CoverageNode root, CoverageNode referenceNode, Map<String, io.jenkins.plugins.forensics.delta.FileChanges> codeChanges, Map<String, String> oldPathMapping) Attaches all found indirect coverage changes within the coverage tree, compared to a reference tree.SortedMap
<CoverageMetric, org.apache.commons.lang3.math.Fraction> CoverageNode.computeDelta
(CoverageNode reference) Computes the coverage delta between this node and the specified reference node as fractions between 0 and 1.CoverageNode.computeDeltaAsPercentage
(CoverageNode reference) Computes the coverage delta between this node and the specified reference node as percentage between 0 and 100.protected CoverageNode
CoverageNode.copyTree
(CoverageNode copiedParent) Recursively copies the coverage tree with the passedCoverageNode
as root.protected FileCoverageNode
FileCoverageNode.copyTree
(CoverageNode copiedParent) CoverageTreeCreator.createChangeCoverageTree
(CoverageNode coverageNode) Creates a coverage tree which represents the change coverage.CoverageTreeCreator.createIndirectCoverageChangesTree
(CoverageNode coverageNode) Creates a coverage tree which represents the indirect coverage changes.CodeDeltaCalculator.createOldPathMapping
(CoverageNode root, CoverageNode referenceRoot, Map<String, io.jenkins.plugins.forensics.delta.FileChanges> changes, edu.hm.hafner.util.FilteredLog log) Creates a mapping between the currently used coverage report paths and the corresponding paths that has been used for the same coverage nodes before the modifications.boolean
CoverageViewModel.isSourceFileAvailable
(CoverageNode coverageNode) Returns whether the source file is available in Jenkins build folder.boolean
CoverageViewModel.isSourceFileInNewFormatAvailable
(CoverageNode coverageNode) Returns whether the source file is available in Jenkins build folder in the new format of the plugin versions greater or equal than 2.1.0.boolean
CoverageViewModel.isSourceFileInOldFormatAvailable
(CoverageNode coverageNode) Returns whether the source file is available in Jenkins build folder in the old format of the plugin versions less than 2.1.0.CodeDeltaCalculator.mapScmChangesToReportPaths
(Set<io.jenkins.plugins.forensics.delta.FileChanges> changes, CoverageNode root, edu.hm.hafner.util.FilteredLog log) Maps the passedcode changes
to the corresponding fully qualified names as they are used by the coverage reporting tools - usually the fully qualified name of the file.Konstruktoren in io.jenkins.plugins.coverage.model mit Parametern vom Typ CoverageNodeModifiziererKonstruktorBeschreibungCoverageBuildAction
(Run<?, ?> owner, CoverageNode result, HealthReport healthReport) Creates a new instance ofCoverageBuildAction
.CoverageBuildAction
(Run<?, ?> owner, CoverageNode result, HealthReport healthReport, String referenceBuildId, SortedMap<CoverageMetric, CoveragePercentage> delta, SortedMap<CoverageMetric, CoveragePercentage> changeCoverage, SortedMap<CoverageMetric, CoveragePercentage> changeCoverageDifference, SortedMap<CoverageMetric, CoveragePercentage> indirectCoverageChanges) Creates a new instance ofCoverageBuildAction
.CoverageViewModel
(Run<?, ?> owner, CoverageNode node) Creates a new view model instance.SourceViewModel
(Run<?, ?> owner, CoverageNode fileNode) Creates a new source view model instance. -
Verwendungen von CoverageNode in io.jenkins.plugins.coverage.model.visualization.code
Methodenparameter in io.jenkins.plugins.coverage.model.visualization.code mit Typargumenten vom Typ CoverageNodeModifizierer und TypMethodeBeschreibungvoid
SourceCodePainter.processSourceCodePainting
(Set<Map.Entry<CoverageNode, CoveragePaint>> paintedFiles, Set<String> sourceDirectories, String sourceCodeEncoding, io.jenkins.plugins.prism.SourceCodeRetention sourceCodeRetention, edu.hm.hafner.util.FilteredLog log) Processes the source code painting. -
Verwendungen von CoverageNode in io.jenkins.plugins.coverage.model.visualization.tree
Methoden in io.jenkins.plugins.coverage.model.visualization.tree mit Parametern vom Typ CoverageNodeModifizierer und TypMethodeBeschreibungedu.hm.hafner.echarts.TreeMapNode
TreeMapNodeConverter.toTeeChartModel
(CoverageNode node, CoverageMetric metric, ColorProvider colorProvider) Converts a coverage tree ofCoverageNode
to a ECharts tree map ofTreeMapNode
.