Skip to content

Add support for Opencover format based on opencover plugin

ci.jenkins.io / SpotBugs failed Nov 18, 2023 in 0s

5 new issues

Total New Outstanding Fixed Trend
5 5 0 0 👎

Reference build: Plugins » coverage-model » main #81

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 0 5

Annotations

Check warning on line 134 in src/main/java/edu/hm/hafner/coverage/parser/OpenCoverParser.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / SpotBugs

DLS_DEAD_LOCAL_STORE

LOW:
Dead store to $L6 in edu.hm.hafner.coverage.parser.OpenCoverParser.readClass(XMLEventReader, StartElement, FilteredLog)
Raw output
<p> This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used. </p> <p> Note that Sun's javac compiler often generates dead stores for final local variables. Because SpotBugs is a bytecode-based tool, there is no easy way to eliminate these false positives. </p>

Check warning on line 122 in src/main/java/edu/hm/hafner/coverage/parser/OpenCoverParser.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / SpotBugs

DLS_DEAD_LOCAL_STORE

LOW:
Dead store to packageNode in edu.hm.hafner.coverage.parser.OpenCoverParser.readFile(XMLEventReader, ModuleNode, StartElement, FilteredLog)
Raw output
<p> This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used. </p> <p> Note that Sun's javac compiler often generates dead stores for final local variables. Because SpotBugs is a bytecode-based tool, there is no easy way to eliminate these false positives. </p>

Check warning on line 151 in src/main/java/edu/hm/hafner/coverage/parser/OpenCoverParser.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / SpotBugs

UPM_UNCALLED_PRIVATE_METHOD

LOW:
Private method edu.hm.hafner.coverage.parser.OpenCoverParser.createClassNode(FileNode, StartElement) is never called
Raw output
<p> This private method is never called. Although it is possible that the method will be invoked through reflection, it is more likely that the method is never used, and should be removed. </p>

Check warning on line 145 in src/main/java/edu/hm/hafner/coverage/parser/OpenCoverParser.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / SpotBugs

UPM_UNCALLED_PRIVATE_METHOD

LOW:
Private method edu.hm.hafner.coverage.parser.OpenCoverParser.readComplexity(String) is never called
Raw output
<p> This private method is never called. Although it is possible that the method will be invoked through reflection, it is more likely that the method is never used, and should be removed. </p>

Check warning on line 126 in src/main/java/edu/hm/hafner/coverage/parser/OpenCoverParser.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / SpotBugs

UPM_UNCALLED_PRIVATE_METHOD

LOW:
Private method edu.hm.hafner.coverage.parser.OpenCoverParser.readFile(XMLEventReader, ModuleNode, StartElement, FilteredLog) is never called
Raw output
<p> This private method is never called. Although it is possible that the method will be invoked through reflection, it is more likely that the method is never used, and should be removed. </p>