SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.8

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
243 12 0 0

Files

Class Bugs
it.univr.di.cstnu.algorithms.AbstractCSTN 2
it.univr.di.cstnu.algorithms.CSTN 2
it.univr.di.cstnu.algorithms.CSTNPotential 1
it.univr.di.cstnu.algorithms.STN 1
it.univr.di.cstnu.algorithms.STNU 2
it.univr.di.cstnu.algorithms.STNURTE 1
it.univr.di.cstnu.graph.STNUEdgeInt 2
it.univr.di.cstnu.util.OptimizationEngine$OptimizationResult 1

it.univr.di.cstnu.algorithms.AbstractCSTN

Bug Category Details Line Priority
Suppressing annotation DLS_DEAD_LOCAL_STORE on the method it.univr.di.cstnu.algorithms.AbstractCSTN.addUpperBounds() is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 931 Medium
Suppressing annotation DLS_DEAD_LOCAL_STORE on the method it.univr.di.cstnu.algorithms.AbstractCSTN.coreCSTNInitAndCheck() is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 1239 Medium

it.univr.di.cstnu.algorithms.CSTN

Bug Category Details Line Priority
Suppressing annotation DLS_DEAD_LOCAL_STORE on the method it.univr.di.cstnu.algorithms.CSTN.labelModificationR3qR3(LabeledNode, LabeledNode, CSTNEdge) is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 497 Medium
Suppressing annotation DLS_DEAD_LOCAL_STORE on the method it.univr.di.cstnu.algorithms.CSTN.labelPropagation(LabeledNode, LabeledNode, LabeledNode, CSTNEdge, CSTNEdge, CSTNEdge) is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 640 Medium

it.univr.di.cstnu.algorithms.CSTNPotential

Bug Category Details Line Priority
Suppressing annotation DLS_DEAD_LOCAL_STORE on the method it.univr.di.cstnu.algorithms.CSTNPotential.labelPropagation(LabeledNode, LabeledNode, LabeledNode, CSTNEdge, CSTNEdge, CSTNEdge) is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 370 Medium

it.univr.di.cstnu.algorithms.STN

Bug Category Details Line Priority
Suppressing annotation UPM on the method it.univr.di.cstnu.algorithms.STN.PRINT_STATUS_NODES_BFCT(TNGraph) is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 1969 Medium

it.univr.di.cstnu.algorithms.STNU

Bug Category Details Line Priority
Exceptional return value of java.io.File.createNewFile() ignored in it.univr.di.cstnu.algorithms.STNU.manageParameters(String[]) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 5321 Medium
Suppressing annotation DLS on the method it.univr.di.cstnu.algorithms.STNU.applyFD_STNU(boolean) is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 3644 Medium

it.univr.di.cstnu.algorithms.STNURTE

Bug Category Details Line Priority
Suppressing annotation NP_NONNULL_RETURN_VIOLATION on the method it.univr.di.cstnu.algorithms.STNURTE.getG() is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 764 Medium

it.univr.di.cstnu.graph.STNUEdgeInt

Bug Category Details Line Priority
Suppressing annotation SE_BAD_FIELD on the class it.univr.di.cstnu.graph.STNUEdgeInt is unnecessary STYLE US_USELESS_SUPPRESSION_ON_CLASS 21 Medium
Suppressing annotation RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE on the method it.univr.di.cstnu.graph.STNUEdgeInt.toString() is unnecessary STYLE US_USELESS_SUPPRESSION_ON_METHOD 261 Medium

it.univr.di.cstnu.util.OptimizationEngine$OptimizationResult

Bug Category Details Line Priority
new it.univr.di.cstnu.util.OptimizationEngine$OptimizationResult(double[], double, int) may expose internal representation by storing an externally mutable object into OptimizationEngine$OptimizationResult.solution MALICIOUS_CODE EI_EXPOSE_REP2 33 Medium