The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.services.csw.AbstractCSWRequest.getTypeNames() may expose internal representation by returning AbstractCSWRequest.typeNames | MALICIOUS_CODE | EI_EXPOSE_REP | 94 | Medium |
new org.deegree.services.csw.AbstractCSWRequest(Version, NamespaceBindings, QName[], String) may expose internal representation by storing an externally mutable object into AbstractCSWRequest.typeNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 72 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.services.csw.describerecord.DescribeRecordKVPAdapter.parse202(Version, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 93 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.deegree.services.csw.exporthandling.DescribeRecordHandler.writeSchema(XMLStreamWriter, QName, URL) | STYLE | REC_CATCH_EXCEPTION | 203 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.services.csw.exporthandling.GetCapabilitiesHandler.exportOperationsMetadata(XMLStreamWriter, String, String, String) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 353 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Comparison of String objects using == or != in org.deegree.services.csw.exporthandling.GetCapabilitiesHelper.writeTemplateElement(XMLStreamWriter, XMLStreamReader, Map) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 387 | Medium |
Comparison of String objects using == or != in org.deegree.services.csw.exporthandling.GetCapabilitiesHelper.writeTemplateElement(XMLStreamWriter, XMLStreamReader, Map) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 383 | Medium |
Comparison of String objects using == or != in org.deegree.services.csw.exporthandling.GetCapabilitiesHelper.writeTemplateElement(XMLStreamWriter, XMLStreamReader, Map) | BAD_PRACTICE | ES_COMPARING_STRINGS_WITH_EQ | 383 | Medium |
org.deegree.services.csw.exporthandling.GetCapabilitiesHelper.writeTemplateElement(XMLStreamWriter, XMLStreamReader, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 370 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.services.csw.exporthandling.GetRecordsHandler.validate(OMElement): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 452 | High |
org.deegree.services.csw.exporthandling.GetRecordsHandler.export202(XMLStreamWriter, GetRecords, MetadataStore) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 217 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of constraintLanguageString on branch that might be infeasible in org.deegree.services.csw.getrecords.GetRecordsKVPAdapter.parse202(Version, Map, String, String) | STYLE | NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE | 232 | Medium |
org.deegree.services.csw.getrecords.GetRecordsKVPAdapter.parse202(Version, Map, String, String) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.services.csw.getrecords.Query.getElementName() may expose internal representation by returning Query.elementName | MALICIOUS_CODE | EI_EXPOSE_REP | 137 | Medium |
org.deegree.services.csw.getrecords.Query.getQueryTypeNames() may expose internal representation by returning Query.queryTypeNames | MALICIOUS_CODE | EI_EXPOSE_REP | 121 | Medium |
org.deegree.services.csw.getrecords.Query.getReturnTypeNames() may expose internal representation by returning Query.returnTypeNames | MALICIOUS_CODE | EI_EXPOSE_REP | 127 | Medium |
org.deegree.services.csw.getrecords.Query.getSortProps() may expose internal representation by returning Query.sortProps | MALICIOUS_CODE | EI_EXPOSE_REP | 151 | Medium |
new org.deegree.services.csw.getrecords.Query(CSWConstants$ReturnableElement, String[], Filter, CSWConstants$ConstraintLanguage, SortProperty[], QName[], QName[]) may expose internal representation by storing an externally mutable object into Query.elementName | MALICIOUS_CODE | EI_EXPOSE_REP2 | 110 | Medium |
new org.deegree.services.csw.getrecords.Query(CSWConstants$ReturnableElement, String[], Filter, CSWConstants$ConstraintLanguage, SortProperty[], QName[], QName[]) may expose internal representation by storing an externally mutable object into Query.queryTypeNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 114 | Medium |
new org.deegree.services.csw.getrecords.Query(CSWConstants$ReturnableElement, String[], Filter, CSWConstants$ConstraintLanguage, SortProperty[], QName[], QName[]) may expose internal representation by storing an externally mutable object into Query.returnTypeNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 115 | Medium |
new org.deegree.services.csw.getrecords.Query(CSWConstants$ReturnableElement, String[], Filter, CSWConstants$ConstraintLanguage, SortProperty[], QName[], QName[]) may expose internal representation by storing an externally mutable object into Query.sortProps | MALICIOUS_CODE | EI_EXPOSE_REP2 | 113 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of type in org.deegree.services.csw.transaction.TransactionXMLAdapter.parse202() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 141 | Medium |