FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
1 5 0 0

org.opendaylight.ttp.parser.Main

Bug Category Details Line Priority
Found reliance on default encoding in org.opendaylight.ttp.parser.Main.readTTPFromFile(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 116 High
Comparison of String parameter using == or != in org.opendaylight.ttp.parser.Main.nextFlowPathHop(TableTypePattern, String, String, int) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 243 Low
org.opendaylight.ttp.parser.Main.readTTPFromFile(String) may fail to close stream on exception BAD_PRACTICE OS_OPEN_STREAM_EXCEPTION_PATH 116 Low
org.opendaylight.ttp.parser.Main.nextFlowPathHop(TableTypePattern, String, String, int) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 295 Medium
org.opendaylight.ttp.parser.Main.printDOT(TableTypePattern) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 176 Medium