"Fossies" - the Fresh Open Source Software Archive 
Member "pmd-src-6.47.0/docs/report-examples/pmd-report-pmd-nicerhtml.html" (25 Jun 2022, 6728 Bytes) of package /linux/misc/pmd-src-6.47.0.zip:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns:pmd="http://pmd.sourceforge.net/report/2.0.0">
5 <head>
6 <title>PMD 6.22.0 Report</title>
7 <style type="text/css">
8 .bannercell {
9 border: 0px;
10 padding: 0px;
11 }
12 body {
13 margin-left: 10px;
14 margin-right: 10px;
15 font:normal 80% arial,helvetica,sanserif;
16 background-color:#FFFFFF;
17 color:#000000;
18 }
19 .a td {
20 background: #efefef;
21 }
22 .b td {
23 background: #fff;
24 }
25 th, td {
26 text-align: left;
27 vertical-align: top;
28 }
29 th {
30 font-weight:bold;
31 background: #ccc;
32 color: black;
33 }
34 table, th, td {
35 font-size:100%;
36 border: none
37 }
38 table.log tr td, tr th {
39
40 }
41 h2 {
42 font-weight:bold;
43 font-size:140%;
44 margin-bottom: 5;
45 }
46 h3 {
47 font-size:100%;
48 font-weight:bold;
49 background: #525D76;
50 color: white;
51 text-decoration: none;
52 padding: 5px;
53 margin-right: 2px;
54 margin-left: 2px;
55 margin-bottom: 0px;
56 }
57 .p1 { background:#FF9999; }
58 .p2 { background:#FFCC66; }
59 .p3 { background:#FFFF99; }
60 .p4 { background:#99FF99; }
61 .p5 { background:#a6caf0; }
62
63 </style>
64 </head>
65 <body>
66 <a name="top"/>
67 <table border="0" cellpadding="0" cellspacing="0" width="100%">
68 <tr>
69 <td class="bannercell" rowspan="2"/>
70 <td class="text-align:right">
71 <h2>PMD 6.22.0 Report. Generated on 2020-04-11 - 19:23:45</h2>
72 </td>
73 </tr>
74 </table>
75 <hr size="1"/>
76 <h3>Summary</h3>
77 <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
78 <tr>
79 <th style="width:25%">Files</th>
80 <th>Total</th>
81 <th>
82 <div class="p1">Priority 1</div>
83 </th>
84 <th>
85 <div class="p2">Priority 2</div>
86 </th>
87 <th>
88 <div class="p3">Priority 3</div>
89 </th>
90 <th>
91 <div class="p4">Priority 4</div>
92 </th>
93 <th>
94 <div class="p5">Priority 5</div>
95 </th>
96 </tr>
97 <tr class="a">
98 <td>2</td>
99 <td>2</td>
100 <td>0</td>
101 <td>1</td>
102 <td>1</td>
103 <td>0</td>
104 <td>0</td>
105 </tr>
106 </table>
107 <hr size="1" width="100%" align="left"/>
108 <h3>Rules</h3>
109 <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
110 <tr>
111 <th style="width:84%">Rule</th>
112 <th style="width:8%">Violations</th>
113 <th style="width:8%">Severity</th>
114 </tr>
115 <tr class="a">
116 <td>
117 [Best Practices] GuardLogStatement</td>
118 <td>1</td>
119 <td>
120 <div class="p2"> 2</div>
121 </td>
122 </tr>
123 <tr class="b">
124 <td>
125 [Best Practices] ForLoopCanBeForeach</td>
126 <td>1</td>
127 <td>
128 <div class="p3"> 3</div>
129 </td>
130 </tr>
131 </table>
132 <hr size="1" width="100%" align="left"/>
133 <h3>Files</h3>
134 <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
135 <tr>
136 <th>File</th>
137 <th style="width:40px">
138 <div class="p5">5</div>
139 </th>
140 <th style="width:40px">
141 <div class="p4">4</div>
142 </th>
143 <th style="width:40px">
144 <div class="p3">3</div>
145 </th>
146 <th style="width:40px">
147 <div class="p2">2</div>
148 </th>
149 <th style="width:40px">
150 <div class="p1">1</div>
151 </th>
152 </tr>
153 <tr class="a">
154 <td>
155 <a href="#f-pmd-core_src_main_java_net_sourceforge_pmd_RuleContext.java">/home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java</a>
156 </td>
157 <td>0</td>
158 <td>0</td>
159 <td>0</td>
160 <td>1</td>
161 <td>0</td>
162 </tr>
163 <tr class="b">
164 <td>
165 <a href="#f-pmd-core_src_main_java_net_sourceforge_pmd_benchmark_Benchmarker.java">/home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/benchmark/Benchmarker.java</a>
166 </td>
167 <td>0</td>
168 <td>0</td>
169 <td>1</td>
170 <td>0</td>
171 <td>0</td>
172 </tr>
173 </table>
174 <hr size="1" width="100%" align="left"/>
175 <a name="f-pmd-core_src_main_java_net_sourceforge_pmd_RuleContext.java"/>
176 <h3>File /home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java</h3>
177 <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
178 <tr>
179 <th style="width:60px;">Violation</th>
180 <th>Error Description</th>
181 <th style="width:40px;">Line</th>
182 </tr>
183 <tr class="a">
184 <td>
185 <div class="p2">2</div>
186 </td>
187 <td>
188 [Best Practices.GuardLogStatement]
189 -
190 <a href="https://pmd.github.io/pmd-6.22.0/pmd_rules_java_bestpractices.html#guardlogstatement">
191 Logger calls should be surrounded by log level guards.
192 </a>
193 </td>
194 <td>124 - 125</td>
195 </tr>
196 </table>
197 <a href="#top">Back to top</a>
198 <a name="f-pmd-core_src_main_java_net_sourceforge_pmd_benchmark_Benchmarker.java"/>
199 <h3>File /home/pmd/source/pmd-core/src/main/java/net/sourceforge/pmd/benchmark/Benchmarker.java</h3>
200 <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
201 <tr>
202 <th style="width:60px;">Violation</th>
203 <th>Error Description</th>
204 <th style="width:40px;">Line</th>
205 </tr>
206 <tr class="a">
207 <td>
208 <div class="p3">3</div>
209 </td>
210 <td>
211 [Best Practices.ForLoopCanBeForeach]
212 -
213 <a href="https://pmd.github.io/pmd-6.22.0/pmd_rules_java_bestpractices.html#forloopcanbeforeach">
214 This for loop can be replaced by a foreach loop
215 </a>
216 </td>
217 <td>58 - 62</td>
218 </tr>
219 </table>
220 <a href="#top">Back to top</a>
221 <hr size="1" width="100%" align="left"/>
222 </body>
223 </html>