FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
100 21 0 0

com.puresoltechnologies.parsers.lexer.RegExpLexer

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

com.puresoltechnologies.parsers.lexer.TokenMetaData

Bug Category Details Line Priority
com.puresoltechnologies.parsers.lexer.TokenMetaData.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 140 Medium

com.puresoltechnologies.parsers.parser.ParserTree

Bug Category Details Line Priority
com.puresoltechnologies.parsers.parser.ParserTree.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 326 Medium

com.puresoltechnologies.parsers.parser.ParserTreeMetaData

Bug Category Details Line Priority
com.puresoltechnologies.parsers.parser.ParserTreeMetaData.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 82 Medium

com.puresoltechnologies.parsers.parser.lr.AbstractLRParser

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

com.puresoltechnologies.parsers.parser.lr.LALR1ParserTable

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

com.puresoltechnologies.parsers.parser.lr.LR0ParserTable

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

com.puresoltechnologies.parsers.parser.lr.LR0StateTransitions

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

com.puresoltechnologies.parsers.parser.lr.LR1ParserTable

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

com.puresoltechnologies.parsers.parser.lr.LR1StateTransitions

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

com.puresoltechnologies.parsers.parser.lr.SLR1ParserTable

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

com.puresoltechnologies.parsers.parser.packrat.Head

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

com.puresoltechnologies.parsers.parser.packrat.PackratParser

Bug Category Details Line Priority
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

com.puresoltechnologies.parsers.source.FixedCodeLocation

Bug Category Details Line Priority
Invocation of hashCode on array in com.puresoltechnologies.parsers.source.FixedCodeLocation.hashCode() CORRECTNESS DMI_INVOKING_HASHCODE_ON_ARRAY 75 Medium
Using .equals to compare two String[]'s, (equivalent to ==) in com.puresoltechnologies.parsers.source.FixedCodeLocation.equals(Object) CORRECTNESS EC_BAD_ARRAY_COMPARE 91 Medium
com.puresoltechnologies.parsers.source.FixedCodeLocation.getLines() may expose internal representation by returning FixedCodeLocation.lines MALICIOUS_CODE EI_EXPOSE_REP 68 Medium

com.puresoltechnologies.parsers.source.SourceCodeLine

Bug Category Details Line Priority
com.puresoltechnologies.parsers.source.SourceCodeLine.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 88 Medium

com.puresoltechnologies.parsers.source.URLSourceCodeLocation

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