| <!DOCTYPE html> |
| <!-- |
| | Generated by Apache Maven Doxia Site Renderer 1.7.1 at 2019-05-01 |
| | Rendered using Apache Maven Fluido Skin 1.5 |
| --> |
| <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="Date-Revision-yyyymmdd" content="20190501" /> |
| <meta http-equiv="Content-Language" content="en" /> |
| <title>Apache Shiro :: Web – PMD Results</title> |
| <link rel="stylesheet" href="./css/apache-maven-fluido-1.5.min.css" /> |
| <link rel="stylesheet" href="./css/site.css" /> |
| <link rel="stylesheet" href="./css/print.css" media="print" /> |
| |
| |
| <script type="text/javascript" src="./js/apache-maven-fluido-1.5.min.js"></script> |
| |
| </head> |
| <body class="topBarDisabled"> |
| |
| |
| |
| <div class="container-fluid"> |
| <div id="banner"> |
| <div class="pull-left"> |
| <a href=".." id="bannerLeft"> |
| <img src="../images/apache-shiro-logo.png" alt="Shiro"/> |
| </a> |
| </div> |
| <div class="pull-right"> <div id="bannerRight"> |
| <img src="../images/asf_logo.png" /> |
| </div> |
| </div> |
| <div class="clear"><hr/></div> |
| </div> |
| |
| <div id="breadcrumbs"> |
| <ul class="breadcrumb"> |
| |
| <li class=""> |
| <a href="../index.html" title="Apache Shiro :: Web"> |
| Apache Shiro :: Web</a> |
| <span class="divider">/</span> |
| </li> |
| <li class=""> |
| <a href="index.html" title="Apache Shiro :: Web"> |
| Apache Shiro :: Web</a> |
| <span class="divider">/</span> |
| </li> |
| <li class="active ">PMD Results</li> |
| |
| |
| <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2019-05-01</li> |
| <li id="projectVersion" class="pull-right"> |
| Version: 1.4.1 |
| </li> |
| |
| </ul> |
| </div> |
| |
| |
| <div class="row-fluid"> |
| <div id="leftColumn" class="span2"> |
| <div class="well sidebar-nav"> |
| |
| <ul class="nav nav-list"> |
| <li class="nav-header">Parent Project</li> |
| |
| <li> |
| |
| <a href="../index.html" title="Apache Shiro"> |
| <span class="none"></span> |
| Apache Shiro</a> |
| </li> |
| <li class="nav-header">Project Documentation</li> |
| |
| <li> |
| |
| <a href="project-info.html" title="Project Information"> |
| <span class="icon-chevron-right"></span> |
| Project Information</a> |
| </li> |
| |
| <li> |
| |
| <a href="project-reports.html" title="Project Reports"> |
| <span class="icon-chevron-down"></span> |
| Project Reports</a> |
| <ul class="nav nav-list"> |
| |
| <li> |
| |
| <a href="xref/index.html" title="Source Xref"> |
| <span class="none"></span> |
| Source Xref</a> |
| </li> |
| |
| <li> |
| |
| <a href="xref-test/index.html" title="Test Source Xref"> |
| <span class="none"></span> |
| Test Source Xref</a> |
| </li> |
| |
| <li class="active"> |
| |
| <a href="#"><span class="none"></span>PMD</a> |
| </li> |
| |
| <li> |
| |
| <a href="surefire-report.html" title="Surefire Report"> |
| <span class="none"></span> |
| Surefire Report</a> |
| </li> |
| |
| <li> |
| |
| <a href="taglist.html" title="Tag List"> |
| <span class="none"></span> |
| Tag List</a> |
| </li> |
| |
| <li> |
| |
| <a href="jdepend-report.html" title="JDepend"> |
| <span class="none"></span> |
| JDepend</a> |
| </li> |
| |
| <li> |
| |
| <a href="dashboard-report.html" title="DashBoard Report"> |
| <span class="none"></span> |
| DashBoard Report</a> |
| </li> |
| |
| <li> |
| |
| <a href="jacoco/index.html" title="JaCoCo"> |
| <span class="none"></span> |
| JaCoCo</a> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| |
| |
| <hr /> |
| |
| <div id="poweredBy"> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> |
| <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> |
| </a> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div id="bodyColumn" class="span10" > |
| |
| <div class="section"> |
| <h2><a name="PMD_Results"></a>PMD Results</h2> |
| <p>The following document contains the results of <a class="externalLink" href="http://pmd.sourceforge.net/">PMD</a> 5.5.1.</p></div> |
| <div class="section"> |
| <h2><a name="Files"></a>Files</h2> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebenvEnvironmentLoader.java"></a>org/apache/shiro/web/env/EnvironmentLoader.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/env/EnvironmentLoader.html#L307">307</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebfilterPathMatchingFilter.java"></a>org/apache/shiro/web/filter/PathMatchingFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Avoid unused imports such as 'org.apache.shiro.util.StringUtils'</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/PathMatchingFilter.html#L23">23</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebfilterauthcAuthenticatingFilter.java"></a>org/apache/shiro/web/filter/authc/AuthenticatingFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authc/AuthenticatingFilter.html#L124">124</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authc/AuthenticatingFilter.html#L146">146</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebfilterauthcFormAuthenticationFilter.java"></a>org/apache/shiro/web/filter/authc/FormAuthenticationFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authc/FormAuthenticationFilter.html#L183">183</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebfilterauthcLogoutFilter.java"></a>org/apache/shiro/web/filter/authc/LogoutFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Avoid unused imports such as 'org.apache.shiro.util.StringUtils'</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authc/LogoutFilter.html#L24">24</a></td></tr> |
| <tr class="b"> |
| <td>Avoid unused imports such as 'org.apache.shiro.web.filter.mgt.DefaultFilter.logout'</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authc/LogoutFilter.html#L36">36</a></td></tr> |
| <tr class="a"> |
| <td>These nested if statements could be combined</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authc/LogoutFilter.html#L87">87</a>–<a href="./xref/org/apache/shiro/web/filter/authc/LogoutFilter.html#L89">89</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebfilterauthzHostFilter.java"></a>org/apache/shiro/web/filter/authz/HostFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Avoid empty if statements</td> |
| <td><a href="./xref/org/apache/shiro/web/filter/authz/HostFilter.html#L71">71</a>–<a href="./xref/org/apache/shiro/web/filter/authz/HostFilter.html#L73">73</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebmgtDefaultWebSecurityManager.java"></a>org/apache/shiro/web/mgt/DefaultWebSecurityManager.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>These nested if statements could be combined</td> |
| <td><a href="./xref/org/apache/shiro/web/mgt/DefaultWebSecurityManager.html#L170">170</a>–<a href="./xref/org/apache/shiro/web/mgt/DefaultWebSecurityManager.html#L176">176</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebmgtDefaultWebSessionStorageEvaluator.java"></a>org/apache/shiro/web/mgt/DefaultWebSessionStorageEvaluator.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/mgt/DefaultWebSessionStorageEvaluator.html#L92">92</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebservletAbstractShiroFilter.java"></a>org/apache/shiro/web/servlet/AbstractShiroFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/AbstractShiroFilter.html#L273">273</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/AbstractShiroFilter.html#L274">274</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebservletCookie.java"></a>org/apache/shiro/web/servlet/Cookie.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Avoid modifiers which are implied by the context</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/Cookie.html#L37">37</a></td></tr> |
| <tr class="a"> |
| <td>Avoid modifiers which are implied by the context</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/Cookie.html#L43">43</a></td></tr> |
| <tr class="b"> |
| <td>Avoid modifiers which are implied by the context</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/Cookie.html#L48">48</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebservletIniShiroFilter.java"></a>org/apache/shiro/web/servlet/IniShiroFilter.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/IniShiroFilter.html#L283">283</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/IniShiroFilter.html#L283">283</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebservletShiroHttpServletRequest.java"></a>org/apache/shiro/web/servlet/ShiroHttpServletRequest.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletRequest.html#L103">103</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletRequest.html#L198">198</a></td></tr> |
| <tr class="a"> |
| <td>Unnecessary use of fully qualified name 'java.security.Principal' due to existing import 'java.security.Principal'</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletRequest.html#L224">224</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebservletShiroHttpServletResponse.java"></a>org/apache/shiro/web/servlet/ShiroHttpServletResponse.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="b"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L141">141</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L144">144</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L148">148</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L154">154</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L156">156</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L167">167</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L172">172</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L174">174</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L190">190</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L195">195</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L196">196</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L199">199</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L203">203</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L221">221</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L235">235</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L236">236</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L302">302</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L302">302</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L303">303</a></td></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpServletResponse.html#L327">327</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebservletShiroHttpSession.java"></a>org/apache/shiro/web/servlet/ShiroHttpSession.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/servlet/ShiroHttpSession.html#L118">118</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebsubjectWebSubject.java"></a>org/apache/shiro/web/subject/WebSubject.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Avoid modifiers which are implied by the context</td> |
| <td><a href="./xref/org/apache/shiro/web/subject/WebSubject.html#L58">58</a>–<a href="./xref/org/apache/shiro/web/subject/WebSubject.html#L157">157</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebtagsSecureTag.java"></a>org/apache/shiro/web/tags/SecureTag.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Avoid unused private fields such as 'log'.</td> |
| <td><a href="./xref/org/apache/shiro/web/tags/SecureTag.html#L37">37</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebutilRedirectView.java"></a>org/apache/shiro/web/util/RedirectView.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/util/RedirectView.html#L232">232</a></td></tr></table></div> |
| <div class="section"> |
| <h3><a name="orgapacheshirowebutilWebUtils.java"></a>org/apache/shiro/web/util/WebUtils.java</h3> |
| <table border="0" class="table table-striped"> |
| <tr class="a"> |
| <th>Violation</th> |
| <th>Line</th></tr> |
| <tr class="b"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/util/WebUtils.html#L212">212</a></td></tr> |
| <tr class="a"> |
| <td>Useless parentheses.</td> |
| <td><a href="./xref/org/apache/shiro/web/util/WebUtils.html#L219">219</a></td></tr></table></div></div> |
| </div> |
| </div> |
| </div> |
| |
| <hr/> |
| |
| <footer> |
| <div class="container-fluid"> |
| <div class="row-fluid"> |
| <p >Copyright © 2004–2019 |
| <a href="https://www.apache.org/">The Apache Software Foundation</a>. |
| All rights reserved. |
| </p> |
| </div> |
| |
| |
| </div> |
| </footer> |
| </body> |
| </html> |