Clover coverage report - PMD - 3.7
Coverage timestamp: Wed May 31 2006 09:25:59 EDT

file stats: | LOC: | 24 |  | Methods: | 4
| NCLOC: | 15 |  | Classes: | 1

Source file | Conditionals | Statements | Methods | TOTAL

ASTLiteral.java

-

75%

75%

75%

1 |  | /* Generated By:JJTree: Do not edit this line. ASTLiteral.java */
2 |  |
3 |  | package net.sourceforge.pmd.ast;
4 |  |
5 |  | public class ASTLiteral extends SimpleJavaNode {
6 | 0 | public ASTLiteral(int id) {
7 | 0 | super(id);
8 |  | }
9 |  |
10 | 1236 | public ASTLiteral(JavaParser p, int id) {
11 | 1236 | super(p, id);
12 |  | }
13 |  |
14 |  | /**
15 |  | * Accept the visitor. *
16 |  | */
17 | 3251 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
18 | 3251 | return visitor.visit(this, data);
19 |  | }
20 |  |
21 | 4 | public boolean isStringLiteral() {
22 | 4 | return getImage() != null && getImage().startsWith("\"") && getImage().endsWith("\"");
23 |  | }
24 |  | }