Clover coverage report - PMD - 3.7 Coverage timestamp: Wed May 31 2006 09:25:59 EDT FRAMES NO FRAMES |

file stats: | LOC: | 453 |  | Methods: | 112
| NCLOC: | 340 |  | Classes: | 1

Source file | Conditionals | Statements | Methods | TOTAL
JavaParserVisitorAdapter.java | - | 84.1% | 83.9% | 84% |

1 |  | package net.sourceforge.pmd.ast;
2 |  |
3 |  | public class JavaParserVisitorAdapter implements JavaParserVisitor {
4 |  |
5 | 96897 | public Object visit(SimpleJavaNode node, Object data) {
6 | 96897 | node.childrenAccept(this, data);
7 | 96897 | return null;
8 |  | }
9 |  |
10 | 0 | public Object visit(ASTModifiers node, Object data) {
11 | 0 | return visit((SimpleJavaNode) node, data);
12 |  | }
13 |  |
14 | 43 | public Object visit(ASTExtendsList node, Object data) {
15 | 43 | return visit((SimpleJavaNode) node, data);
16 |  | }
17 |  |
18 | 1788 | public Object visit(ASTClassOrInterfaceDeclaration node, Object data) {
19 | 1788 | return visit((SimpleJavaNode) node, data);
20 |  | }
21 |  |
22 | 18 | public Object visit(ASTImplementsList node, Object data) {
23 | 18 | return visit((SimpleJavaNode) node, data);
24 |  | }
25 |  |
26 | 6 | public Object visit(ASTTypeParameters node, Object data) {
27 | 6 | return visit((SimpleJavaNode) node, data);
28 |  | }
29 |  |
30 | 0 | public Object visit(ASTMemberSelector node, Object data) {
31 | 0 | return visit((SimpleJavaNode) node, data);
32 |  | }
33 |  |
34 | 6 | public Object visit(ASTTypeParameter node, Object data) {
35 | 6 | return visit((SimpleJavaNode) node, data);
36 |  | }
37 |  |
38 | 0 | public Object visit(ASTTypeBound node, Object data) {
39 | 0 | return visit((SimpleJavaNode) node, data);
40 |  | }
41 |  |
42 | 2997 | public Object visit(ASTClassOrInterfaceBody node, Object data) {
43 | 2997 | return visit((SimpleJavaNode) node, data);
44 |  | }
45 |  |
46 | 3733 | public Object visit(ASTClassOrInterfaceBodyDeclaration node, Object data) {
47 | 3733 | return visit((SimpleJavaNode) node, data);
48 |  | }
49 |  |
50 | 8 | public Object visit(ASTEnumBody node, Object data) {
51 | 8 | return visit((SimpleJavaNode) node, data);
52 |  | }
53 |  |
54 | 8 | public Object visit(ASTEnumConstant node, Object data) {
55 | 8 | return visit((SimpleJavaNode) node, data);
56 |  | }
57 |  |
58 | 1986 | public Object visit(ASTReferenceType node, Object data) {
59 | 1986 | return visit((SimpleJavaNode) node, data);
60 |  | }
61 |  |
62 | 2682 | public Object visit(ASTClassOrInterfaceType node, Object data) {
63 | 2682 | return visit((SimpleJavaNode) node, data);
64 |  | }
65 |  |
66 | 12 | public Object visit(ASTTypeArguments node, Object data) {
67 | 12 | return visit((SimpleJavaNode) node, data);
68 |  | }
69 |  |
70 | 12 | public Object visit(ASTTypeArgument node, Object data) {
71 | 12 | return visit((SimpleJavaNode) node, data);
72 |  | }
73 |  |
74 | 0 | public Object visit(ASTWildcardBounds node, Object data) {
75 | 0 | return visit((SimpleJavaNode) node, data);
76 |  | }
77 |  |
78 | 36 | public Object visit(ASTAnnotation node, Object data) {
79 | 36 | return visit((SimpleJavaNode) node, data);
80 |  | }
81 |  |
82 | 0 | public Object visit(ASTNormalAnnotation node, Object data) {
83 | 0 | return visit((SimpleJavaNode) node, data);
84 |  | }
85 |  |
86 | 6 | public Object visit(ASTMarkerAnnotation node, Object data) {
87 | 6 | return visit((SimpleJavaNode) node, data);
88 |  | }
89 |  |
90 | 30 | public Object visit(ASTSingleMemberAnnotation node, Object data) {
91 | 30 | return visit((SimpleJavaNode) node, data);
92 |  | }
93 |  |
94 | 0 | public Object visit(ASTMemberValuePairs node, Object data) {
95 | 0 | return visit((SimpleJavaNode) node, data);
96 |  | }
97 |  |
98 | 0 | public Object visit(ASTMemberValuePair node, Object data) {
99 | 0 | return visit((SimpleJavaNode) node, data);
100 |  | }
101 |  |
102 | 30 | public Object visit(ASTMemberValue node, Object data) {
103 | 30 | return visit((SimpleJavaNode) node, data);
104 |  | }
105 |  |
106 | 0 | public Object visit(ASTMemberValueArrayInitializer node, Object data) {
107 | 0 | return visit((SimpleJavaNode) node, data);
108 |  | }
109 |  |
110 | 3 | public Object visit(ASTAnnotationTypeDeclaration node, Object data) {
111 | 3 | return visit((SimpleJavaNode) node, data);
112 |  | }
113 |  |
114 | 3 | public Object visit(ASTAnnotationTypeBody node, Object data) {
115 | 3 | return visit((SimpleJavaNode) node, data);
116 |  | }
117 |  |
118 | 0 | public Object visit(ASTAnnotationTypeMemberDeclaration node, Object data) {
119 | 0 | return visit((SimpleJavaNode) node, data);
120 |  | }
121 |  |
122 | 0 | public Object visit(ASTDefaultValue node, Object data) {
123 | 0 | return visit((SimpleJavaNode) node, data);
124 |  | }
125 |  |
126 | 0 | public Object visit(ASTRUNSIGNEDSHIFT node, Object data) {
127 | 0 | return visit((SimpleJavaNode) node, data);
128 |  | }
129 |  |
130 | 2 | public Object visit(ASTRSIGNEDSHIFT node, Object data) {
131 | 2 | return visit((SimpleJavaNode) node, data);
132 |  | }
133 |  |
134 | 1732 | public Object visit(ASTCompilationUnit node, Object data) {
135 | 1732 | return visit((SimpleJavaNode) node, data);
136 |  | }
137 |  |
138 | 4 | public Object visit(ASTEnumDeclaration node, Object data) {
139 | 4 | return visit((SimpleJavaNode) node, data);
140 |  | }
141 |  |
142 | 0 | public Object visit(ASTEnumElement node, Object data) {
143 | 0 | return visit((SimpleJavaNode) node, data);
144 |  | }
145 |  |
146 | 0 | public Object visit(ASTAssertStatement node, Object data) {
147 | 0 | return visit((SimpleJavaNode) node, data);
148 |  | }
149 |  |
150 | 31 | public Object visit(ASTPackageDeclaration node, Object data) {
151 | 31 | return visit((SimpleJavaNode) node, data);
152 |  | }
153 |  |
154 | 158 | public Object visit(ASTImportDeclaration node, Object data) {
155 | 158 | return visit((SimpleJavaNode) node, data);
156 |  | }
157 |  |
158 | 2867 | public Object visit(ASTTypeDeclaration node, Object data) {
159 | 2867 | return visit((SimpleJavaNode) node, data);
160 |  | }
161 |  |
162 | 0 | public Object visit(ASTMethodDeclarationLookahead node, Object data) {
163 | 0 | return visit((SimpleJavaNode) node, data);
164 |  | }
165 |  |
166 | 829 | public Object visit(ASTFieldDeclaration node, Object data) {
167 | 829 | return visit((SimpleJavaNode) node, data);
168 |  | }
169 |  |
170 | 2099 | public Object visit(ASTVariableDeclarator node, Object data) {
171 | 2099 | return visit((SimpleJavaNode) node, data);
172 |  | }
173 |  |
174 | 2881 | public Object visit(ASTVariableDeclaratorId node, Object data) {
175 | 2881 | return visit((SimpleJavaNode) node, data);
176 |  | }
177 |  |
178 | 1577 | public Object visit(ASTVariableInitializer node, Object data) {
179 | 1577 | return visit((SimpleJavaNode) node, data);
180 |  | }
181 |  |
182 | 20 | public Object visit(ASTArrayInitializer node, Object data) {
183 | 20 | return visit((SimpleJavaNode) node, data);
184 |  | }
185 |  |
186 | 1379 | public Object visit(ASTMethodDeclaration node, Object data) {
187 | 1379 | return visit((SimpleJavaNode) node, data);
188 |  | }
189 |  |
190 | 2310 | public Object visit(ASTMethodDeclarator node, Object data) {
191 | 2310 | return visit((SimpleJavaNode) node, data);
192 |  | }
193 |  |
194 | 2575 | public Object visit(ASTFormalParameters node, Object data) {
195 | 2575 | return visit((SimpleJavaNode) node, data);
196 |  | }
197 |  |
198 | 957 | public Object visit(ASTFormalParameter node, Object data) {
199 | 957 | return visit((SimpleJavaNode) node, data);
200 |  | }
201 |  |
202 | 157 | public Object visit(ASTConstructorDeclaration node, Object data) {
203 | 157 | return visit((SimpleJavaNode) node, data);
204 |  | }
205 |  |
206 | 40 | public Object visit(ASTExplicitConstructorInvocation node, Object data) {
207 | 40 | return visit((SimpleJavaNode) node, data);
208 |  | }
209 |  |
210 | 25 | public Object visit(ASTInitializer node, Object data) {
211 | 25 | return visit((SimpleJavaNode) node, data);
212 |  | }
213 |  |
214 | 3512 | public Object visit(ASTType node, Object data) {
215 | 3512 | return visit((SimpleJavaNode) node, data);
216 |  | }
217 |  |
218 | 1582 | public Object visit(ASTPrimitiveType node, Object data) {
219 | 1582 | return visit((SimpleJavaNode) node, data);
220 |  | }
221 |  |
222 | 2358 | public Object visit(ASTResultType node, Object data) {
223 | 2358 | return visit((SimpleJavaNode) node, data);
224 |  | }
225 |  |
226 | 3862 | public Object visit(ASTName node, Object data) {
227 | 3862 | return visit((SimpleJavaNode) node, data);
228 |  | }
229 |  |
230 | 29 | public Object visit(ASTNameList node, Object data) {
231 | 29 | return visit((SimpleJavaNode) node, data);
232 |  | }
233 |  |
234 | 4942 | public Object visit(ASTExpression node, Object data) {
235 | 4942 | return visit((SimpleJavaNode) node, data);
236 |  | }
237 |  |
238 | 455 | public Object visit(ASTAssignmentOperator node, Object data) {
239 | 455 | return visit((SimpleJavaNode) node, data);
240 |  | }
241 |  |
242 | 17 | public Object visit(ASTConditionalExpression node, Object data) {
243 | 17 | return visit((SimpleJavaNode) node, data);
244 |  | }
245 |  |
246 | 7 | public Object visit(ASTConditionalOrExpression node, Object data) {
247 | 7 | return visit((SimpleJavaNode) node, data);
248 |  | }
249 |  |
250 | 22 | public Object visit(ASTConditionalAndExpression node, Object data) {
251 | 22 | return visit((SimpleJavaNode) node, data);
252 |  | }
253 |  |
254 | 0 | public Object visit(ASTInclusiveOrExpression node, Object data) {
255 | 0 | return visit((SimpleJavaNode) node, data);
256 |  | }
257 |  |
258 | 0 | public Object visit(ASTExclusiveOrExpression node, Object data) {
259 | 0 | return visit((SimpleJavaNode) node, data);
260 |  | }
261 |  |
262 | 0 | public Object visit(ASTAndExpression node, Object data) {
263 | 0 | return visit((SimpleJavaNode) node, data);
264 |  | }
265 |  |
266 | 245 | public Object visit(ASTEqualityExpression node, Object data) {
267 | 245 | return visit((SimpleJavaNode) node, data);
268 |  | }
269 |  |
270 | 12 | public Object visit(ASTInstanceOfExpression node, Object data) {
271 | 12 | return visit((SimpleJavaNode) node, data);
272 |  | }
273 |  |
274 | 230 | public Object visit(ASTRelationalExpression node, Object data) {
275 | 230 | return visit((SimpleJavaNode) node, data);
276 |  | }
277 |  |
278 | 2 | public Object visit(ASTShiftExpression node, Object data) {
279 | 2 | return visit((SimpleJavaNode) node, data);
280 |  | }
281 |  |
282 | 140 | public Object visit(ASTAdditiveExpression node, Object data) {
283 | 140 | return visit((SimpleJavaNode) node, data);
284 |  | }
285 |  |
286 | 6 | public Object visit(ASTMultiplicativeExpression node, Object data) {
287 | 6 | return visit((SimpleJavaNode) node, data);
288 |  | }
289 |  |
290 | 26 | public Object visit(ASTUnaryExpression node, Object data) {
291 | 26 | return visit((SimpleJavaNode) node, data);
292 |  | }
293 |  |
294 | 12 | public Object visit(ASTPreIncrementExpression node, Object data) {
295 | 12 | return visit((SimpleJavaNode) node, data);
296 |  | }
297 |  |
298 | 5 | public Object visit(ASTPreDecrementExpression node, Object data) {
299 | 5 | return visit((SimpleJavaNode) node, data);
300 |  | }
301 |  |
302 | 19 | public Object visit(ASTUnaryExpressionNotPlusMinus node, Object data) {
303 | 19 | return visit((SimpleJavaNode) node, data);
304 |  | }
305 |  |
306 | 0 | public Object visit(ASTCastLookahead node, Object data) {
307 | 0 | return visit((SimpleJavaNode) node, data);
308 |  | }
309 |  |
310 | 250 | public Object visit(ASTPostfixExpression node, Object data) {
311 | 250 | return visit((SimpleJavaNode) node, data);
312 |  | }
313 |  |
314 | 49 | public Object visit(ASTCastExpression node, Object data) {
315 | 49 | return visit((SimpleJavaNode) node, data);
316 |  | }
317 |  |
318 | 7685 | public Object visit(ASTPrimaryExpression node, Object data) {
319 | 7685 | return visit((SimpleJavaNode) node, data);
320 |  | }
321 |  |
322 | 7685 | public Object visit(ASTPrimaryPrefix node, Object data) {
323 | 7685 | return visit((SimpleJavaNode) node, data);
324 |  | }
325 |  |
326 | 2296 | public Object visit(ASTPrimarySuffix node, Object data) {
327 | 2296 | return visit((SimpleJavaNode) node, data);
328 |  | }
329 |  |
330 | 3083 | public Object visit(ASTLiteral node, Object data) {
331 | 3083 | return visit((SimpleJavaNode) node, data);
332 |  | }
333 |  |
334 | 234 | public Object visit(ASTBooleanLiteral node, Object data) {
335 | 234 | return visit((SimpleJavaNode) node, data);
336 |  | }
337 |  |
338 | 124 | public Object visit(ASTNullLiteral node, Object data) {
339 | 124 | return visit((SimpleJavaNode) node, data);
340 |  | }
341 |  |
342 | 2707 | public Object visit(ASTArguments node, Object data) {
343 | 2707 | return visit((SimpleJavaNode) node, data);
344 |  | }
345 |  |
346 | 1507 | public Object visit(ASTArgumentList node, Object data) {
347 | 1507 | return visit((SimpleJavaNode) node, data);
348 |  | }
349 |  |
350 | 697 | public Object visit(ASTAllocationExpression node, Object data) {
351 | 697 | return visit((SimpleJavaNode) node, data);
352 |  | }
353 |  |
354 | 25 | public Object visit(ASTArrayDimsAndInits node, Object data) {
355 | 25 | return visit((SimpleJavaNode) node, data);
356 |  | }
357 |  |
358 | 4026 | public Object visit(ASTStatement node, Object data) {
359 | 4026 | return visit((SimpleJavaNode) node, data);
360 |  | }
361 |  |
362 | 5 | public Object visit(ASTLabeledStatement node, Object data) {
363 | 5 | return visit((SimpleJavaNode) node, data);
364 |  | }
365 |  |
366 | 2043 | public Object visit(ASTBlock node, Object data) {
367 | 2043 | return visit((SimpleJavaNode) node, data);
368 |  | }
369 |  |
370 | 4375 | public Object visit(ASTBlockStatement node, Object data) {
371 | 4375 | return visit((SimpleJavaNode) node, data);
372 |  | }
373 |  |
374 | 1265 | public Object visit(ASTLocalVariableDeclaration node, Object data) {
375 | 1265 | return visit((SimpleJavaNode) node, data);
376 |  | }
377 |  |
378 | 29 | public Object visit(ASTEmptyStatement node, Object data) {
379 | 29 | return visit((SimpleJavaNode) node, data);
380 |  | }
381 |  |
382 | 2057 | public Object visit(ASTStatementExpression node, Object data) {
383 | 2057 | return visit((SimpleJavaNode) node, data);
384 |  | }
385 |  |
386 | 34 | public Object visit(ASTSwitchStatement node, Object data) {
387 | 34 | return visit((SimpleJavaNode) node, data);
388 |  | }
389 |  |
390 | 130 | public Object visit(ASTSwitchLabel node, Object data) {
391 | 130 | return visit((SimpleJavaNode) node, data);
392 |  | }
393 |  |
394 | 244 | public Object visit(ASTIfStatement node, Object data) {
395 | 244 | return visit((SimpleJavaNode) node, data);
396 |  | }
397 |  |
398 | 72 | public Object visit(ASTWhileStatement node, Object data) {
399 | 72 | return visit((SimpleJavaNode) node, data);
400 |  | }
401 |  |
402 | 15 | public Object visit(ASTDoStatement node, Object data) {
403 | 15 | return visit((SimpleJavaNode) node, data);
404 |  | }
405 |  |
406 | 119 | public Object visit(ASTForStatement node, Object data) {
407 | 119 | return visit((SimpleJavaNode) node, data);
408 |  | }
409 |  |
410 | 159 | public Object visit(ASTForInit node, Object data) {
411 | 159 | return visit((SimpleJavaNode) node, data);
412 |  | }
413 |  |
414 | 149 | public Object visit(ASTStatementExpressionList node, Object data) {
415 | 149 | return visit((SimpleJavaNode) node, data);
416 |  | }
417 |  |
418 | 140 | public Object visit(ASTForUpdate node, Object data) {
419 | 140 | return visit((SimpleJavaNode) node, data);
420 |  | }
421 |  |
422 | 60 | public Object visit(ASTBreakStatement node, Object data) {
423 | 60 | return visit((SimpleJavaNode) node, data);
424 |  | }
425 |  |
426 | 33 | public Object visit(ASTContinueStatement node, Object data) {
427 | 33 | return visit((SimpleJavaNode) node, data);
428 |  | }
429 |  |
430 | 302 | public Object visit(ASTReturnStatement node, Object data) {
431 | 302 | return visit((SimpleJavaNode) node, data);
432 |  | }
433 |  |
434 | 48 | public Object visit(ASTThrowStatement node, Object data) {
435 | 48 | return visit((SimpleJavaNode) node, data);
436 |  | }
437 |  |
438 | 12 | public Object visit(ASTSynchronizedStatement node, Object data) {
439 | 12 | return visit((SimpleJavaNode) node, data);
440 |  | }
441 |  |
442 | 125 | public Object visit(ASTTryStatement node, Object data) {
443 | 125 | return visit((SimpleJavaNode) node, data);
444 |  | }
445 |  |
446 | 15 | public Object visit(ASTFinallyStatement node, Object data) {
447 | 15 | return visit((SimpleJavaNode) node, data);
448 |  | }
449 |  |
450 | 120 | public Object visit(ASTCatchStatement node, Object data) {
451 | 120 | return visit((SimpleJavaNode) node, data);
452 |  | }
453 |  | }