SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
12 4 0 0

Files

Class Bugs
org.apache.shardingsphere.proxy.frontend.opengauss.OpenGaussFrontendEngine 1
org.apache.shardingsphere.proxy.frontend.opengauss.command.query.extended.bind.OpenGaussComBatchBindExecutor 2
org.apache.shardingsphere.proxy.frontend.opengauss.command.query.simple.OpenGaussComQueryExecutor 1

org.apache.shardingsphere.proxy.frontend.opengauss.OpenGaussFrontendEngine

Bug Category Details Line Priority
org.apache.shardingsphere.proxy.frontend.opengauss.OpenGaussFrontendEngine.getCommandExecuteEngine() may expose internal representation by returning OpenGaussFrontendEngine.commandExecuteEngine MALICIOUS_CODE EI_EXPOSE_REP 41 Medium

org.apache.shardingsphere.proxy.frontend.opengauss.command.query.extended.bind.OpenGaussComBatchBindExecutor

Bug Category Details Line Priority
new org.apache.shardingsphere.proxy.frontend.opengauss.command.query.extended.bind.OpenGaussComBatchBindExecutor(OpenGaussComBatchBindPacket, ConnectionSession) may expose internal representation by storing an externally mutable object into OpenGaussComBatchBindExecutor.connectionSession MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium
new org.apache.shardingsphere.proxy.frontend.opengauss.command.query.extended.bind.OpenGaussComBatchBindExecutor(OpenGaussComBatchBindPacket, ConnectionSession) may expose internal representation by storing an externally mutable object into OpenGaussComBatchBindExecutor.packet MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

org.apache.shardingsphere.proxy.frontend.opengauss.command.query.simple.OpenGaussComQueryExecutor

Bug Category Details Line Priority
new org.apache.shardingsphere.proxy.frontend.opengauss.command.query.simple.OpenGaussComQueryExecutor(PortalContext, PostgreSQLComQueryPacket, ConnectionSession) may expose internal representation by storing an externally mutable object into OpenGaussComQueryExecutor.portalContext MALICIOUS_CODE EI_EXPOSE_REP2 73 Medium