Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 35 |  | Methods: | 6
| NCLOC: | 23 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
ASTIfStatement.java | 0% | 57.1% | 66.7% | 53.3% |

1 |  | /* Generated By:JJTree: Do not edit this line. ASTIfStatement.java */
2 |  |
3 |  | package net.sourceforge.pmd.ast;
4 |  |
5 |  | public class ASTIfStatement extends SimpleJavaNode {
6 | 0 | public ASTIfStatement(int id) {
7 | 0 | super(id);
8 |  | }
9 |  |
10 | 190 | public ASTIfStatement(JavaParser p, int id) {
11 | 190 | super(p, id);
12 |  | }
13 |  |
14 |  | private boolean hasElse;
15 |  |
16 | 55 | public void setHasElse() {
17 | 55 | this.hasElse = true;
18 |  | }
19 |  |
20 | 111 | public boolean hasElse() {
21 | 111 | return this.hasElse;
22 |  | }
23 |  |
24 |  | /**
25 |  | * Accept the visitor. *
26 |  | */
27 | 582 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
28 | 582 | return visitor.visit(this, data);
29 |  | }
30 |  |
31 | 0 | public void dump(String prefix) {
32 | 0 | System.out.println(toString(prefix) + ":" + (hasElse ? "(has else)" : ""));
33 | 0 | dumpChildren(prefix);
34 |  | }
35 |  | }