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
77 46 0 0

Files

Class Bugs
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.AckStreamingRequestBody 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequest 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequestProtocol 1
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.DropStreamingRequestBody 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody$BasicBody 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StartStreamingRequestBody 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StopStreamingRequestBody 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody 4
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody$SchemaTable 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponse 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponseProtocol 1
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult 4
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record 6
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$Builder 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$MetaData 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.ServerGreetingResult 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.StreamDataResult 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn 2
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn$Builder 2

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.AckStreamingRequestBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.AckStreamingRequestBody.getDefaultInstanceForType() may expose internal representation by returning AckStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 538 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.AckStreamingRequestBody.getDefaultInstance() may expose internal representation by returning AckStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 502 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequest

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequest.getDefaultInstanceForType() may expose internal representation by returning CDCRequest.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 2174 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequest.getDefaultInstance() may expose internal representation by returning CDCRequest.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 2138 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequestProtocol

Bug Category Details Line Priority
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.CDCRequestProtocol.getDescriptor() may expose internal representation by returning CDCRequestProtocol.descriptor MALICIOUS_CODE MS_EXPOSE_REP 66 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.DropStreamingRequestBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.DropStreamingRequestBody.getDefaultInstanceForType() may expose internal representation by returning DropStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 538 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.DropStreamingRequestBody.getDefaultInstance() may expose internal representation by returning DropStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 502 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody.getDefaultInstanceForType() may expose internal representation by returning LoginRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 1587 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody.getDefaultInstance() may expose internal representation by returning LoginRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 1551 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody$BasicBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody$BasicBody.getDefaultInstanceForType() may expose internal representation by returning LoginRequestBody$BasicBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 846 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.LoginRequestBody$BasicBody.getDefaultInstance() may expose internal representation by returning LoginRequestBody$BasicBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 810 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StartStreamingRequestBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StartStreamingRequestBody.getDefaultInstanceForType() may expose internal representation by returning StartStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 538 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StartStreamingRequestBody.getDefaultInstance() may expose internal representation by returning StartStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 502 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StopStreamingRequestBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StopStreamingRequestBody.getDefaultInstanceForType() may expose internal representation by returning StopStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 538 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StopStreamingRequestBody.getDefaultInstance() may expose internal representation by returning StopStreamingRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 502 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody.getDefaultInstanceForType() may expose internal representation by returning StreamDataRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 1659 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody.getSourceSchemaTableList() may expose internal representation by returning StreamDataRequestBody.sourceSchemaTable_ MALICIOUS_CODE EI_EXPOSE_REP 791 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody.getSourceSchemaTableOrBuilderList() may expose internal representation by returning StreamDataRequestBody.sourceSchemaTable_ MALICIOUS_CODE EI_EXPOSE_REP 799 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody.getDefaultInstance() may expose internal representation by returning StreamDataRequestBody.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 1623 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody$SchemaTable

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody$SchemaTable.getDefaultInstanceForType() may expose internal representation by returning StreamDataRequestBody$SchemaTable.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 739 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.request.StreamDataRequestBody$SchemaTable.getDefaultInstance() may expose internal representation by returning StreamDataRequestBody$SchemaTable.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 703 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponse

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponse.getDefaultInstanceForType() may expose internal representation by returning CDCResponse.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 1765 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponse.getDefaultInstance() may expose internal representation by returning CDCResponse.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 1729 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponseProtocol

Bug Category Details Line Priority
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.CDCResponseProtocol.getDescriptor() may expose internal representation by returning CDCResponseProtocol.descriptor MALICIOUS_CODE MS_EXPOSE_REP 56 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult.getDefaultInstanceForType() may expose internal representation by returning DataRecordResult.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 3740 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult.getRecordList() may expose internal representation by returning DataRecordResult.record_ MALICIOUS_CODE EI_EXPOSE_REP 2939 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult.getRecordOrBuilderList() may expose internal representation by returning DataRecordResult.record_ MALICIOUS_CODE EI_EXPOSE_REP 2947 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult.getDefaultInstance() may expose internal representation by returning DataRecordResult.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 3704 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record.getAfterList() may expose internal representation by returning DataRecordResult$Record.after_ MALICIOUS_CODE EI_EXPOSE_REP 1297 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record.getAfterOrBuilderList() may expose internal representation by returning DataRecordResult$Record.after_ MALICIOUS_CODE EI_EXPOSE_REP 1305 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record.getBeforeList() may expose internal representation by returning DataRecordResult$Record.before_ MALICIOUS_CODE EI_EXPOSE_REP 1256 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record.getBeforeOrBuilderList() may expose internal representation by returning DataRecordResult$Record.before_ MALICIOUS_CODE EI_EXPOSE_REP 1264 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record.getDefaultInstanceForType() may expose internal representation by returning DataRecordResult$Record.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 2887 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record.getDefaultInstance() may expose internal representation by returning DataRecordResult$Record.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 2851 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$Builder

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$Builder.mergeMetaData(DataRecordResult$Record$MetaData) may expose internal representation by storing an externally mutable object into DataRecordResult$Record$Builder.metaData_ MALICIOUS_CODE EI_EXPOSE_REP2 2573 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$Builder.setMetaData(DataRecordResult$Record$MetaData) may expose internal representation by storing an externally mutable object into DataRecordResult$Record$Builder.metaData_ MALICIOUS_CODE EI_EXPOSE_REP2 2541 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$MetaData

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$MetaData.getDefaultInstanceForType() may expose internal representation by returning DataRecordResult$Record$MetaData.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 1242 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.DataRecordResult$Record$MetaData.getDefaultInstance() may expose internal representation by returning DataRecordResult$Record$MetaData.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 1206 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.ServerGreetingResult

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.ServerGreetingResult.getDefaultInstanceForType() may expose internal representation by returning ServerGreetingResult.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 674 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.ServerGreetingResult.getDefaultInstance() may expose internal representation by returning ServerGreetingResult.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 638 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.StreamDataResult

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.StreamDataResult.getDefaultInstanceForType() may expose internal representation by returning StreamDataResult.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 538 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.StreamDataResult.getDefaultInstance() may expose internal representation by returning StreamDataResult.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 502 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn.getDefaultInstanceForType() may expose internal representation by returning TableColumn.DEFAULT_INSTANCE MALICIOUS_CODE EI_EXPOSE_REP 731 Medium
Public static org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn.getDefaultInstance() may expose internal representation by returning TableColumn.DEFAULT_INSTANCE MALICIOUS_CODE MS_EXPOSE_REP 695 Medium

org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn$Builder

Bug Category Details Line Priority
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn$Builder.mergeValue(Any) may expose internal representation by storing an externally mutable object into TableColumn$Builder.value_ MALICIOUS_CODE EI_EXPOSE_REP2 613 Medium
org.apache.shardingsphere.data.pipeline.cdc.protocol.response.TableColumn$Builder.setValue(Any) may expose internal representation by storing an externally mutable object into TableColumn$Builder.value_ MALICIOUS_CODE EI_EXPOSE_REP2 581 Medium