You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/12/16 11:08:58 UTC
svn commit: r1774569 [8/9] - /myfaces/site/publish/tobago/
Modified: myfaces/site/publish/tobago/pmd.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/pmd.html?rev=1774569&r1=1774568&r2=1774569&view=diff
==============================================================================
--- myfaces/site/publish/tobago/pmd.html (original)
+++ myfaces/site/publish/tobago/pmd.html Fri Dec 16 11:08:57 2016
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 07 Dec 2016
+ Last Published: 16 Dec 2016
</div>
<ul>
<li>
@@ -98,7 +98,8 @@
</li>
<li class="none">
- <a href="new-3.0.html">New in Tobago 3.0 (alpha)</a>
+ <a href="http://www.irian.biz/tobago-example-demo/faces/content/10-intro/30-new+in+3+0/new+in+3+0.xhtml"
+ class="externalLink">New in Tobago 3.0<span/></a>
</li>
<li class="none">
@@ -114,7 +115,8 @@
</li>
<li class="none">
- <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
+ <a href="http://www.irian.biz/tobago-example-demo/content/10-intro/50-migration/97-migration/migration30.xhtml"
+ class="externalLink">Migration to 3.0<span/></a>
</li>
<li class="none">
@@ -311,14 +313,14 @@
href="./xref/org/apache/myfaces/tobago/component/Facets.html#L51">51</a></td>
</tr>
<tr class="a">
+ <td>Parameter 'event' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/component/Facets.html#L54">54</a></td>
+ </tr>
+ <tr class="b">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Facets.html#L54">54</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Facets.html#L55">55</a></td>
</tr>
- <tr class="b">
- <td>Parameter 'event' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/component/Facets.html#L54">54</a></td>
- </tr>
</table>
</div>
<div class="section">
@@ -409,37 +411,37 @@
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L259">259</a></td>
</tr>
<tr class="b">
- <td>The class 'Sorter' has a Standard Cyclomatic Complexity of 6 (Highest = 28).</td>
+ <td>The class 'Sorter' has a Modified Cyclomatic Complexity of 6 (Highest = 28).</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L49">49</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L258">258</a></td>
</tr>
<tr class="a">
- <td>The class 'Sorter' has a Modified Cyclomatic Complexity of 6 (Highest = 28).</td>
+ <td>The class 'Sorter' has a Cyclomatic Complexity of 8 (Highest = 30).</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L49">49</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L258">258</a></td>
</tr>
<tr class="b">
- <td>The class 'Sorter' has a Cyclomatic Complexity of 8 (Highest = 30).</td>
+ <td>The class 'Sorter' has a Standard Cyclomatic Complexity of 6 (Highest = 28).</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L49">49</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L258">258</a></td>
</tr>
<tr class="a">
- <td>The method 'perform' has a Standard Cyclomatic Complexity of 28.</td>
+ <td>The method perform() has an NPath complexity of 139872</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L64">64</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L201">201</a></td>
</tr>
<tr class="b">
- <td>Avoid really long methods.</td>
+ <td>The method 'perform' has a Modified Cyclomatic Complexity of 28.</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L64">64</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L201">201</a></td>
</tr>
<tr class="a">
- <td>The method perform() has an NPath complexity of 139872</td>
+ <td>Avoid really long methods.</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L64">64</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L201">201</a></td>
</tr>
<tr class="b">
- <td>The method 'perform' has a Modified Cyclomatic Complexity of 28.</td>
+ <td>The method 'perform' has a Standard Cyclomatic Complexity of 28.</td>
<td><a href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L64">64</a>–<a
href="./xref/org/apache/myfaces/tobago/component/Sorter.html#L201">201</a></td>
</tr>
@@ -480,90 +482,90 @@
<tr class="a">
<td>The class 'Markup' has a Modified Cyclomatic Complexity of 5 (Highest = 10).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L57">57</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L368">368</a></td>
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L369">369</a></td>
</tr>
<tr class="b">
- <td>The class 'Markup' has a Standard Cyclomatic Complexity of 5 (Highest = 10).</td>
+ <td>The class 'Markup' has a Cyclomatic Complexity of 5 (Highest = 11).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L57">57</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L368">368</a></td>
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L369">369</a></td>
</tr>
<tr class="a">
- <td>The class 'Markup' has a Cyclomatic Complexity of 5 (Highest = 11).</td>
+ <td>This class has too many methods, consider refactoring it.</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L57">57</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L368">368</a></td>
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L369">369</a></td>
</tr>
<tr class="b">
- <td>This class has too many methods, consider refactoring it.</td>
+ <td>The class 'Markup' has a Standard Cyclomatic Complexity of 5 (Highest = 10).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L57">57</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L368">368</a></td>
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L369">369</a></td>
</tr>
<tr class="a">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L114">114</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L115">115</a></td>
</tr>
<tr class="b">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L124">124</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L125">125</a></td>
</tr>
<tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L184">184</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L185">185</a></td>
</tr>
<tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L196">196</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L197">197</a></td>
</tr>
<tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L197">197</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L198">198</a></td>
</tr>
<tr class="b">
<td>Use equals() to compare object references.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L220">220</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L221">221</a></td>
</tr>
<tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L223">223</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L234">234</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L224">224</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L235">235</a></td>
</tr>
<tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L264">264</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L273">273</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L265">265</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L274">274</a></td>
</tr>
<tr class="a">
<td>The method 'contains' has a Modified Cyclomatic Complexity of 10.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L325">325</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L355">355</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L326">326</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L356">356</a></td>
</tr>
<tr class="b">
- <td>The method 'contains' has a Cyclomatic Complexity of 11.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L325">325</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L355">355</a></td>
+ <td>The method 'contains' has a Standard Cyclomatic Complexity of 10.</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L326">326</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L356">356</a></td>
</tr>
<tr class="a">
- <td>The method 'contains' has a Standard Cyclomatic Complexity of 10.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L325">325</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L355">355</a></td>
+ <td>The method 'contains' has a Cyclomatic Complexity of 11.</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L326">326</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L356">356</a></td>
</tr>
<tr class="b">
<td>Use equals() to compare object references.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L326">326</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L327">327</a></td>
</tr>
<tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L332">332</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L354">354</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L333">333</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L355">355</a></td>
</tr>
<tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L333">333</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L342">342</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L334">334</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L343">343</a></td>
</tr>
<tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L344">344</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/Markup.html#L353">353</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/Markup.html#L345">345</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/Markup.html#L354">354</a></td>
</tr>
</table>
</div>
@@ -597,7 +599,7 @@
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L303">303</a></td>
</tr>
<tr class="b">
- <td>The class 'ThemeImpl' has a Modified Cyclomatic Complexity of 2 (Highest = 12).</td>
+ <td>The class 'ThemeImpl' has a Cyclomatic Complexity of 2 (Highest = 12).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L33">33</a>–<a
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L303">303</a></td>
</tr>
@@ -607,7 +609,7 @@
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L303">303</a></td>
</tr>
<tr class="b">
- <td>The class 'ThemeImpl' has a Cyclomatic Complexity of 2 (Highest = 12).</td>
+ <td>The class 'ThemeImpl' has a Modified Cyclomatic Complexity of 2 (Highest = 12).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L33">33</a>–<a
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L303">303</a></td>
</tr>
@@ -633,7 +635,7 @@
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L148">148</a></td>
</tr>
<tr class="a">
- <td>The method 'toString' has a Cyclomatic Complexity of 12.</td>
+ <td>The method 'toString' has a Modified Cyclomatic Complexity of 12.</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L262">262</a>–<a
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L302">302</a></td>
</tr>
@@ -643,7 +645,7 @@
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L302">302</a></td>
</tr>
<tr class="a">
- <td>The method 'toString' has a Modified Cyclomatic Complexity of 12.</td>
+ <td>The method 'toString' has a Cyclomatic Complexity of 12.</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L262">262</a>–<a
href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L302">302</a></td>
</tr>
@@ -675,11 +677,11 @@
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L270">270</a></td>
</tr>
<tr class="b">
- <td>Avoid if (x != y) ..; else ..;</td>
+ <td>Local variable 's' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L275">275</a></td>
</tr>
<tr class="a">
- <td>Local variable 's' could be declared final</td>
+ <td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L275">275</a></td>
</tr>
<tr class="b">
@@ -687,11 +689,11 @@
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L276">276</a></td>
</tr>
<tr class="a">
- <td>Local variable 's' could be declared final</td>
+ <td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L280">280</a></td>
</tr>
<tr class="b">
- <td>Avoid if (x != y) ..; else ..;</td>
+ <td>Local variable 's' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L280">280</a></td>
</tr>
<tr class="a">
@@ -711,11 +713,11 @@
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L286">286</a></td>
</tr>
<tr class="a">
- <td>Avoid if (x != y) ..; else ..;</td>
+ <td>Local variable 's' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L290">290</a></td>
</tr>
<tr class="b">
- <td>Local variable 's' could be declared final</td>
+ <td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/ThemeImpl.html#L290">290</a></td>
</tr>
<tr class="a">
@@ -824,7 +826,7 @@
href="./xref/org/apache/myfaces/tobago/context/TobagoBundle.html#L135">135</a></td>
</tr>
<tr class="a">
- <td>Parameter 'format' is not assigned and could be declared final</td>
+ <td>Parameter 'locale' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/TobagoBundle.html#L101">101</a></td>
</tr>
<tr class="b">
@@ -832,11 +834,11 @@
<td><a href="./xref/org/apache/myfaces/tobago/context/TobagoBundle.html#L101">101</a></td>
</tr>
<tr class="a">
- <td>Parameter 'reload' is not assigned and could be declared final</td>
+ <td>Parameter 'format' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/TobagoBundle.html#L101">101</a></td>
</tr>
<tr class="b">
- <td>Parameter 'locale' is not assigned and could be declared final</td>
+ <td>Parameter 'reload' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/TobagoBundle.html#L101">101</a></td>
</tr>
<tr class="a">
@@ -886,16 +888,20 @@
<th>Line</th>
</tr>
<tr class="a">
- <td>Parameter 'theme' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L61">61</a></td>
+ <td>Local variable 'request' could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L67">67</a></td>
</tr>
<tr class="b">
- <td>Parameter 'userAgent' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L69">69</a></td>
+ <td>Parameter 'theme' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L83">83</a></td>
</tr>
<tr class="a">
+ <td>Parameter 'userAgent' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L103">103</a></td>
+ </tr>
+ <tr class="b">
<td>Parameter 'facesContext' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L73">73</a></td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/TobagoContext.html#L107">107</a></td>
</tr>
</table>
</div>
@@ -903,11 +909,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagocontextTobagoMessageBundle.java"></a>Tobago Core -
org/apache/myfaces/tobago/context/TobagoMessageBundle.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>All methods are static. Consider using a utility class instead. Alternatively, you could add a private
constructor or make the class abstract to silence this warning.
</td>
@@ -920,11 +926,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagocontextTobagoResourceBundle.java"></a>Tobago Core -
org/apache/myfaces/tobago/context/TobagoResourceBundle.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>All methods are static. Consider using a utility class instead. Alternatively, you could add a private
constructor or make the class abstract to silence this warning.
</td>
@@ -937,11 +943,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagocontextTransientStateHolder.java"></a>Tobago Core -
org/apache/myfaces/tobago/context/TransientStateHolder.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/TransientStateHolder.html#L33">33</a>–<a
href="./xref/org/apache/myfaces/tobago/context/TransientStateHolder.html#L34">34</a></td>
@@ -952,56 +958,51 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagocontextUserAgent.java"></a>Tobago Core -
org/apache/myfaces/tobago/context/UserAgent.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>The class 'UserAgent' has a Cyclomatic Complexity of 3 (Highest = 20).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L33">33</a>–<a
href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L390">390</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>The class 'UserAgent' has a Modified Cyclomatic Complexity of 3 (Highest = 19).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L33">33</a>–<a
href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L390">390</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>The class 'UserAgent' has a Standard Cyclomatic Complexity of 3 (Highest = 19).</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L33">33</a>–<a
href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L390">390</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>The String literal "msie" appears 12 times in this file; the first occurrence is on line
43
</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L43">43</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>The String literal "opera" appears 4 times in this file; the first occurrence is on line
107
</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L107">107</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>The String literal "mozilla" appears 4 times in this file; the first occurrence is on line
131
</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L131">131</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>The String literal "gecko" appears 5 times in this file; the first occurrence is on line
154
</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L154">154</a></td>
</tr>
- <tr class="b">
- <td>The method 'getInstance' has a Modified Cyclomatic Complexity of 19.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L279">279</a>–<a
- href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L334">334</a></td>
- </tr>
<tr class="a">
- <td>The method 'getInstance' has a Standard Cyclomatic Complexity of 19.</td>
+ <td>The method 'getInstance' has a Modified Cyclomatic Complexity of 19.</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L279">279</a>–<a
href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L334">334</a></td>
</tr>
@@ -1011,15 +1012,20 @@
href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L334">334</a></td>
</tr>
<tr class="a">
+ <td>The method 'getInstance' has a Standard Cyclomatic Complexity of 19.</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L279">279</a>–<a
+ href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L334">334</a></td>
+ </tr>
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L350">350</a>–<a
href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L352">352</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L364">364</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
<td><a href="./xref/org/apache/myfaces/tobago/context/UserAgent.html#L382">382</a></td>
</tr>
@@ -1029,19 +1035,19 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoconvertDurationConverter.java"></a>Tobago Core -
org/apache/myfaces/tobago/convert/DurationConverter.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Unnecessary wrapper object creation</td>
<td><a href="./xref/org/apache/myfaces/tobago/convert/DurationConverter.html#L65">65</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Avoid declaring a variable if it is unreferenced before a possible exit point.</td>
<td><a href="./xref/org/apache/myfaces/tobago/convert/DurationConverter.html#L89">89</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>The default label should be the last label in a switch statement</td>
<td><a href="./xref/org/apache/myfaces/tobago/convert/DurationConverter.html#L129">129</a>–<a
href="./xref/org/apache/myfaces/tobago/convert/DurationConverter.html#L145">145</a></td>
@@ -1052,23 +1058,27 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoelConstantMethodExpression.java"></a>Tobago Core -
org/apache/myfaces/tobago/el/ConstantMethodExpression.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L35">35</a>–<a
href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L36">36</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'outcome' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L38">38</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L43">43</a></td>
</tr>
+ <tr class="a">
+ <td>Parameter 'params' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L49">49</a></td>
+ </tr>
<tr class="b">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L49">49</a></td>
@@ -1078,44 +1088,40 @@
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L49">49</a></td>
</tr>
<tr class="b">
- <td>Parameter 'params' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L49">49</a></td>
- </tr>
- <tr class="a">
<td>Parameter 'o' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L55">55</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Local variable 'that' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L63">63</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L65">65</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L85">85</a></td>
</tr>
- <tr class="a">
- <td>Parameter 'state' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L90">90</a></td>
- </tr>
<tr class="b">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L90">90</a></td>
</tr>
+ <tr class="a">
+ <td>Parameter 'state' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/el/ConstantMethodExpression.html#L90">90</a></td>
+ </tr>
</table>
</div>
<div class="section">
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoelUserWrapper.java"></a>Tobago Core -
org/apache/myfaces/tobago/el/UserWrapper.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Private field 'roles' could be made final; it is only initialized in the declaration or constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/el/UserWrapper.html#L35">35</a></td>
@@ -1126,23 +1132,23 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventCollapsibleActionListener.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/CollapsibleActionListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/CollapsibleActionListener.html#L69">69</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/CollapsibleActionListener.html#L74">74</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'state' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/CollapsibleActionListener.html#L74">74</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'transientFlag' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/CollapsibleActionListener.html#L84">84</a></td>
</tr>
@@ -1152,11 +1158,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventFacesEventWrapper.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/FacesEventWrapper.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Private field 'wrappedFacesEvent' could be made final; it is only initialized in the declaration or
constructor.
</td>
@@ -1168,16 +1174,16 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventMethodExpressionStateChangeListener.java"></a>Tobago
Core - org/apache/myfaces/tobago/event/MethodExpressionStateChangeListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid using redundant field initializer for 'isTransient'</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionStateChangeListener.html#L33">33</a>
</td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionStateChangeListener.html#L35">35</a>–<a
href="./xref/org/apache/myfaces/tobago/event/MethodExpressionStateChangeListener.html#L36">36</a></td>
@@ -1188,16 +1194,16 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventMethodExpressionTabChangeListener.java"></a>Tobago Core
- org/apache/myfaces/tobago/event/MethodExpressionTabChangeListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Avoid using redundant field initializer for 'isTransient'</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTabChangeListener.html#L33">33</a>
</td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTabChangeListener.html#L35">35</a>–<a
href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTabChangeListener.html#L36">36</a></td>
@@ -1208,22 +1214,22 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventMethodExpressionTreeExpansionListener.java"></a>Tobago
Core - org/apache/myfaces/tobago/event/MethodExpressionTreeExpansionListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid using redundant field initializer for 'isTransient'</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeExpansionListener.html#L34">34</a>
</td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeExpansionListener.html#L36">36</a>–<a
href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeExpansionListener.html#L37">37</a>
</td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid unused private methods such as 'elContext()'.</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeExpansionListener.html#L48">48</a>
</td>
@@ -1234,22 +1240,22 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventMethodExpressionTreeSelectedListener.java"></a>Tobago
Core - org/apache/myfaces/tobago/event/MethodExpressionTreeSelectedListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid using redundant field initializer for 'isTransient'</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeSelectedListener.html#L33">33</a>
</td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeSelectedListener.html#L35">35</a>–<a
href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeSelectedListener.html#L36">36</a>
</td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid unused private methods such as 'elContext()'.</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/MethodExpressionTreeSelectedListener.html#L47">47</a>
</td>
@@ -1260,11 +1266,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventPageActionEvent.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/PageActionEvent.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Private field 'action' could be made final; it is only initialized in the declaration or
constructor.
</td>
@@ -1276,16 +1282,16 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventResetInputActionListener.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/ResetInputActionListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/ResetInputActionListener.html#L34">34</a>–<a
href="./xref/org/apache/myfaces/tobago/event/ResetInputActionListener.html#L35">35</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/ResetInputActionListener.html#L37">37</a></td>
</tr>
@@ -1295,11 +1301,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventSortActionEvent.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/SortActionEvent.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Private field 'column' could be made final; it is only initialized in the declaration or
constructor.
</td>
@@ -1311,17 +1317,17 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventTreeExpansionEvent.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/TreeExpansionEvent.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Private field 'oldExpanded' could be made final; it is only initialized in the declaration or
constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/TreeExpansionEvent.html#L30">30</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Private field 'newExpanded' could be made final; it is only initialized in the declaration or
constructor.
</td>
@@ -1333,17 +1339,17 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventTreeSelectedEvent.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/TreeSelectedEvent.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Private field 'oldSelected' could be made final; it is only initialized in the declaration or
constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/TreeSelectedEvent.html#L30">30</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Private field 'newSelected' could be made final; it is only initialized in the declaration or
constructor.
</td>
@@ -1355,11 +1361,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventValueExpressionResetInputActionListener.java"></a>Tobago
Core - org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty constructor</td>
<td><a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionResetInputActionListener.html#L44">44</a>–<a
@@ -1372,25 +1378,25 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventValueExpressionSheetStateChangeListener.java"></a>Tobago
Core - org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty constructor</td>
<td><a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.html#L37">37</a>–<a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.html#L38">38</a>
</td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.html#L48">48</a>–<a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.html#L52">52</a>
</td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>No need to check for null before an instanceof</td>
<td><a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionSheetStateChangeListener.html#L85">85</a>
@@ -1402,21 +1408,21 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagoeventValueExpressionTabChangeListener.java"></a>Tobago Core -
org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.html#L37">37</a>–<a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.html#L38">38</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.html#L48">48</a>–<a
href="./xref/org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.html#L52">52</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>No need to check for null before an instanceof</td>
<td><a href="./xref/org/apache/myfaces/tobago/event/ValueExpressionTabChangeListener.html#L85">85</a></td>
</tr>
@@ -1426,52 +1432,47 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsAttributeHandler.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/AttributeHandler.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Possible God class (WMC=75, ATFD=82, TCC=0.027777777777777776)</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L20">20</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L354">354</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>A high number of imports can indicate a high degree of coupling within an object.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L20">20</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L354">354</a></td>
</tr>
- <tr class="b">
- <td>The class 'AttributeHandler' has a Cyclomatic Complexity of 7 (Highest = 55).</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L56">56</a>–<a
- href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L354">354</a></td>
- </tr>
<tr class="a">
- <td>The class 'AttributeHandler' has a Standard Cyclomatic Complexity of 6 (Highest = 49).</td>
+ <td>The class 'AttributeHandler' has a Modified Cyclomatic Complexity of 6 (Highest = 49).</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L56">56</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L354">354</a></td>
</tr>
<tr class="b">
- <td>The class 'AttributeHandler' has a Modified Cyclomatic Complexity of 6 (Highest = 49).</td>
+ <td>The class 'AttributeHandler' has a Standard Cyclomatic Complexity of 6 (Highest = 49).</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L56">56</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L354">354</a></td>
</tr>
<tr class="a">
- <td>The method 'apply' has a Modified Cyclomatic Complexity of 49.</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L74">74</a>–<a
- href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L271">271</a></td>
+ <td>The class 'AttributeHandler' has a Cyclomatic Complexity of 7 (Highest = 55).</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L56">56</a>–<a
+ href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L354">354</a></td>
</tr>
<tr class="b">
- <td>The method apply() has an NCSS line count of 155</td>
+ <td>The method 'apply' has a Modified Cyclomatic Complexity of 49.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L74">74</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L271">271</a></td>
</tr>
<tr class="a">
- <td>The method 'apply' has a Cyclomatic Complexity of 55.</td>
+ <td>Avoid really long methods.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L74">74</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L271">271</a></td>
</tr>
<tr class="b">
- <td>Avoid really long methods.</td>
+ <td>The method 'apply' has a Cyclomatic Complexity of 55.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L74">74</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L271">271</a></td>
</tr>
@@ -1481,30 +1482,35 @@
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L271">271</a></td>
</tr>
<tr class="b">
+ <td>The method apply() has an NCSS line count of 155</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L74">74</a>–<a
+ href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L271">271</a></td>
+ </tr>
+ <tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L81">81</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L269">269</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L85">85</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L103">103</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L108">108</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L126">126</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L194">194</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L201">201</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L295">295</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L301">301</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/AttributeHandler.html#L307">307</a></td>
@@ -1515,19 +1521,19 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsConverterHandler.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/ConverterHandler.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid declaring a variable if it is unreferenced before a possible exit point.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/ConverterHandler.html#L54">54</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/ConverterHandler.html#L66">66</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/ConverterHandler.html#L68">68</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/ConverterHandler.html#L70">70</a></td>
@@ -1538,68 +1544,72 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsEventHandler.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/EventHandler.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'config' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L81">81</a></td>
</tr>
- <tr class="b">
- <td>Parameter 'ctx' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L86">86</a></td>
- </tr>
<tr class="a">
<td>Parameter 'parent' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L86">86</a></td>
</tr>
<tr class="b">
- <td>Parameter 'parent' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L136">136</a></td>
+ <td>Parameter 'ctx' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L86">86</a></td>
</tr>
<tr class="a">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L136">136</a></td>
</tr>
<tr class="b">
- <td>Avoid declaring a variable if it is unreferenced before a possible exit point.</td>
+ <td>Parameter 'parent' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L136">136</a></td>
+ </tr>
+ <tr class="a">
+ <td>Local variable 'faceletContext' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L138">138</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L139">139</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid unused local variables such as 'faceletContext'.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L138">138</a></td>
</tr>
- <tr class="b">
- <td>Local variable 'faceletContext' could be declared final</td>
+ <tr class="a">
+ <td>Avoid declaring a variable if it is unreferenced before a possible exit point.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L138">138</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L139">139</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'cvh' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L142">142</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Local variable 'clientBehaviors' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L154">154</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'clientBehaviorList' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L156">156</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Local variable 'cb' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L158">158</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'ajaxBehavior' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L169">169</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L174">174</a></td>
</tr>
+ <tr class="b">
+ <td>Parameter 'component' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L179">179</a></td>
+ </tr>
<tr class="a">
<td>Parameter 'parent' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L179">179</a></td>
@@ -1609,35 +1619,31 @@
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L179">179</a></td>
</tr>
<tr class="a">
- <td>Parameter 'component' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L179">179</a></td>
- </tr>
- <tr class="b">
<td>Document empty constructor</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L207">207</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L208">208</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'expr' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L210">210</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'event' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L214">214</a></td>
</tr>
- <tr class="a">
- <td>Parameter 'state' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L224">224</a></td>
- </tr>
<tr class="b">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L224">224</a></td>
</tr>
<tr class="a">
+ <td>Parameter 'state' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L224">224</a></td>
+ </tr>
+ <tr class="b">
<td>Parameter 'context' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L231">231</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'newTransientValue' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/EventHandler.html#L238">238</a></td>
</tr>
@@ -1647,11 +1653,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsFixCharacterEncodingFilter.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/FixCharacterEncodingFilter.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty method</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/FixCharacterEncodingFilter.html#L57">57</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/FixCharacterEncodingFilter.html#L58">58</a></td>
@@ -1659,40 +1665,26 @@
</table>
</div>
<div class="section">
- <h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsGridLayoutConstraintHandler.java"></a>Tobago Core -
- org/apache/myfaces/tobago/facelets/GridLayoutConstraintHandler.java</h3>
- <table border="0" class="bodyTable">
- <tr class="a">
- <th>Violation</th>
- <th>Line</th>
- </tr>
- <tr class="b">
- <td>Parameter 'parent' is not assigned and could be declared final</td>
- <td><a href="./xref/org/apache/myfaces/tobago/facelets/GridLayoutConstraintHandler.html#L48">48</a></td>
- </tr>
- </table>
- </div>
- <div class="section">
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsMetaInfResourcesClasspathResourceResolver.java"></a>Tobago
Core - org/apache/myfaces/tobago/facelets/MetaInfResourcesClasspathResourceResolver.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Avoid reassigning parameters such as 'path'</td>
<td><a
href="./xref/org/apache/myfaces/tobago/facelets/MetaInfResourcesClasspathResourceResolver.html#L55">55</a>
</td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid reassigning parameters such as 'path'</td>
<td><a
href="./xref/org/apache/myfaces/tobago/facelets/MetaInfResourcesClasspathResourceResolver.html#L55">55</a>
</td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>This call to String.startsWith can be rewritten using String.charAt(0)</td>
<td><a
href="./xref/org/apache/myfaces/tobago/facelets/MetaInfResourcesClasspathResourceResolver.html#L61">61</a>
@@ -1704,21 +1696,21 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsResource.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/Resource.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/Resource.html#L72">72</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/Resource.html#L74">74</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Document empty method</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/Resource.html#L114">114</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/Resource.html#L115">115</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/Resource.html#L136">136</a></td>
</tr>
@@ -1728,16 +1720,16 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsScriptHandler.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/ScriptHandler.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Document empty method</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/ScriptHandler.html#L34">34</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/ScriptHandler.html#L35">35</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Document empty method</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/ScriptHandler.html#L38">38</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/ScriptHandler.html#L39">39</a></td>
@@ -1748,35 +1740,35 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsSegmentLayoutRule.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/SegmentLayoutRule.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L39">39</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L53">53</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Local variable 'a' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L40">40</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L41">41</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L43">43</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L44">44</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L46">46</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L47">47</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L49">49</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L50">50</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SegmentLayoutRule.html#L52">52</a></td>
@@ -1787,11 +1779,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsSheetStateChangeSourceRule.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/SheetStateChangeSourceRule.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SheetStateChangeSourceRule.html#L41">41</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SheetStateChangeSourceRule.html#L43">43</a></td>
@@ -1802,11 +1794,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsSortActionSourceRule.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/SortActionSourceRule.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SortActionSourceRule.html#L42">42</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SortActionSourceRule.html#L44">44</a></td>
@@ -1814,30 +1806,44 @@
</table>
</div>
<div class="section">
+ <h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsSpanHandler.java"></a>Tobago Core -
+ org/apache/myfaces/tobago/facelets/SpanHandler.java</h3>
+ <table border="0" class="bodyTable">
+ <tr class="b">
+ <th>Violation</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>Parameter 'parent' is not assigned and could be declared final</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/facelets/SpanHandler.html#L47">47</a></td>
+ </tr>
+ </table>
+ </div>
+ <div class="section">
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsSuggestMethodRule.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/SuggestMethodRule.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L42">42</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L44">44</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L47">47</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L51">51</a></td>
</tr>
- <tr class="b">
- <td>Deeply nested if..then statements are hard to read</td>
+ <tr class="a">
+ <td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L48">48</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L50">50</a></td>
</tr>
- <tr class="a">
- <td>These nested if statements could be combined</td>
+ <tr class="b">
+ <td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L48">48</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/SuggestMethodRule.html#L50">50</a></td>
</tr>
@@ -1847,11 +1853,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsSupportsMarkupRule.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/SupportsMarkupRule.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'a' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/SupportsMarkupRule.html#L41">41</a></td>
</tr>
@@ -1861,20 +1867,20 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsTabChangeListenerHandler.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.html#L77">77</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Deeply nested if..then statements are hard to read</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.html#L79">79</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.html#L81">81</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.html#L83">83</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.html#L88">88</a></td>
@@ -1885,11 +1891,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsTabChangeSourceRule.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/TabChangeSourceRule.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>These nested if statements could be combined</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TabChangeSourceRule.html#L38">38</a>–<a
href="./xref/org/apache/myfaces/tobago/facelets/TabChangeSourceRule.html#L40">40</a></td>
@@ -1900,35 +1906,35 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsTagMethodExpression.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/TagMethodExpression.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L64">64</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L66">66</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L68">68</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Consider using varargs for methods or constructors which take an array the last parameter.</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L73">73</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L77">77</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L79">79</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>New exception is thrown in catch block, original stack trace may be lost</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TagMethodExpression.html#L81">81</a></td>
</tr>
@@ -1938,19 +1944,19 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagofaceletsTobagoComponentHandler.java"></a>Tobago Core -
org/apache/myfaces/tobago/facelets/TobagoComponentHandler.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'validator' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TobagoComponentHandler.html#L94">94</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Local variable 'entry' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TobagoComponentHandler.html#L97">97</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'next' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/facelets/TobagoComponentHandler.html#L103">103</a></td>
</tr>
@@ -1960,11 +1966,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagointernalajaxAjaxInternalUtils.java"></a>Tobago Core -
org/apache/myfaces/tobago/internal/ajax/AjaxInternalUtils.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'facesContext' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxInternalUtils.html#L64">64</a></td>
</tr>
@@ -1974,11 +1980,11 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagointernalajaxAjaxNavigationListener.java"></a>Tobago Core -
org/apache/myfaces/tobago/internal/ajax/AjaxNavigationListener.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'facesContext' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationListener.html#L63">63</a></td>
</tr>
@@ -1988,45 +1994,45 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagointernalajaxAjaxNavigationState.java"></a>Tobago Core -
org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Private field 'viewRoot' could be made final; it is only initialized in the declaration or
constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L52">52</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Private field 'messages' could be made final; it is only initialized in the declaration or
constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L54">54</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L113">113</a>–<a
href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L117">117</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Avoid if (x != y) ..; else ..;</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L125">125</a>–<a
href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L132">132</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Use equals() to compare object references.</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L136">136</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'facesContext' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L184">184</a></td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Local variable 'throwable' could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L188">188</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Parameter 'facesContext' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/ajax/AjaxNavigationState.html#L196">196</a></td>
</tr>
@@ -2036,18 +2042,18 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagointernalbehaviorAttachedListStateWrapper.java"></a>Tobago
Core - org/apache/myfaces/tobago/internal/behavior/AttachedListStateWrapper.java</h3>
<table border="0" class="bodyTable">
- <tr class="a">
+ <tr class="b">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="b">
+ <tr class="a">
<td>Private field 'wrappedStateList' could be made final; it is only initialized in the declaration or
constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/behavior/AttachedListStateWrapper.html#L34">34</a>
</td>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Parameter 'wrappedStateList' is not assigned and could be declared final</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/behavior/AttachedListStateWrapper.html#L36">36</a>
</td>
@@ -2058,57 +2064,52 @@
<h3><a name="Tobago_Core_-_orgapachemyfacestobagointernalbehaviorAttachedStateWrapper.java"></a>Tobago Core -
org/apache/myfaces/tobago/internal/behavior/AttachedStateWrapper.java</h3>
<table border="0" class="bodyTable">
- <tr class="b">
+ <tr class="a">
<th>Violation</th>
<th>Line</th>
</tr>
- <tr class="a">
+ <tr class="b">
<td>Private field 'clazz' could be made final; it is only initialized in the declaration or constructor.
</td>
<td><a href="./xref/org/apache/myfaces/tobago/internal/behavior/AttachedStateWrapper.html#L30">30</a></td>
</tr>
- <tr class="b">
+ <tr class="a">
[... 18734 lines stripped ...]