FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Max

Summary

Classes Bugs Errors Missing Classes
143 18 0 0

fr.inria.opengve.bridge.abstractClasses.AbstractScalar

Bug Category Details Line
The method name fr.inria.opengve.bridge.abstractClasses.AbstractScalar.Max(AbstractScalar, AbstractScalar) doesn't start with an lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 26-28
The method name fr.inria.opengve.bridge.abstractClasses.AbstractScalar.Min(AbstractScalar, AbstractScalar) doesn't start with an lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 43-45

fr.inria.opengve.bridge.algorithms.StepAlgo

Bug Category Details Line
fr.inria.opengve.bridge.algorithms.StepAlgo.ends() does not release lock on all exception paths MT_CORRECTNESS UL_UNRELEASED_LOCK_EXCEPTION_PATH 244
fr.inria.opengve.bridge.algorithms.StepAlgo.nextStep() does not release lock on all exception paths MT_CORRECTNESS UL_UNRELEASED_LOCK_EXCEPTION_PATH 226
fr.inria.opengve.bridge.algorithms.StepAlgo.setPauseMode(boolean) does not release lock on all exception paths MT_CORRECTNESS UL_UNRELEASED_LOCK_EXCEPTION_PATH 261
Condition.await() not in loop in fr.inria.opengve.bridge.algorithms.StepAlgo.pause() MT_CORRECTNESS WA_AWAIT_NOT_IN_LOOP 291

fr.inria.opengve.bridge.algorithms.StepAlgo$StepAlgoMessage

Bug Category Details Line
fr.inria.opengve.bridge.algorithms.StepAlgo$StepAlgoMessage.getMessageArgs() may expose internal representation by returning StepAlgo$StepAlgoMessage.args MALICIOUS_CODE EI_EXPOSE_REP 148

fr.inria.opengve.bridge.algorithms.common.RandomWalk

Bug Category Details Line
int division result cast to double or float in fr.inria.opengve.bridge.algorithms.common.RandomWalk.computeProbability(Link, Vector) STYLE ICAST_IDIV_CAST_TO_DOUBLE 149

fr.inria.opengve.bridge.algorithms.common.shortestPath.Dijkstra

Bug Category Details Line
fr.inria.opengve.bridge.algorithms.common.shortestPath.Dijkstra.getDistances() may expose internal representation by returning Dijkstra.distance_ MALICIOUS_CODE EI_EXPOSE_REP 244

fr.inria.opengve.bridge.algorithms.common.shortestPath.KShortestPaths

Bug Category Details Line
Impossible cast from java.lang.Object[] to fr.inria.opengve.bridge.interfaces.Link[] in fr.inria.opengve.bridge.algorithms.common.shortestPath.KShortestPaths.disableVerticesAndEdges(Graph, Object, Object, Path) CORRECTNESS BC_IMPOSSIBLE_CAST 550
The field name fr.inria.opengve.bridge.algorithms.common.shortestPath.KShortestPaths.Weights doesn't start with an lower case letter BAD_PRACTICE NM_FIELD_NAMING_CONVENTION Not available

fr.inria.opengve.bridge.algorithms.common.shortestPath.ShortestPathWithSingleOrigin

Bug Category Details Line
fr.inria.opengve.bridge.algorithms.common.shortestPath.ShortestPathWithSingleOrigin.result is set to null inside finalize method BAD_PRACTICE FI_FINALIZER_NULLS_FIELDS 331
fr.inria.opengve.bridge.algorithms.common.shortestPath.ShortestPathWithSingleOrigin.parcours_ is set to null inside finalize method BAD_PRACTICE FI_FINALIZER_NULLS_FIELDS 334
The method name fr.inria.opengve.bridge.algorithms.common.shortestPath.ShortestPathWithSingleOrigin.Initialize(AbstractScalar) doesn't start with an lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 130-155
ShortestPathWithSingleOrigin.parcours_ not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available

fr.inria.opengve.bridge.algorithms.undirected.Kruskal

Bug Category Details Line
Method fr.inria.opengve.bridge.algorithms.undirected.Kruskal.run() uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 241

fr.inria.opengve.bridge.algorithms.undirected.minCut.NagamochiMinCut

Bug Category Details Line
fr.inria.opengve.bridge.algorithms.undirected.minCut.NagamochiMinCut.getVertexMinCut() may expose internal representation by returning NagamochiMinCut.vertexCut_ MALICIOUS_CODE EI_EXPOSE_REP 365

fr.inria.opengve.bridge.algorithms.undirected.minCut.StoerWagnerMinCut

Bug Category Details Line
StoerWagnerMinCut.graphCopy_ not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available