Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 45 |  | Methods: | 8
| NCLOC: | 29 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
ASTConstructorDeclaration.java | 50% | 77.8% | 87.5% | 78.9% |

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 | 129 | public ASTConstructorDeclaration(JavaParser p, int id) {
11 | 129 | super(p, id);
12 |  | }
13 |  |
14 | 8 | public ASTFormalParameters getParameters() {
15 | 8 | return (ASTFormalParameters) (jjtGetChild(0) instanceof ASTFormalParameters?jjtGetChild(0):jjtGetChild(1));
16 |  | }
17 |  |
18 | 6 | public int getParameterCount() {
19 | 6 | return getParameters().getParameterCount();
20 |  | }
21 |  |
22 |  |
23 |  | /**
24 |  | * Accept the visitor. *
25 |  | */
26 | 380 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
27 | 380 | return visitor.visit(this, data);
28 |  | }
29 |  |
30 |  | private boolean containsComment;
31 |  |
32 | 8 | public boolean containsComment() {
33 | 8 | return this.containsComment;
34 |  | }
35 |  |
36 | 6 | public void setContainsComment() {
37 | 6 | this.containsComment = true;
38 |  | }
39 |  |
40 | 0 | public void dump(String prefix) {
41 | 0 | System.out.println(collectDumpedModifiers(prefix));
42 | 0 | dumpChildren(prefix);
43 |  | }
44 |  |
45 |  | }