FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.8

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
299 88 0 0

org.openswift.interpreter.SwiftLexer

Bug Category Details Line Priority
Switch statement found in org.openswift.interpreter.SwiftLexer.mTokens() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 946-953 Low

org.openswift.interpreter.SwiftLexer$DFA1

Bug Category Details Line Priority
Should org.openswift.interpreter.SwiftLexer$DFA1 be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 1039-1051 Medium

org.openswift.interpreter.SwiftParser

Bug Category Details Line Priority
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.applicationHeaderBlock() STYLE DLS_DEAD_LOCAL_STORE 540 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.basicHeaderBlock() STYLE DLS_DEAD_LOCAL_STORE 446 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.inputMessage() STYLE DLS_DEAD_LOCAL_STORE 789 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.messages() STYLE DLS_DEAD_LOCAL_STORE 182 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.outputMessage() STYLE DLS_DEAD_LOCAL_STORE 923 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.partyIdentifier() STYLE DLS_DEAD_LOCAL_STORE 6317 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag13C() STYLE DLS_DEAD_LOCAL_STORE 2064 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag20() STYLE DLS_DEAD_LOCAL_STORE 2152 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag23B() STYLE DLS_DEAD_LOCAL_STORE 2237 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag23E() STYLE DLS_DEAD_LOCAL_STORE 2354 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag26T() STYLE DLS_DEAD_LOCAL_STORE 2440 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag32A() STYLE DLS_DEAD_LOCAL_STORE 2543 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag33B() STYLE DLS_DEAD_LOCAL_STORE 2639 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag36() STYLE DLS_DEAD_LOCAL_STORE 2725 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag50A() STYLE DLS_DEAD_LOCAL_STORE 2830 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag50F() STYLE DLS_DEAD_LOCAL_STORE 3070 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.tag50K() STYLE DLS_DEAD_LOCAL_STORE 2953 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.textBlock() STYLE DLS_DEAD_LOCAL_STORE 1170 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.trailerBlock() STYLE DLS_DEAD_LOCAL_STORE 1471 High
Dead store to stream_retval in org.openswift.interpreter.SwiftParser.userHeaderBlock() STYLE DLS_DEAD_LOCAL_STORE 1067 High
org.openswift.interpreter.SwiftParser.getTokenNames() may expose internal representation by returning SwiftParser.tokenNames MALICIOUS_CODE EI_EXPOSE_REP 76 Medium
org.openswift.interpreter.SwiftParser.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 13 Medium
Load of known null value in org.openswift.interpreter.SwiftParser.applicationHeaderBlock() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 539 Low
Load of known null value in org.openswift.interpreter.SwiftParser.basicHeaderBlock() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 445 Low
Load of known null value in org.openswift.interpreter.SwiftParser.inputMessage() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 788 Low
Load of known null value in org.openswift.interpreter.SwiftParser.messages() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 181 Low
Load of known null value in org.openswift.interpreter.SwiftParser.outputMessage() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 922 Low
Load of known null value in org.openswift.interpreter.SwiftParser.partyIdentifier() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 6316 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag13C() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2063 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag20() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2151 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag23B() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2236 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag23E() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2353 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag26T() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2439 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag32A() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2542 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag33B() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2638 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag36() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2724 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag50A() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2829 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag50F() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 3069 Low
Load of known null value in org.openswift.interpreter.SwiftParser.tag50K() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 2952 Low
Load of known null value in org.openswift.interpreter.SwiftParser.textBlock() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1169 Low
Load of known null value in org.openswift.interpreter.SwiftParser.trailerBlock() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1470 Low
Load of known null value in org.openswift.interpreter.SwiftParser.userHeaderBlock() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 1066 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.applicationHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 540 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.basicHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 446 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.inputMessage() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 789 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.messages() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 182 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.outputMessage() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 923 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.partyIdentifier() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 6317 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag13C() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2064 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag20() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2152 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag23B() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2237 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag23E() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2354 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag26T() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2440 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag32A() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2543 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag33B() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2639 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag36() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2725 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag50A() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2830 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag50F() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 3070 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.tag50K() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2953 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.textBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1170 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.trailerBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1471 Low
Redundant nullcheck of retval, which is known to be non-null in org.openswift.interpreter.SwiftParser.userHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1067 Low
Switch statement found in org.openswift.interpreter.SwiftParser.blocks() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 317-324 Low
Switch statement found in org.openswift.interpreter.SwiftParser.exchangeRate() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 5778-5786 Low
Switch statement found in org.openswift.interpreter.SwiftParser.inputMessageOrOutputMessage() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 678-688 Low
Switch statement found in org.openswift.interpreter.SwiftParser.line() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6460-6468 Low
Switch statement found in org.openswift.interpreter.SwiftParser.message103() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1753-1760 Low
Switch statement found in org.openswift.interpreter.SwiftParser.nameAndAddress() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6222-6228 Low
Switch statement found in org.openswift.interpreter.SwiftParser.partyIdentifier() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 6389-6394 Low
Switch statement found in org.openswift.interpreter.SwiftParser.tag23E() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2334-2341 Low
Switch statement found in org.openswift.interpreter.SwiftParser.tag50F() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3052-3069 Low
Switch statement found in org.openswift.interpreter.SwiftParser.tag50K() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 2935-2952 Low
Switch statement found in org.openswift.interpreter.SwiftParser.tag50_a() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 3490-3496 Low
Switch statement found in org.openswift.interpreter.SwiftParser.textBlockMessage() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1268-1278 Low
Switch statement found in org.openswift.interpreter.SwiftParser.trailerBlock() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1377-1385 Low
Switch statement found in org.openswift.interpreter.SwiftParser.userHeaderBlock() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1031-1039 Low

org.openswift.interpreter.SwiftParser$DFA29

Bug Category Details Line Priority
Should org.openswift.interpreter.SwiftParser$DFA29 be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 7238-7250 Medium

org.openswift.interpreter.SwiftWalker

Bug Category Details Line Priority
org.openswift.interpreter.SwiftWalker.getTokenNames() may expose internal representation by returning SwiftWalker.tokenNames MALICIOUS_CODE EI_EXPOSE_REP 86 Medium
org.openswift.interpreter.SwiftWalker.tokenNames should be package protected MALICIOUS_CODE MS_PKGPROTECT 13 Medium
Redundant nullcheck of b, which is known to be non-null in org.openswift.interpreter.SwiftWalker.basicHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 335 Low
Redundant nullcheck of c, which is known to be non-null in org.openswift.interpreter.SwiftWalker.basicHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 335 Low
Redundant nullcheck of d, which is known to be non-null in org.openswift.interpreter.SwiftWalker.basicHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 335 Low
Redundant nullcheck of e, which is known to be non-null in org.openswift.interpreter.SwiftWalker.basicHeaderBlock() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 335 Low
Switch statement found in org.openswift.interpreter.SwiftWalker.blocks() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 248-256 Low

org.openswift.interpreter.SwiftWalker$STAttrMap

Bug Category Details Line Priority
Method org.openswift.interpreter.SwiftWalker$STAttrMap.put(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 81 Medium
org.openswift.interpreter.SwiftWalker$STAttrMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 75-82 Low