| <!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-authority-core – 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-authority-core |
| </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-authority-core">shardingsphere-authority-core</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-authority">shardingsphere-authority</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>23</td> |
| <td>5</td> |
| <td>14</td> |
| <td>4</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.authority.checker.AuthorityChecker">org.apache.shardingsphere.authority.checker.AuthorityChecker</a></td> |
| <td>1</td></tr> |
| <tr class="a"> |
| <td><a href="#org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper">org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper</a></td> |
| <td>3</td></tr> |
| <tr class="b"> |
| <td><a href="#org.apache.shardingsphere.authority.exception.UnauthorizedOperationException">org.apache.shardingsphere.authority.exception.UnauthorizedOperationException</a></td> |
| <td>1</td></tr></table></section><a name="org.apache.shardingsphere.authority.checker.AuthorityChecker"></a><section> |
| <h3><a name="org.apache.shardingsphere.authority.checker.AuthorityChecker"></a>org.apache.shardingsphere.authority.checker.AuthorityChecker</h3> |
| <table border="0" class="bodyTable"> |
| <tr class="a"> |
| <th>Bug</th> |
| <th>Category</th> |
| <th>Details</th> |
| <th>Line</th> |
| <th>Priority</th></tr> |
| <tr class="b"> |
| <td>Method org.apache.shardingsphere.authority.checker.AuthorityChecker.isAuthorized(String) needlessly boxes a boolean constant</td> |
| <td>PERFORMANCE</td> |
| <td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION">NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION</a></td> |
| <td><a href="./xref/org/apache/shardingsphere/authority/checker/AuthorityChecker.html#L50">50</a></td> |
| <td>Medium</td></tr></table></section><a name="org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper"></a><section> |
| <h3><a name="org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper"></a>org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper</h3> |
| <table border="0" class="bodyTable"> |
| <tr class="a"> |
| <th>Bug</th> |
| <th>Category</th> |
| <th>Details</th> |
| <th>Line</th> |
| <th>Priority</th></tr> |
| <tr class="b"> |
| <td>Method org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper.getDDLPrivilegeType(SQLStatement) uses instanceof on multiple types to arbitrate logic</td> |
| <td>STYLE</td> |
| <td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#ITC_INHERITANCE_TYPE_CHECKING">ITC_INHERITANCE_TYPE_CHECKING</a></td> |
| <td><a href="./xref/org/apache/shardingsphere/authority/checker/PrivilegeTypeMapper.html#L98">98</a></td> |
| <td>Medium</td></tr> |
| <tr class="a"> |
| <td>Method org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper.getDMLPrivilegeType(SQLStatement) uses instanceof on multiple types to arbitrate logic</td> |
| <td>STYLE</td> |
| <td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#ITC_INHERITANCE_TYPE_CHECKING">ITC_INHERITANCE_TYPE_CHECKING</a></td> |
| <td><a href="./xref/org/apache/shardingsphere/authority/checker/PrivilegeTypeMapper.html#L67">67</a></td> |
| <td>Medium</td></tr> |
| <tr class="b"> |
| <td>Method org.apache.shardingsphere.authority.checker.PrivilegeTypeMapper.getPrivilegeType(SQLStatement) uses instanceof on multiple types to arbitrate logic</td> |
| <td>STYLE</td> |
| <td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#ITC_INHERITANCE_TYPE_CHECKING">ITC_INHERITANCE_TYPE_CHECKING</a></td> |
| <td><a href="./xref/org/apache/shardingsphere/authority/checker/PrivilegeTypeMapper.html#L53">53</a></td> |
| <td>Medium</td></tr></table></section><a name="org.apache.shardingsphere.authority.exception.UnauthorizedOperationException"></a><section> |
| <h3><a name="org.apache.shardingsphere.authority.exception.UnauthorizedOperationException"></a>org.apache.shardingsphere.authority.exception.UnauthorizedOperationException</h3> |
| <table border="0" class="bodyTable"> |
| <tr class="a"> |
| <th>Bug</th> |
| <th>Category</th> |
| <th>Details</th> |
| <th>Line</th> |
| <th>Priority</th></tr> |
| <tr class="b"> |
| <td>Class org.apache.shardingsphere.authority.exception.UnauthorizedOperationException defines a computed serialVersionUID that doesn't equate to the calculated value</td> |
| <td>CORRECTNESS</td> |
| <td><a class="externalLink" href="https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID">IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID</a></td> |
| <td>Not available</td> |
| <td>Medium</td></tr></table></section> |
| </div> |
| </div> |
| <div class="clear"> |
| <hr/> |
| </div> |
| <div id="footer"> |
| <div class="xright"> |
| Copyright © 2023<a href="https://www.apache.org/">The Apache Software Foundation</a>. |
| . </div> |
| <div class="clear"> |
| <hr/> |
| </div> |
| </div> |
| </body> |
| </html> |