blob: 17b6f2719bebd8373a93a748fcc97f1f587e468e [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-08-29
| 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="20160829" />
<meta http-equiv="Content-Language" content="en" />
<title>Apache Shiro :: Core &#x2013; 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">
Apache Shiro</a>
<span class="divider">/</span>
</li>
<li class="">
<a href="./" title="Apache Shiro :: Core">
Apache Shiro :: Core</a>
<span class="divider">/</span>
</li>
<li class="active ">PMD Results</li>
<li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2016-08-29</li>
<li id="projectVersion" class="pull-right">
Version: 1.3.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 class="active">
<a href="#"><span class="none"></span>PMD Report</a>
</li>
<li>
<a href="cpd.html" title="CPD Report">
<span class="none"></span>
CPD Report</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> 4.2.5.</p></div>
<div class="section">
<h2><a name="Files"></a>Files</h2>
<div class="section">
<h3><a name="orgapacheshiroauthccredentialMd2CredentialsMatcher.java"></a>org/apache/shiro/authc/credential/Md2CredentialsMatcher.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.crypto.hash.AbstractHash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Md2CredentialsMatcher.html#21">21</a></td></tr>
<tr class="a">
<td>Avoid unused imports such as 'org.apache.shiro.crypto.hash.Hash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Md2CredentialsMatcher.html#22">22</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthccredentialMd5CredentialsMatcher.java"></a>org/apache/shiro/authc/credential/Md5CredentialsMatcher.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.crypto.hash.AbstractHash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Md5CredentialsMatcher.html#21">21</a></td></tr>
<tr class="b">
<td>Avoid unused imports such as 'org.apache.shiro.crypto.hash.Hash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Md5CredentialsMatcher.html#22">22</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthccredentialSha1CredentialsMatcher.java"></a>org/apache/shiro/authc/credential/Sha1CredentialsMatcher.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.crypto.hash.AbstractHash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha1CredentialsMatcher.html#21">21</a></td></tr>
<tr class="a">
<td>Avoid unused imports such as 'org.apache.shiro.crypto.hash.Hash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha1CredentialsMatcher.html#22">22</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthccredentialSha256CredentialsMatcher.java"></a>org/apache/shiro/authc/credential/Sha256CredentialsMatcher.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.crypto.hash.AbstractHash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha256CredentialsMatcher.html#21">21</a></td></tr>
<tr class="b">
<td>Avoid unused imports such as 'org.apache.shiro.crypto.hash.Hash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha256CredentialsMatcher.html#22">22</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthccredentialSha384CredentialsMatcher.java"></a>org/apache/shiro/authc/credential/Sha384CredentialsMatcher.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.crypto.hash.AbstractHash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha384CredentialsMatcher.html#21">21</a></td></tr>
<tr class="a">
<td>Avoid unused imports such as 'org.apache.shiro.crypto.hash.Hash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha384CredentialsMatcher.html#22">22</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthccredentialSha512CredentialsMatcher.java"></a>org/apache/shiro/authc/credential/Sha512CredentialsMatcher.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.crypto.hash.AbstractHash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha512CredentialsMatcher.html#21">21</a></td></tr>
<tr class="b">
<td>Avoid unused imports such as 'org.apache.shiro.crypto.hash.Hash'</td>
<td><a href="./xref/org/apache/shiro/authc/credential/Sha512CredentialsMatcher.html#22">22</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthzannotationpackage-info.java"></a>org/apache/shiro/authz/annotation/package-info.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 'java.lang.annotation.ElementType'</td>
<td><a href="./xref/org/apache/shiro/authz/annotation/package-info.html#26">26</a></td></tr>
<tr class="a">
<td>Avoid unused imports such as 'java.lang.annotation.Target'</td>
<td><a href="./xref/org/apache/shiro/authz/annotation/package-info.html#27">27</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthzaopPermissionAnnotationHandler.java"></a>org/apache/shiro/authz/aop/PermissionAnnotationHandler.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.authz.annotation.RequiresRoles'</td>
<td><a href="./xref/org/apache/shiro/authz/aop/PermissionAnnotationHandler.html#24">24</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroauthzpermissionWildcardPermission.java"></a>org/apache/shiro/authz/permission/WildcardPermission.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 'java.util.LinkedHashSet'</td>
<td><a href="./xref/org/apache/shiro/authz/permission/WildcardPermission.html#28">28</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirocodecBase64.java"></a>org/apache/shiro/codec/Base64.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/codec/Base64.html#335">335</a> - <a href="./xref/org/apache/shiro/codec/Base64.html#340">340</a></td></tr>
<tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/codec/Base64.html#375">375</a> - <a href="./xref/org/apache/shiro/codec/Base64.html#378">378</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirocodecCodecSupport.java"></a>org/apache/shiro/codec/CodecSupport.java</h3>
<table border="0" class="table table-striped">
<tr class="a">
<th>Violation</th>
<th>Line</th></tr>
<tr class="b">
<td>Avoid empty catch blocks</td>
<td><a href="./xref/org/apache/shiro/codec/CodecSupport.html#283">283</a> - <a href="./xref/org/apache/shiro/codec/CodecSupport.html#284">284</a></td></tr>
<tr class="a">
<td>Avoid empty catch blocks</td>
<td><a href="./xref/org/apache/shiro/codec/CodecSupport.html#287">287</a> - <a href="./xref/org/apache/shiro/codec/CodecSupport.html#288">288</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroconfigIni.java"></a>org/apache/shiro/config/Ini.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/config/Ini.html#538">538</a> - <a href="./xref/org/apache/shiro/config/Ini.html#540">540</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroconfigReflectionBuilder.java"></a>org/apache/shiro/config/ReflectionBuilder.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 private fields such as 'STRING_VALUE_DELIMETER'.</td>
<td><a href="./xref/org/apache/shiro/config/ReflectionBuilder.html#80">80</a></td></tr>
<tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/config/ReflectionBuilder.html#165">165</a> - <a href="./xref/org/apache/shiro/config/ReflectionBuilder.html#169">169</a></td></tr>
<tr class="a">
<td>Avoid unused method parameters such as 'name'.</td>
<td><a href="./xref/org/apache/shiro/config/ReflectionBuilder.html#174">174</a> - <a href="./xref/org/apache/shiro/config/ReflectionBuilder.html#177">177</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirocryptohashAbstractHash.java"></a>org/apache/shiro/crypto/hash/AbstractHash.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 private methods such as 'isReserved(String)'.</td>
<td><a href="./xref/org/apache/shiro/crypto/hash/AbstractHash.html#306">306</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirocryptohashformatDefaultHashFormatFactory.java"></a>org/apache/shiro/crypto/hash/format/DefaultHashFormatFactory.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/crypto/hash/format/DefaultHashFormatFactory.html#211">211</a> - <a href="./xref/org/apache/shiro/crypto/hash/format/DefaultHashFormatFactory.html#219">219</a></td></tr>
<tr class="b">
<td>Avoid empty catch blocks</td>
<td><a href="./xref/org/apache/shiro/crypto/hash/format/DefaultHashFormatFactory.html#336">336</a> - <a href="./xref/org/apache/shiro/crypto/hash/format/DefaultHashFormatFactory.html#337">337</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroioResourceUtils.java"></a>org/apache/shiro/io/ResourceUtils.java</h3>
<table border="0" class="table table-striped">
<tr class="a">
<th>Violation</th>
<th>Line</th></tr>
<tr class="b">
<td>Avoid empty catch blocks</td>
<td><a href="./xref/org/apache/shiro/io/ResourceUtils.html#101">101</a> - <a href="./xref/org/apache/shiro/io/ResourceUtils.html#102">102</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiromgtAbstractRememberMeManager.java"></a>org/apache/shiro/mgt/AbstractRememberMeManager.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.codec.Base64'</td>
<td><a href="./xref/org/apache/shiro/mgt/AbstractRememberMeManager.html#25">25</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirorealmSimpleAccountRealm.java"></a>org/apache/shiro/realm/SimpleAccountRealm.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 'java.util.concurrent.locks.Lock'</td>
<td><a href="./xref/org/apache/shiro/realm/SimpleAccountRealm.html#31">31</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirorealmldapDefaultLdapContextFactory.java"></a>org/apache/shiro/realm/ldap/DefaultLdapContextFactory.java</h3>
<table border="0" class="table table-striped">
<tr class="a">
<th>Violation</th>
<th>Line</th></tr>
<tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/realm/ldap/DefaultLdapContextFactory.html#298">298</a> - <a href="./xref/org/apache/shiro/realm/ldap/DefaultLdapContextFactory.html#313">313</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirorealmldapJndiLdapContextFactory.java"></a>org/apache/shiro/realm/ldap/JndiLdapContextFactory.java</h3>
<table border="0" class="table table-striped">
<tr class="a">
<th>Violation</th>
<th>Line</th></tr>
<tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/realm/ldap/JndiLdapContextFactory.html#530">530</a> - <a href="./xref/org/apache/shiro/realm/ldap/JndiLdapContextFactory.html#545">545</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirorealmtextPropertiesRealm.java"></a>org/apache/shiro/realm/text/PropertiesRealm.java</h3>
<table border="0" class="table table-striped">
<tr class="a">
<th>Violation</th>
<th>Line</th></tr>
<tr class="b">
<td>Avoid empty catch blocks</td>
<td><a href="./xref/org/apache/shiro/realm/text/PropertiesRealm.html#293">293</a> - <a href="./xref/org/apache/shiro/realm/text/PropertiesRealm.html#295">295</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshirosessionmgteisMemorySessionDAO.java"></a>org/apache/shiro/session/mgt/eis/MemorySessionDAO.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/session/mgt/eis/MemorySessionDAO.html#58">58</a></td></tr></table></div>
<div class="section">
<h3><a name="orgapacheshiroutilAntPathMatcher.java"></a>org/apache/shiro/util/AntPathMatcher.java</h3>
<table border="0" class="table table-striped">
<tr class="a">
<th>Violation</th>
<th>Line</th></tr>
<tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/util/AntPathMatcher.html#270">270</a> - <a href="./xref/org/apache/shiro/util/AntPathMatcher.html#272">272</a></td></tr>
<tr class="a">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/util/AntPathMatcher.html#286">286</a> - <a href="./xref/org/apache/shiro/util/AntPathMatcher.html#288">288</a></td></tr>
<tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/util/AntPathMatcher.html#307">307</a> - <a href="./xref/org/apache/shiro/util/AntPathMatcher.html#309">309</a></td></tr>
<tr class="a">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/shiro/util/AntPathMatcher.html#350">350</a> - <a href="./xref/org/apache/shiro/util/AntPathMatcher.html#352">352</a></td></tr></table></div></div>
</div>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p >Copyright &copy; 2004&#x2013;2016
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All rights reserved.
</p>
</div>
</div>
</footer>
</body>
</html>