Apache Commons logo Commons DBCP

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
74 6 0 0

org.apache.commons.dbcp2.PStmtKey

Bug Category Details Line Priority
org.apache.commons.dbcp2.PStmtKey.getColumnIndexes() may expose internal representation by returning PStmtKey._columnIndexes MALICIOUS_CODE EI_EXPOSE_REP 211 Medium
org.apache.commons.dbcp2.PStmtKey.getColumnNames() may expose internal representation by returning PStmtKey._columnNames MALICIOUS_CODE EI_EXPOSE_REP 215 Medium
new org.apache.commons.dbcp2.PStmtKey(String, String, int[]) may expose internal representation by storing an externally mutable object into PStmtKey._columnIndexes MALICIOUS_CODE EI_EXPOSE_REP2 116 Medium
new org.apache.commons.dbcp2.PStmtKey(String, String, String[]) may expose internal representation by storing an externally mutable object into PStmtKey._columnNames MALICIOUS_CODE EI_EXPOSE_REP2 131 Medium

org.apache.commons.dbcp2.PoolingDriver

Bug Category Details Line Priority
org.apache.commons.dbcp2.PoolingDriver.pools is a mutable collection which should be package protected MALICIOUS_CODE MS_MUTABLE_COLLECTION_PKGPROTECT 53 Medium

org.apache.commons.dbcp2.Utils

Bug Category Details Line Priority
org.apache.commons.dbcp2.Utils.DISCONNECTION_SQL_CODES is a mutable collection which should be package protected MALICIOUS_CODE MS_MUTABLE_COLLECTION_PKGPROTECT 58 Medium