Clover coverage report - PMD - 3.7
Coverage timestamp: Wed May 31 2006 09:25:59 EDT
file stats: LOC: 28   Methods: 5
NCLOC: 18   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ASTResultType.java - 80% 80% 80%
coverage coverage
 1    /* Generated By:JJTree: Do not edit this line. ASTResultType.java */
 2   
 3    package net.sourceforge.pmd.ast;
 4   
 5    public class ASTResultType extends SimpleJavaNode {
 6  0 public ASTResultType(int id) {
 7  0 super(id);
 8    }
 9   
 10  1000 public ASTResultType(JavaParser p, int id) {
 11  1000 super(p, id);
 12    }
 13   
 14  9 public boolean returnsArray() {
 15  9 return !isVoid() && ((ASTType) jjtGetChild(0)).isArray();
 16    }
 17   
 18  34 public boolean isVoid() {
 19  34 return jjtGetNumChildren() == 0;
 20    }
 21   
 22    /**
 23    * Accept the visitor. *
 24    */
 25  2419 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
 26  2419 return visitor.visit(this, data);
 27    }
 28    }