Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 18 |  | Methods: | 1
| NCLOC: | 13 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
YAHTMLRenderer.java | - | 100% | 100% | 100% |

1 |  | package net.sourceforge.pmd.renderers;
2 |  |
3 |  | import java.io.IOException;
4 |  | import java.io.Writer;
5 |  |
6 |  | import net.sourceforge.pmd.Report;
7 |  | import net.sourceforge.pmd.dfa.report.ReportHTMLPrintVisitor;
8 |  | import net.sourceforge.pmd.dfa.report.ReportTree;
9 |  |
10 |  | public class YAHTMLRenderer extends AbstractRenderer {
11 |  |
12 | 5 | public void render(Writer writer, Report report) throws IOException {
13 | 5 | ReportTree tree = report.getViolationTree();
14 | 4 | tree.getRootNode().accept(new ReportHTMLPrintVisitor());
15 | 4 | writer.write("<h3 align=\"center\">The HTML files are created above the project directory.</h3>");
16 |  | }
17 |  |
18 |  | }