Clover coverage report - PMD - 3.7
Coverage timestamp: Wed May 31 2006 09:25:59 EDT
file stats: LOC: 43   Methods: 8
NCLOC: 28   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ASTExplicitConstructorInvocation.java - 50% 50% 50%
coverage coverage
 1    /* Generated By:JJTree: Do not edit this line. ASTExplicitConstructorInvocation.java */
 2   
 3    package net.sourceforge.pmd.ast;
 4   
 5    public class ASTExplicitConstructorInvocation extends SimpleJavaNode {
 6  0 public ASTExplicitConstructorInvocation(int id) {
 7  0 super(id);
 8    }
 9   
 10  19 public ASTExplicitConstructorInvocation(JavaParser p, int id) {
 11  19 super(p, id);
 12    }
 13   
 14   
 15    /**
 16    * Accept the visitor. *
 17    */
 18  40 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
 19  40 return visitor.visit(this, data);
 20    }
 21   
 22  0 public int getArgumentCount() {
 23  0 return ((ASTArguments) this.jjtGetChild(0)).getArgumentCount();
 24    }
 25   
 26    private String thisOrSuper;
 27   
 28  8 public void setIsThis() {
 29  8 this.thisOrSuper = "this";
 30    }
 31   
 32  0 public void setIsSuper() {
 33  0 this.thisOrSuper = "super";
 34    }
 35   
 36  1 public boolean isThis() {
 37  1 return thisOrSuper != null && thisOrSuper.equals("this");
 38    }
 39   
 40  0 public boolean isSuper() {
 41  0 return thisOrSuper != null && thisOrSuper.equals("super");
 42    }
 43    }