The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.lexer.RegExpLexer.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 115 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.lexer.TokenMetaData.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 139 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.ParseTreeNode.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 341 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.ParserTreeMetaData.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 81 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.functions.First.toString() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 191 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.functions.Follow.toString() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 164 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Boxing/unboxing to parse a primitive new com.puresoltechnologies.parsers.parser.lr.AbstractLRParser(Grammar) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 136 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.puresoltechnologies.parsers.parser.lr.LALR1ParserTable.writeTable(File, LALR1ItemSetCollection): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 128 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.puresoltechnologies.parsers.parser.lr.LR0ParserTable.writeTable(File, LR0ItemSetCollection): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 121 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.lr.LR0StateTransitions doesn't override com.puresoltechnologies.parsers.parser.parsetable.StateTransitions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.puresoltechnologies.parsers.parser.lr.LR1ParserTable.writeTable(File, LR1ItemSetCollection): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 111 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.lr.LR1StateTransitions doesn't override com.puresoltechnologies.parsers.parser.parsetable.StateTransitions.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 1 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.lr.ParserErrors.toString() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 32 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in com.puresoltechnologies.parsers.parser.lr.SLR1ParserTable.writeTable(File, LR0ItemSetCollection): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 119 | High |
com.puresoltechnologies.parsers.parser.lr.SLR1ParserTable.writeTable(File, LR0ItemSetCollection) may fail to clean up java.io.Writer on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 119 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.parser.packrat.Head.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 114 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of indentLine() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 586 | Medium |
Class com.puresoltechnologies.parsers.parser.packrat.PackratParser defines non-transient non-serializable instance field memo | BAD_PRACTICE | SE_BAD_FIELD | High | |
Class com.puresoltechnologies.parsers.parser.packrat.PackratParser defines non-transient non-serializable instance field textWithSource | BAD_PRACTICE | SE_BAD_FIELD | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of hashCode on array in com.puresoltechnologies.parsers.source.FixedCodeLocation.hashCode() | CORRECTNESS | DMI_INVOKING_HASHCODE_ON_ARRAY | 74 | Medium |
Using .equals to compare two String[]'s, (equivalent to ==) in com.puresoltechnologies.parsers.source.FixedCodeLocation.equals(Object) | CORRECTNESS | EC_BAD_ARRAY_COMPARE | 90 | Medium |
com.puresoltechnologies.parsers.source.FixedCodeLocation.getLines() may expose internal representation by returning FixedCodeLocation.lines | MALICIOUS_CODE | EI_EXPOSE_REP | 67 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.puresoltechnologies.parsers.source.SourceCodeLine.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 86 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of java.net.URL.equals(Object), which blocks to do domain name resolution, in com.puresoltechnologies.parsers.source.URLSourceCodeLocation.equals(Object) | PERFORMANCE | DMI_BLOCKING_METHODS_ON_URL | 73 | High |
Invocation of java.net.URL.hashCode(), which blocks to do domain name resolution, in com.puresoltechnologies.parsers.source.URLSourceCodeLocation.hashCode() | PERFORMANCE | DMI_BLOCKING_METHODS_ON_URL | 57 | High |