1 Star 0 Fork 17

知行合一/DBLE

forked from Gitee 极速下载/DBLE 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
findbugs-exclude.xml 7.20 KB
一键复制 编辑 原始数据 按行查看 历史
<FindBugsFilter>
<!-- protocol:ignore -->
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta"/>
</Match>
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta$ColumnMeta"/>
</Match>
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta$IndexMeta"/>
</Match>
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta$TableMeta"/>
</Match>
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta$ColumnMeta$Builder"/>
</Match>
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta$IndexMeta$Builder"/>
</Match>
<Match>
<Class name="com.actiontech.dble.meta.protocol.StructureMeta$TableMeta$Builder"/>
</Match>
<Match>
<Package name="com.actiontech.dble.log.alarm"/>
</Match>
<Match>
<Class name="com.actiontech.dble.log.AlarmAppender"/>
</Match>
<!-- protocol:ignore -->
<Match>
<Package name="com.actiontech.dble.util.dataMigrator.dataIOImpl"/>
</Match>
<!--MALICIOUS_CODE ,need refactor? -->
<Match>
<Bug category="MALICIOUS_CODE"/>
</Match>
<!-- I18N new String(byte[]) UTF-8 OR EVENT SET? -->
<Match>
<Bug category="I18N"/>
<Bug pattern="DM_DEFAULT_ENCODING"/>
</Match>
<!-- need remove??? -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="DLS_DEAD_LOCAL_STORE"/>
<Class name="com.actiontech.dble.plan.common.item.function.timefunc.ItemTemporalHybridFunc"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
<Class name="com.actiontech.dble.plan.common.time.MySQLTimeStatus"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="DLS_DEAD_LOCAL_STORE"/>
<Class name="com.actiontech.dble.plan.common.time.MyTime"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
<Class name="com.actiontech.dble.backend.mysql.BindValue"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
<Class name="com.actiontech.dble.net.mysql.ExecutePacket"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="SF_SWITCH_NO_DEFAULT"/>
<Class name="com.actiontech.dble.server.parser.ServerParseSelect"/>
</Match>
<!-- use enum? -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="SF_SWITCH_NO_DEFAULT"/>
<Class name="com.actiontech.dble.backend.heartbeat.MySQLHeartbeat"/>
</Match>
<Match>
<Bug category="STYLE"/>
<Bug pattern="SF_SWITCH_NO_DEFAULT"/>
<Class name="com.actiontech.dble.server.response.SessionIsolation"/>
</Match>
<!-- always throw new exception-->
<Match>
<Bug category="STYLE"/>
<Bug pattern="REC_CATCH_EXCEPTION"/>
</Match>
<!-- feature -->
<Match>
<Bug category="STYLE"/>
<Bug pattern="DB_DUPLICATE_BRANCHES"/>
</Match>
<Match>
<Bug category="STYLE"/>
<Class name="com.actiontech.dble.plan.common.time.MyTime"/>
<Method name="extractDateTime"/>
<Bug pattern="SF_SWITCH_FALLTHROUGH"/>
</Match>
<Match>
<Bug category="STYLE"/>
<Class name="TimSort"/>
<Method name="binarySort"/>
<Bug pattern="SF_SWITCH_FALLTHROUGH"/>
</Match>
<Match>
<Bug category="STYLE"/>
<Class name="com.actiontech.dble.net.mysql.BinaryRowDataPacket"/>
<Method name="read"/>
<Bug pattern="NP_LOAD_OF_KNOWN_NULL_VALUE"/>
</Match>
<!-- STYLE end -->
<!-- PERFORMANCE -->
<!-- system.gc() is needed?-->
<Match>
<Bug category="PERFORMANCE"/>
<Bug pattern="DM_GC"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="PERFORMANCE"/>
<Class name="com.actiontech.dble.plan.common.locale.MyLocale"/>
<Bug pattern="URF_UNREAD_FIELD"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="PERFORMANCE"/>
<Class name="com.actiontech.dble.plan.common.locale.MyLocaleErrMsgs"/>
<Bug pattern="URF_UNREAD_FIELD"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="PERFORMANCE"/>
<Class name="com.actiontech.dble.plan.common.typelib.TypeLib"/>
<Bug pattern="URF_UNREAD_FIELD"/>
</Match>
<!-- need refactor -->
<Match>
<Bug category="PERFORMANCE"/>
<Class name="com.actiontech.dble.route.sequence.handler.SequenceVal"/>
<Bug pattern="URF_UNREAD_FIELD"/>
</Match>
<!-- PERFORMANCE end -->
<!-- CORRECTNESS start -->
<Match>
<Bug category="CORRECTNESS"/>
<Class name="com.actiontech.dble.plan.node.JoinNode"/>
<Method name="setRightNode"/>
<Bug pattern="NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS"/>
</Match>
<!-- CORRECTNESS end -->
<!-- MT_CORRECTNESS -->
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.DbleServer"/>
<Method name="genXaTxId"/>
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER"/>
</Match>
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.statistic.stat.QueryTimeCostContainer"/>
<Method name="add"/>
<Bug pattern="JLM_JSR166_UTILCONCURRENT_MONITORENTER"/>
</Match>
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.backend.mysql.xa.recovery.impl.FileSystemRepository"/>
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
</Match>
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.server.handler.ServerLoadDataInfileHandler"/>
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
</Match>
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.backend.mysql.nio.handler.NewConnectionRespHandler"/>
<Method name="getBackConn"/>
<Bug pattern="WA_AWAIT_NOT_IN_LOOP"/>
</Match>
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.backend.mysql.nio.handler.transaction.AbstractCommitNodesHandler"/>
<Method name="waitUntilSendFinish"/>
<Bug pattern="WA_AWAIT_NOT_IN_LOOP"/>
</Match>
<Match>
<Bug category="MT_CORRECTNESS"/>
<Class name="com.actiontech.dble.backend.mysql.nio.handler.transaction.xa.XARollbackNodesHandler"/>
<Method name="waitUntilSendFinish"/>
<Bug pattern="WA_AWAIT_NOT_IN_LOOP"/>
</Match>
<!-- MT_CORRECTNESS end -->
<!-- BAD_PRACTICE start ,num:9-->
<Match>
<Bug category="BAD_PRACTICE"/>
<Bug pattern="RR_NOT_CHECKED,RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
</Match>
<Match>
<Bug category="BAD_PRACTICE"/>
<Class name="com.actiontech.dble.server.handler.SetHandler"/>
<Method name="isSwitchOn"/>
<Bug pattern="NP_BOOLEAN_RETURN_NULL"/>
</Match>
<!-- BAD_PRACTICE end-->
</FindBugsFilter>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guotufu888/DBLE.git
git@gitee.com:guotufu888/DBLE.git
guotufu888
DBLE
DBLE
master

搜索帮助