The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Max
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 125 | 43 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Possible null pointer dereference of analyzer in pl.innosoft.mathj.Solver.solve(Expression) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 46 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to token in pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.Element() | STYLE | DLS_DEAD_LOCAL_STORE | 119 |
| Dead store to token in pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.Element() | STYLE | DLS_DEAD_LOCAL_STORE | 116 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.Element() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 110-143 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.Expression() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 53-106 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.ReInit(InputStream) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 195-196 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.ReInit(InputStream, String) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 198-204 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.ReInit(Reader) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 216-222 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompiler.ReInit(JavaCCEquationCompilerTokenManager) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 233-238 |
| Bug | Category | Details | Line |
|---|---|---|---|
| pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerConstants.tokenImage should be moved out of an interface and made package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 23 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to i2 in pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.jjMoveNfa_0(int, int) | STYLE | DLS_DEAD_LOCAL_STORE | 216 |
| Dead store to l2 in pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.jjMoveNfa_0(int, int) | STYLE | DLS_DEAD_LOCAL_STORE | 217 |
| Dead store of null to specialToken in pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.getNextToken() | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 317 |
| pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.jjstrLiteralImages should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 242 |
| pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.lexStateNames should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 245 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.ReInit(SimpleCharStream) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 269-273 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.ReInit(SimpleCharStream, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 283-285 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.SwitchTo(int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 288-292 |
| The method name pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.ReInitRounds() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 277-280 |
| Private method pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.jjCheckNAddStates(int) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 111-113 |
| Private method pl.innosoft.mathj.compiler.javacc.JavaCCEquationCompilerTokenManager.jjStartNfaWithStates_0(int, int, int) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 33-37 |
| Bug | Category | Details | Line |
|---|---|---|---|
| pl.innosoft.mathj.compiler.javacc.ParseException.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.expectedTokenSequences | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 |
| pl.innosoft.mathj.compiler.javacc.ParseException.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.tokenImage | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 |
| Method pl.innosoft.mathj.compiler.javacc.ParseException.getMessage() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 123 |
| Class pl.innosoft.mathj.compiler.javacc.ParseException defines non-transient non-serializable instance field currentToken | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.BeginToken() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 133-137 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.Done() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 386-389 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ExpandBuff(boolean) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 38-84 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.FillBuff() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 88-127 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.GetImage() doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 361-364 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.GetSuffix(int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 370-381 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(InputStream) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 347-348 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(InputStream, int, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 357-358 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(InputStream, int, int, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 337-338 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(InputStream, String) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 342-343 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(InputStream, String, int, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 352-353 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(InputStream, String, int, int, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 331-332 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(Reader) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 292-293 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(Reader, int, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 287-288 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.ReInit(Reader, int, int, int) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 268-282 |
| The method name pl.innosoft.mathj.compiler.javacc.SimpleCharStream.UpdateLineColumn(char) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 142-178 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The method name pl.innosoft.mathj.compiler.javacc.TokenMgrError.LexicalError(boolean, int, int, int, String, char) doesn't start with an lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 98 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Method pl.innosoft.mathj.factory.xml.MathSheetXmlParser.processText(XmlPullParser) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 152 |