blob: f4b80f75c0d7e149ffe0b64cfe8bbb1ce9098d36 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.11.1 from com.github.spotbugs:spotbugs-maven-plugin:4.7.2.1:spotbugs at 2023-06-09
| Rendered using Apache Maven Default Skin
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
<title>shardingsphere-parser-distsql-engine &#x2013; SpotBugs Bug Detector Report</title>
<link rel="stylesheet" href="./css/maven-base.css" />
<link rel="stylesheet" href="./css/maven-theme.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
</head>
<body class="composite">
<div id="banner">
<div id="bannerLeft">shardingsphere-parser-distsql-engine
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="breadcrumbs">
<div class="xleft">
<span id="publishDate">Last Published: 2023-06-09</span>
| <span id="projectVersion">Version: 5.3.3-SNAPSHOT</span>
</div>
<div class="xright"><a href="./" title="shardingsphere-parser-distsql-engine">shardingsphere-parser-distsql-engine</a> </div>
<div class="clear">
<hr/>
</div>
</div>
<div id="leftColumn">
<div id="navcolumn">
<h5>Parent Project</h5>
<ul>
<li class="none"><a href="../index.html" title="shardingsphere-parser-distsql">shardingsphere-parser-distsql</a></li>
</ul>
<h5>Project Documentation</h5>
<ul>
<li class="collapsed"><a href="project-info.html" title="Project Information">Project Information</a></li>
<li class="expanded"><a href="project-reports.html" title="Project Reports">Project Reports</a>
<ul>
<li class="none"><a href="apidocs/index.html" title="Javadoc">Javadoc</a></li>
<li class="none"><a href="xref/index.html" title="Source Xref">Source Xref</a></li>
<li class="none"><a href="xref-test/index.html" title="Test Source Xref">Test Source Xref</a></li>
<li class="none"><a href="rat-report.html" title="Rat Report">Rat Report</a></li>
<li class="none"><a href="checkstyle.html" title="Checkstyle">Checkstyle</a></li>
<li class="none"><strong>SpotBugs</strong></li>
<li class="none"><a href="jdepend-report.html" title="JDepend">JDepend</a></li>
</ul></li>
</ul>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
</a>
</div>
</div>
<div id="bodyColumn">
<div id="contentBox">
<section>
<h2><a name="SpotBugs_Bug_Detector_Report"></a>SpotBugs Bug Detector Report</h2>
<p>The following document contains the results of <a class="externalLink" href="https://spotbugs.github.io/">SpotBugs</a></p>
<p>SpotBugs Version is <i>4.7.2</i></p>
<p>Threshold is <i>medium</i></p>
<p>Effort is <i>default</i></p></section><section>
<h2><a name="Summary"></a>Summary</h2>
<table border="0" class="bodyTable">
<tr class="a">
<th>Classes</th>
<th>Bugs</th>
<th>Errors</th>
<th>Missing Classes</th></tr>
<tr class="b">
<td>103</td>
<td>8</td>
<td>2</td>
<td>1</td></tr></table></section><section>
<h2><a name="Files"></a>Files</h2>
<table border="0" class="bodyTable">
<tr class="a">
<th>Class</th>
<th>Bugs</th></tr>
<tr class="b">
<td><a href="#org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor">org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor</a></td>
<td>7</td></tr>
<tr class="a">
<td><a href="#org.apache.shardingsphere.distsql.parser.core.utility.UtilityDistSQLStatementParserEngine">org.apache.shardingsphere.distsql.parser.core.utility.UtilityDistSQLStatementParserEngine</a></td>
<td>1</td></tr></table></section><a name="org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor"></a><section>
<h3><a name="org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor"></a>org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor</h3>
<table border="0" class="bodyTable">
<tr class="b">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="a">
<td>Method org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.getBatchSize(KernelDistSQLStatementParser$BatchSizeContext) converts String to boxed primitive using excessive boxing</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#NAB_NEEDLESS_BOXING_VALUEOF">NAB_NEEDLESS_BOXING_VALUEOF</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L364">364</a></td>
<td>Medium</td></tr>
<tr class="b">
<td>Method org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.getShardingSize(KernelDistSQLStatementParser$ShardingSizeContext) converts String to boxed primitive using excessive boxing</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#NAB_NEEDLESS_BOXING_VALUEOF">NAB_NEEDLESS_BOXING_VALUEOF</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L368">368</a></td>
<td>Medium</td></tr>
<tr class="a">
<td>Method org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.getWorkerThread(KernelDistSQLStatementParser$WorkerThreadContext) converts String to boxed primitive using excessive boxing</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#NAB_NEEDLESS_BOXING_VALUEOF">NAB_NEEDLESS_BOXING_VALUEOF</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L360">360</a></td>
<td>Medium</td></tr>
<tr class="b">
<td>Method org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.visitShowStorageUnits(KernelDistSQLStatementParser$ShowStorageUnitsContext) converts String to boxed primitive using excessive boxing</td>
<td>PERFORMANCE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#NAB_NEEDLESS_BOXING_VALUEOF">NAB_NEEDLESS_BOXING_VALUEOF</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L216">216</a></td>
<td>Medium</td></tr>
<tr class="a">
<td>org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.buildSetInstanceStatusStatement(String, KernelDistSQLStatementParser$InstanceIdContext): 2nd parameter 'instanceIdContext' could be declared as org.antlr.v4.runtime.tree.ParseTree instead</td>
<td>STYLE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#OCP_OVERLY_CONCRETE_PARAMETER">OCP_OVERLY_CONCRETE_PARAMETER</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L187">187</a></td>
<td>Medium</td></tr>
<tr class="b">
<td>org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.getAlgorithmSegment(KernelDistSQLStatementParser$RateLimiterContext): 1st parameter 'ctx' could be declared as org.antlr.v4.runtime.tree.ParseTree instead</td>
<td>STYLE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#OCP_OVERLY_CONCRETE_PARAMETER">OCP_OVERLY_CONCRETE_PARAMETER</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L340">340</a></td>
<td>Medium</td></tr>
<tr class="a">
<td>org.apache.shardingsphere.distsql.parser.core.kernel.KernelDistSQLStatementVisitor.getPassword(KernelDistSQLStatementParser$PasswordContext): 1st parameter 'ctx' could be declared as org.antlr.v4.runtime.tree.ParseTree instead</td>
<td>STYLE</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#OCP_OVERLY_CONCRETE_PARAMETER">OCP_OVERLY_CONCRETE_PARAMETER</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.html#L146">146</a></td>
<td>Medium</td></tr></table></section><a name="org.apache.shardingsphere.distsql.parser.core.utility.UtilityDistSQLStatementParserEngine"></a><section>
<h3><a name="org.apache.shardingsphere.distsql.parser.core.utility.UtilityDistSQLStatementParserEngine"></a>org.apache.shardingsphere.distsql.parser.core.utility.UtilityDistSQLStatementParserEngine</h3>
<table border="0" class="bodyTable">
<tr class="b">
<th>Bug</th>
<th>Category</th>
<th>Details</th>
<th>Line</th>
<th>Priority</th></tr>
<tr class="a">
<td>Method org.apache.shardingsphere.distsql.parser.core.utility.UtilityDistSQLStatementParserEngine.parseToASTNode(String) throws alternative exception from catch block without history</td>
<td>CORRECTNESS</td>
<td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#LEST_LOST_EXCEPTION_STACK_TRACE">LEST_LOST_EXCEPTION_STACK_TRACE</a></td>
<td><a href="./xref/org/apache/shardingsphere/distsql/parser/core/utility/UtilityDistSQLStatementParserEngine.html#L48">48</a></td>
<td>Medium</td></tr></table></section>
</div>
</div>
<div class="clear">
<hr/>
</div>
<div id="footer">
<div class="xright">
Copyright &#169; 2023<a href="https://www.apache.org/">The Apache Software Foundation</a>.
. </div>
<div class="clear">
<hr/>
</div>
</div>
</body>
</html>