Clover coverage report - PMD - 3.3
Coverage timestamp: Thu Sep 15 2005 17:59:57 EDT
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%
coverage coverage
 1    /* Generated By:JJTree: Do not edit this line. ASTIfStatement.java */
 2   
 3    package net.sourceforge.pmd.ast;
 4   
 5    public class ASTIfStatement extends SimpleNode {
 6  0 public ASTIfStatement(int id) {
 7  0 super(id);
 8    }
 9   
 10  97 public ASTIfStatement(JavaParser p, int id) {
 11  97 super(p, id);
 12    }
 13   
 14    private boolean hasElse;
 15   
 16  31 public void setHasElse() {
 17  31 this.hasElse = true;
 18    }
 19   
 20  94 public boolean hasElse() {
 21  94 return this.hasElse;
 22    }
 23   
 24    /**
 25    * Accept the visitor. *
 26    */
 27  262 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
 28  262 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    }