Author: apaliwal Date: Tue Mar 17 10:06:28 2009 New Revision: 755177 URL: http://svn.apache.org/viewvc?rev=755177&view=rev Log: Added folder to store Code Metrics Submitted by: Ashish Paliwal (apaliwal.at.apache.org)
Added: mina/sandbox/apaliwal/metrics/ mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html (with props) Added: mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html URL: http://svn.apache.org/viewvc/mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html?rev=755177&view=auto ============================================================================== --- mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html (added) +++ mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html Tue Mar 17 10:06:28 2009 @@ -0,0 +1,1339 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>PMD 4.2.5 Report</title> +<script type="text/javascript" src="sorttable.js"></script> +<style type="text/css"> + body { margin-left: 2%; margin-right: 2%; font:normal verdana,arial,helvetica; color:#000000; } + table.sortable tr th { font-weight: bold; text-align:left; background:#a6caf0; } + table.sortable tr td { background:#eeeee0; } + table.classcount tr th { font-weight: bold; text-align:left; background:#a6caf0; } + table.classcount tr td { background:#eeeee0; } + table.summary tr th { font-weight: bold; text-align:left; background:#a6caf0; } + table.summary tr td { background:#eeeee0; text-align:center;} + .p1 { background:#FF9999; } + .p2 { background:#FFCC66; } + .p3 { background:#FFFF99; } + .p4 { background:#99FF99; } + .p5 { background:#9999FF; } + div.top{text-align:right;margin:1em 0;padding:0} + div.top div{display:inline;white-space:nowrap} + div.top div.left{float:left} + #content>div.top{display:table;width:100%} + #content>div.top div{display:table-cell} + #content>div.top div.left{float:none;text-align:left} + #content>div.top div.right{text-align:right} + </style> +</head> +<body> +<H1> +<div class="top"> +<div class="left">PMD 4.2.5 Report</div> +<div class="right">2009-03-06 - 12:34:29</div> +</div> +</H1> +<hr> +<h2>Summary</h2> +<table border="0" class="summary"> +<tr> +<th>Files</th><th>Total</th><th>Priority 1</th><th>Priority 2</th><th>Priority 3</th><th>Priority 4</th><th>Priority 5</th> +</tr> +<tr> +<td>46</td><td>104</td><td> +<div class="p1">0</div> +</td><td> +<div class="p2">1</div> +</td><td> +<div class="p3">87</div> +</td><td> +<div class="p4">16</div> +</td><td> +<div class="p5">0</div> +</td> +</tr> +</table> +<hr> +<h3>src\test\java\org\apache\mina\filter\firewall\SubnetIPv4Test</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_1"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">37</td><td style="padding: 3px" align="left">test24</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">38</td><td style="padding: 3px" align="left">test24</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">39</td><td style="padding: 3px" align="left">test24</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">40</td><td style="padding: 3px" align="left">test24</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">51</td><td style="padding: 3px" align="left">test16</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">52</td><td style="padding: 3px" align="left">test16</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">53</td><td style="padding: 3px" align="left">test16</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">54</td><td style="padding: 3px" align="left">test16</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">65</td><td style="padding: 3px" align="left">testSingleIp</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">66</td><td style="padding: 3px" align="left">testSingleIp</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">67</td><td style="padding: 3px" align="left">testSingleIp</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">68</td><td style="padding: 3px" align="left">testSingleIp</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">79</td><td style="padding: 3px" align="left">testToString</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">94</td><td style="padding: 3px" align="left">testEquals</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">95</td><td style="padding: 3px" align="left">testEquals</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">96</td><td style="padding: 3px" align="left">testEquals</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">97</td><td style="padding: 3px" align="left">testEquals</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 17</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\core\IoBufferTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_2"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">20</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#TooManyStaticImports"> +Too many static imports may lead to messy code +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">88</td><td style="padding: 3px" align="left">testAutoExpand</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">102</td><td style="padding: 3px" align="left">testAutoExpand</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">308</td><td style="padding: 3px" align="left">testGetString</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">460</td><td style="padding: 3px" align="left">testPutPrefixedString</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">709</td><td style="padding: 3px" align="left">testDuplicate</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">716</td><td style="padding: 3px" align="left">testDuplicate</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">763</td><td style="padding: 3px" align="left">testReadOnlyBuffer</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">1018</td><td style="padding: 3px" align="left">testBitVectorOverFlow</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">1025</td><td style="padding: 3px" align="left">testBitVectorOverFlow</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">1032</td><td style="padding: 3px" align="left">testBitVectorOverFlow</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">1039</td><td style="padding: 3px" align="left">testBitVectorOverFlow</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 12</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\errorgenerating\ErrorGeneratingFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_3"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">99</td><td style="padding: 3px" align="left">filterWrite</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyIfStmt"> +Avoid empty if statements +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">124</td><td style="padding: 3px" align="left">messageReceived</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyIfStmt"> +Avoid empty if statements +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">131</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/unusedcode.html#UnusedFormalParameter"> +Avoid unused method parameters such as 'session'. +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">158</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/unusedcode.html#UnusedFormalParameter"> +Avoid unused method parameters such as 'session'. +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 4</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\util\AvailablePortFinder</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_4"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">113</td><td style="padding: 3px" align="left">available</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">122</td><td style="padding: 3px" align="left">available</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">154</td><td style="padding: 3px" align="left">getAvailablePorts</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">159</td><td style="padding: 3px" align="left">getAvailablePorts</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 4</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\util\CircularQueueTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_5"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">95</td><td style="padding: 3px" align="left">testRandomAddOnQueue</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">128</td><td style="padding: 3px" align="left">testRandomAddOnRotatedQueue</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">153</td><td style="padding: 3px" align="left">testRandomRemoveOnQueue</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">176</td><td style="padding: 3px" align="left">testRandomRemoveOnRotatedQueue</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 4</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\core\service\SimpleIoProcessorPool</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_6"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">134</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">141</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">149</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 3</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\codec\demux\MessageDecoderResult</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_7"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">22</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.buffer.IoBuffer' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">23</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.session.IoSession' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">24</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.filter.codec.ProtocolDecoderOutput' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 3</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\stream\FileRegionWriteFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_8"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">26</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.filterchain.IoFilter' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">27</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.session.IoSession' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">28</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.write.WriteRequest' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 3</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\transport\AbstractBindTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_9"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">83</td><td style="padding: 3px" align="left">bind</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">109</td><td style="padding: 3px" align="left">tearDown</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">136</td><td style="padding: 3px" align="left">testDuplicateBind</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 3</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\core\session\DummySession</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_10"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">288</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#UselessOverridingMethod"> +Overriding method merely calls super +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">293</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#UselessOverridingMethod"> +Overriding method merely calls super +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\codec\CumulativeProtocolDecoder</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_11"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">141</td><td style="padding: 3px" align="left">decode</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">144</td><td style="padding: 3px" align="left">decode</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\codec\RecoverableProtocolDecoderException</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_12"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">22</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.buffer.IoBuffer' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">23</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.session.IoSession' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\keepalive\KeepAliveFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_13"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">381</td><td style="padding: 3px" align="left">sessionIdle</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">382</td><td style="padding: 3px" align="left">sessionIdle</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\ssl\KeyStoreFactory</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_14"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">73</td><td style="padding: 3px" align="left">newInstance</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">150</td><td style="padding: 3px" align="left">setData</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\stream\StreamWriteFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_15"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">26</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.filterchain.IoFilter' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">28</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.write.WriteRequest' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\transport\socket\nio\NioDatagramConnector</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_16"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">27</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'java.util.concurrent.Executor' +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">114</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#UselessOverridingMethod"> +Overriding method merely calls super +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\util\Base64</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_17"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">305</td><td style="padding: 3px" align="left">encodeBase64</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">351</td><td style="padding: 3px" align="left">encodeBase64</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\core\FutureTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_18"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">20</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#TooManyStaticImports"> +Too many static imports may lead to messy code +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">101</td><td style="padding: 3px" align="left">testConnectFuture</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\codec\textline\TextLineDecoderTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_19"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">284</td><td style="padding: 3px" align="left">testOverflow</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">308</td><td style="padding: 3px" align="left">testOverflow</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\firewall\SubnetIPv6Test</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_20"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">38</td><td style="padding: 3px" align="left">testIPv6</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">44</td><td style="padding: 3px" align="left">testIPv6</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\reqres\RequestResponseFilterTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_21"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">125</td><td style="padding: 3px" align="left">assertNoSuchElementException</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">196</td><td style="padding: 3px" align="left">assertRequestTimeoutException</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\stream\AbstractStreamWriteFilterTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_22"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">303</td><td style="padding: 3px" align="left">testSetWriteBufferSize</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">310</td><td style="padding: 3px" align="left">testSetWriteBufferSize</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\transport\AbstractConnectorTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_23"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">118</td><td style="padding: 3px" align="left">testConnectFutureFailureTiming</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">154</td><td style="padding: 3px" align="left">testSessionCallbackInvocation</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 2</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\core\buffer\IoBuffer</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_24"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">33</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'java.nio.ReadOnlyBufferException' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\core\future\DefaultIoFuture</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_25"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">254</td><td style="padding: 3px" align="left">checkDeadLock</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\core\service\IoService</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_26"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">22</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'java.util.Collection' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\core\session\AbstractIoSession</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_27"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">688</td><td style="padding: 3px" align="left">updateThroughput</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\codec\ProtocolCodecFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_28"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">541</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/unusedcode.html#UnusedFormalParameter"> +Avoid unused method parameters such as 'nextFilter'. +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\codec\demux\DemuxingProtocolEncoder</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_29"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">228</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/unusedcode.html#UnusedPrivateField"> +Avoid unused private fields such as 'findEncoderCache'. +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\firewall\Subnet</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_30"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">111</td><td style="padding: 3px" align="left">equals</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#OverrideBothEqualsAndHashcode"> +Ensure you override both equals() and hashCode() +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\logging\LoggingFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_31"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">22</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.filterchain.IoFilter' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\ssl\SslFilter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_32"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">454</td><td style="padding: 3px" align="left">messageSent</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyIfStmt"> +Avoid empty if statements +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\filter\ssl\SslHandler</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_33"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">185</td><td style="padding: 3px" align="left">destroy</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\handler\stream\IoSessionInputStream</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_34"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">27</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.session.IoSession' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\proxy\handlers\http\digest\DigestUtilities</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_35"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p2">2</div> +</td><td style="padding: 3px" align="right">73</td><td style="padding: 3px" align="left">computeResponseValue</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidMultipleUnaryOperators"> +Using multiple unary operators may be a bug, and/or is confusing. +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\proxy\handlers\http\ntlm\NTLMUtilities</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_36"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">97</td><td style="padding: 3px" align="left">getOsVersion</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyWhileStmt"> +Avoid empty while statements +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\proxy\handlers\socks\SocksProxyRequest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_37"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">165</td><td style="padding: 3px" align="left">getHost</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\proxy\utils\IoBufferDecoder</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_38"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p4">4</div> +</td><td style="padding: 3px" align="right">23</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#UnusedImports"> +Avoid unused imports such as 'org.apache.mina.core.session.IoSession' +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\transport\socket\nio\NioSocketConnector</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_39"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">170</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#UselessOverridingMethod"> +Overriding method merely calls super +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\transport\vmpipe\VmPipeAcceptor</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_40"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">92</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#UselessOverridingMethod"> +Overriding method merely calls super +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\util\Log4jXmlFormatter</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_41"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">144</td><td style="padding: 3px" align="left">format</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements"> +These nested if statements could be combined +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\main\java\org\apache\mina\util\byteaccess\AbstractByteArray</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_42"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">47</td><td style="padding: 3px" align="left">equals</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#OverrideBothEqualsAndHashcode"> +Ensure you override both equals() and hashCode() +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\buffer\BufferedWriteFilterTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_43"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">29</td><td style="padding: 3px" align="left"></td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/imports.html#ImportFromSamePackage"> +No need to import a type that lives in the same package +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\codec\CumulativeProtocolDecoderTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_44"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">112</td><td style="padding: 3px" align="left">testWrongImplementationDetection</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock"> +Avoid empty catch blocks +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\filter\keepalive\KeepAliveFilterTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_45"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">120</td><td style="padding: 3px" align="left">keepAliveFilterForIdleStatus</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<h3>src\test\java\org\apache\mina\transport\socket\nio\DatagramConfigTest</h3> +<table border="0" width="100%" class="sortable" id="sortable_id_46"> +<tr> +<th>Prio</th><th>Begin Line</th><th>Method</th><th align="left">Description</th> +</tr> +<tr> +<td style="padding: 3px" align="right"> +<div class="p3">3</div> +</td><td style="padding: 3px" align="right">78</td><td style="padding: 3px" align="left">testAcceptorFilterChain</td><td style="padding: 3px" align="left" width="100%"><a href="http://pmd.sourceforge.net/rules/basic.html#AvoidUsingHardCodedIP"> +Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! +</a></td> +</tr> +</table> +<table border="0" width="100%" class="classcount"> +<tr> +<th>Total number of violations for this class: 1</th> +</tr> +</table> +<br> +<p>Generated by <a href="http://pmd.sourceforge.net">PMD <b>4.2.5</b></a> on 2009-03-06 - 12:34:29.</p> +</body> +</html> Propchange: mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: mina/sandbox/apaliwal/metrics/pmd-report-per-class-2009-03-06.html ------------------------------------------------------------------------------ svn:mime-type = text/html