The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is
Effort is min
Files
org.apache.oodt.xmlquery.Header
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible null pointer dereference of Header.type in org.apache.oodt.xmlquery.Header.equals(Object) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 168 | Medium |
| Possible null pointer dereference of Header.unit in org.apache.oodt.xmlquery.Header.equals(Object) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 168 | Medium |
org.apache.oodt.xmlquery.Result
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.oodt.xmlquery.Result.codecs isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 390 | High |
| Null pointer dereference of System.err in org.apache.oodt.xmlquery.Result.<static initializer>() | CORRECTNESS | NP_ALWAYS_NULL | 402 | High |
org.apache.oodt.xmlquery.Statistic
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.oodt.xmlquery.Statistic implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 47-155 | Medium |
| new org.apache.oodt.xmlquery.Statistic() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 48 | Medium |
| Null pointer dereference of System.err in org.apache.oodt.xmlquery.Statistic.main(String[]) | CORRECTNESS | NP_ALWAYS_NULL | 130 | High |
org.apache.oodt.xmlquery.XMLQuery
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.oodt.xmlquery.XMLQuery(String, String, String, String, String, String, String, String, int, List, boolean) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 185 | Medium |
| Null pointer dereference of System.err in org.apache.oodt.xmlquery.XMLQuery.main(String[]) | CORRECTNESS | NP_ALWAYS_NULL | 909 | High |
| Null pointer dereference of System.out in org.apache.oodt.xmlquery.XMLQuery.main(String[]) | CORRECTNESS | NP_ALWAYS_NULL | 932 | High |
| Null pointer dereference of System.err in new org.apache.oodt.xmlquery.XMLQuery(String) | CORRECTNESS | NP_ALWAYS_NULL | 238 | Medium |
| Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqAndParse() | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 453 | High |
| Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqFactorParse() | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 485 | High |
| Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqNotParse() | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 468 | High |
| Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqOrParse() | STYLE | NS_DANGEROUS_NON_SHORT_CIRCUIT | 437 | High |
| Method org.apache.oodt.xmlquery.XMLQuery.replaceCharWithString(String, char, String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 682 | Medium |
| The field org.apache.oodt.xmlquery.XMLQuery.previous_token is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
