Clover coverage report - PMD - 3.9
Coverage timestamp: Tue Dec 19 2006 09:38:44 EST
file stats: LOC: 36   Methods: 6
NCLOC: 22   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ASTReferenceType.java - 66.7% 66.7% 66.7%
coverage coverage
 1    /* Generated By:JJTree: Do not edit this line. ASTReferenceType.java */
 2   
 3    package net.sourceforge.pmd.ast;
 4   
 5    public class ASTReferenceType extends SimpleJavaNode implements Dimensionable {
 6  0 public ASTReferenceType(int id) {
 7  0 super(id);
 8    }
 9   
 10  971 public ASTReferenceType(JavaParser p, int id) {
 11  971 super(p, id);
 12    }
 13   
 14   
 15    /**
 16    * Accept the visitor. *
 17    */
 18  2669 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
 19  2669 return visitor.visit(this, data);
 20    }
 21   
 22    private int arrayDepth;
 23   
 24  79 public void bumpArrayDepth() {
 25  79 arrayDepth++;
 26    }
 27   
 28  50 public int getArrayDepth() {
 29  50 return arrayDepth;
 30    }
 31   
 32  0 public boolean isArray() {
 33  0 return arrayDepth > 0;
 34    }
 35   
 36    }