Clover coverage report - PMD - 3.7 Coverage timestamp: Wed May 31 2006 09:25:59 EDT 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 | 155 | public ASTIfStatement(JavaParser p, int id) {
11 | 155 | super(p, id);
12 |  | }
13 |  |
14 |  | private boolean hasElse;
15 |  |
16 | 52 | public void setHasElse() {
17 | 52 | this.hasElse = true;
18 |  | }
19 |  |
20 | 94 | public boolean hasElse() {
21 | 94 | return this.hasElse;
22 |  | }
23 |  |
24 |  | /**
25 |  | * Accept the visitor. *
26 |  | */
27 | 423 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
28 | 423 | 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 |  | }