The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.apache.commons.ognl.ASTChain.toSetSourceString(OgnlContext, Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 483 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name org.apache.commons.ognl.OgnlParser.ReInit(InputStream) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 2971-2972 | Medium |
The method name org.apache.commons.ognl.OgnlParser.ReInit(InputStream, String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 2975-2982 | Medium |
The method name org.apache.commons.ognl.OgnlParser.ReInit(Reader) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 2997-3004 | Medium |
The method name org.apache.commons.ognl.OgnlParser.ReInit(OgnlParserTokenManager) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 3018-3024 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.commons.ognl.OgnlParserConstants.tokenImage should be moved out of an interface and made package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 56 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.commons.ognl.OgnlParserTokenManager.TokenLexicalActions(Token) invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead | PERFORMANCE | DM_NUMBER_CTOR | 1601 | Medium |
org.apache.commons.ognl.OgnlParserTokenManager.jjnewLexState should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 1331 | Medium |
org.apache.commons.ognl.OgnlParserTokenManager.jjstrLiteralImages should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 1309 | Medium |
The method name org.apache.commons.ognl.OgnlParserTokenManager.ReInit(JavaCharStream) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 1370-1374 | Medium |
The method name org.apache.commons.ognl.OgnlParserTokenManager.ReInit(JavaCharStream, int) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 1386-1388 | Medium |
The method name org.apache.commons.ognl.OgnlParserTokenManager.SwitchTo(int) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 1393-1397 | Medium |
Unread field: org.apache.commons.ognl.OgnlParserTokenManager.lengthOfMatch | PERFORMANCE | URF_UNREAD_FIELD | 1538 | Medium |
Unused field: org.apache.commons.ognl.OgnlParserTokenManager.charLiteralStartQuote | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.commons.ognl.OgnlParserTreeConstants.jjtNodeName should be moved out of an interface and made package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 123 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Incorrect lazy initialization of static field org.apache.commons.ognl.OgnlRuntime.compiler in org.apache.commons.ognl.OgnlRuntime.getCompiler(OgnlContext) | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 225-230 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.commons.ognl.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.expectedTokenSequences | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
new org.apache.commons.ognl.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.tokenImage | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
Method org.apache.commons.ognl.ParseException.initialise(Token, int[][], String[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 117 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name org.apache.commons.ognl.TokenMgrError.LexicalError(boolean, int, int, int, String, char) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 108 | Medium |