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

file stats: | LOC: | 41 |  | Methods: | 7
| NCLOC: | 26 |  | Classes: | 1

Source file | Conditionals | Statements | Methods | TOTAL

ASTConstructorDeclaration.java

-

75%

85.7%

80%

1 |  | /* Generated By:JJTree: Do not edit this line. ASTConstructorDeclaration.java */
2 |  |
3 |  | package net.sourceforge.pmd.ast;
4 |  |
5 |  | public class ASTConstructorDeclaration extends AccessNode {
6 | 1 | public ASTConstructorDeclaration(int id) {
7 | 1 | super(id);
8 |  | }
9 |  |
10 | 111 | public ASTConstructorDeclaration(JavaParser p, int id) {
11 | 111 | super(p, id);
12 |  | }
13 |  |
14 | 3 | public int getParameterCount() {
15 | 3 | return ((ASTFormalParameters) jjtGetChild(0)).getParameterCount();
16 |  | }
17 |  |
18 |  |
19 |  | /**
20 |  | * Accept the visitor. *
21 |  | */
22 | 273 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
23 | 273 | return visitor.visit(this, data);
24 |  | }
25 |  |
26 |  | private boolean containsComment;
27 |  |
28 | 8 | public boolean containsComment() {
29 | 8 | return this.containsComment;
30 |  | }
31 |  |
32 | 6 | public void setContainsComment() {
33 | 6 | this.containsComment = true;
34 |  | }
35 |  |
36 | 0 | public void dump(String prefix) {
37 | 0 | System.out.println(collectDumpedModifiers(prefix));
38 | 0 | dumpChildren(prefix);
39 |  | }
40 |  |
41 |  | }