Clover Coverage Report - PMD-3.8
Coverage timestamp: Wed Oct 14 2009 06:14:43 CDT
../../../../img/srcFileCovDistChart8.png 34% of files have more coverage
27   85   19   2.08
12   61   0.7   13
13     1.46  
1    
 
  ASTMethodDeclaration       Line # 5 27 19 76.9% 0.7692308
 
  (292)
 
1    /* Generated By:JJTree: Do not edit this line. ASTMethodDeclaration.java */
2   
3    package net.sourceforge.pmd.ast;
4   
 
5    public class ASTMethodDeclaration extends AccessNode {
 
6  4 toggle public ASTMethodDeclaration(int id) {
7  4 super(id);
8    }
9   
 
10  1036 toggle public ASTMethodDeclaration(JavaParser p, int id) {
11  1036 super(p, id);
12    }
13   
14    /**
15    * Accept the visitor. *
16    */
 
17  2673 toggle public Object jjtAccept(JavaParserVisitor visitor, Object data) {
18  2673 return visitor.visit(this, data);
19    }
20   
 
21  0 toggle public void dump(String prefix) {
22  0 System.out.println(collectDumpedModifiers(prefix));
23  0 dumpChildren(prefix);
24    }
25   
26    /**
27    * Gets the name of the method.
28    *
29    * @return a String representing the name of the method
30    */
 
31  64 toggle public String getMethodName() {
32  64 ASTMethodDeclarator md = (ASTMethodDeclarator) getFirstChildOfType(ASTMethodDeclarator.class);
33  64 if (md != null)
34  64 return md.getImage();
35  0 return null;