Query Expression

FindBugs Bug Detector Report

Summary

Files

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is

Effort is min

Summary

ClassesBugsErrorsMissing Classes
212000

org.apache.oodt.xmlquery.CompressedObjectCodec

BugCategoryDetailsLinePriority

org.apache.oodt.xmlquery.CompressedStringCodec

BugCategoryDetailsLinePriority

org.apache.oodt.xmlquery.Header

BugCategoryDetailsLinePriority
Possible null pointer dereference of Header.type in org.apache.oodt.xmlquery.Header.equals(Object)CORRECTNESSNP_NULL_ON_SOME_PATH168Medium
Possible null pointer dereference of Header.unit in org.apache.oodt.xmlquery.Header.equals(Object)CORRECTNESSNP_NULL_ON_SOME_PATH168Medium

org.apache.oodt.xmlquery.ObjectCodec

BugCategoryDetailsLinePriority

org.apache.oodt.xmlquery.Result

BugCategoryDetailsLinePriority
org.apache.oodt.xmlquery.Result.codecs isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL390High
Null pointer dereference of System.err in org.apache.oodt.xmlquery.Result.<static initializer>()CORRECTNESSNP_ALWAYS_NULL402High

org.apache.oodt.xmlquery.Statistic

BugCategoryDetailsLinePriority
Class org.apache.oodt.xmlquery.Statistic implements Cloneable but does not define or use clone methodBAD_PRACTICECN_IDIOM47-155Medium
new org.apache.oodt.xmlquery.Statistic() invokes inefficient new String(String) constructorPERFORMANCEDM_STRING_CTOR48Medium
Null pointer dereference of System.err in org.apache.oodt.xmlquery.Statistic.main(String[])CORRECTNESSNP_ALWAYS_NULL130High

org.apache.oodt.xmlquery.XMLQuery

BugCategoryDetailsLinePriority
new org.apache.oodt.xmlquery.XMLQuery(String, String, String, String, String, String, String, String, int, List, boolean) invokes inefficient new String(String) constructorPERFORMANCEDM_STRING_CTOR185Medium
Null pointer dereference of System.err in org.apache.oodt.xmlquery.XMLQuery.main(String[])CORRECTNESSNP_ALWAYS_NULL909High
Null pointer dereference of System.out in org.apache.oodt.xmlquery.XMLQuery.main(String[])CORRECTNESSNP_ALWAYS_NULL932High
Null pointer dereference of System.err in new org.apache.oodt.xmlquery.XMLQuery(String)CORRECTNESSNP_ALWAYS_NULL238Medium
Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqAndParse()STYLENS_DANGEROUS_NON_SHORT_CIRCUIT453High
Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqFactorParse()STYLENS_DANGEROUS_NON_SHORT_CIRCUIT485High
Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqNotParse()STYLENS_DANGEROUS_NON_SHORT_CIRCUIT468High
Potentially dangerous use of non-short-circuit logic in org.apache.oodt.xmlquery.XMLQuery.kqOrParse()STYLENS_DANGEROUS_NON_SHORT_CIRCUIT437High
Method org.apache.oodt.xmlquery.XMLQuery.replaceCharWithString(String, char, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION682Medium
The field org.apache.oodt.xmlquery.XMLQuery.previous_token is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDNot availableMedium