blob: baf447373a3b4614da35e38a5d66df4e70d08463 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-07-05 -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Apache Shiro :: Core &#x2013; PMD Results</title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/site.css");
</style>
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
<meta name="Date-Revision-yyyymmdd" content="20160705" />
<meta http-equiv="Content-Language" content="en" />
</head>
<body class="composite">
<div id="banner">
<div id="bannerLeft">
Apache Shiro :: Core
</div>
<div class="clear">
<hr/>
</div>
</div>
<div id="breadcrumbs">
<div class="xleft">
<span id="publishDate">Last Published: 2016-07-05</span>
&nbsp;| <span id="projectVersion">Version: 1.2.6</span>
</div>
<div class="xright"> <a href="./" title="Apache Shiro :: Core">Apache Shiro :: 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="Apache Shiro">Apache Shiro</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="cobertura/index.html" title="Cobertura Test Coverage">Cobertura Test Coverage</a>
</li>
<li class="none">
<strong>PMD Report</strong>
</li>
<li class="none">
<a href="cpd.html" title="CPD Report">CPD Report</a>
</li>
<li class="none">
<a href="surefire-report.html" title="Surefire Report">Surefire Report</a>
</li>
<li class="none">
<a href="taglist.html" title="Tag List">Tag List</a>
</li>
<li class="none">
<a href="jdepend-report.html" title="JDepend">JDepend</a>
</li>
<li class="none">
<a href="dashboard-report.html" title="DashBoard Report">DashBoard Report</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">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="orgapacheshirocodecBase64.java"></a>org/apache/shiro/codec/Base64.java</h3>
<table border="0" class="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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#529">529</a> - <a href="./xref/org/apache/shiro/config/Ini.html#531">531</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="bodyTable">
<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#56">56</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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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="bodyTable">
<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 class="clear">
<hr/>
</div>
<div id="footer">
<div class="xright">
Copyright &#169; 2004&#x2013;2016
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All rights reserved.
</div>
<div class="clear">
<hr/>
</div>
</div>
</body>
</html>