Clover coverage report - PMD - 3.3
Coverage timestamp: Thu Sep 15 2005 17:59:57 EDT
file stats: LOC: 30   Methods: 4
NCLOC: 15   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ASTBlockStatement.java - 100% 100% 100%
coverage
 1    /* Generated By:JJTree: Do not edit this line. ASTBlockStatement.java */
 2   
 3    package net.sourceforge.pmd.ast;
 4   
 5    public class ASTBlockStatement extends SimpleNode {
 6  4 public ASTBlockStatement(int id) {
 7  4 super(id);
 8    }
 9   
 10  1062 public ASTBlockStatement(JavaParser p, int id) {
 11  1062 super(p, id);
 12    }
 13   
 14   
 15    /**
 16    * Accept the visitor. *
 17    */
 18  2783 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
 19  2783 return visitor.visit(this, data);
 20    }
 21   
 22    /**
 23    * Tells if this BlockStatement is an allocation statement.
 24    * This is done by
 25    * @return the result of !findChildrenOfType(ASTAllocationExpression.class).isEmpty()
 26    */
 27  5 public final boolean isAllocation() {
 28  5 return !findChildrenOfType(ASTAllocationExpression.class).isEmpty();
 29    }
 30    }