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

1 |  | /**
2 |  | * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3 |  | */
4 |  | package net.sourceforge.pmd;
5 |  |
6 |  | import java.util.Map;
7 |  |
8 |  | public class RuleContext {
9 |  |
10 |  | private Report report = new Report();
11 |  | private String sourceCodeFilename;
12 |  | private SourceType sourceType;
13 |  |
14 | 3084 | public Report getReport() {
15 | 3084 | return report;
16 |  | }
17 |  |
18 | 1421 | public void setReport(Report report) {
19 | 1421 | this.report = report;
20 |  | }
21 |  |
22 | 2908 | public String getSourceCodeFilename() {
23 | 2908 | return sourceCodeFilename;
24 |  | }
25 |  |
26 | 1429 | public void setSourceCodeFilename(String filename) {
27 | 1429 | this.sourceCodeFilename = filename;
28 |  | }
29 |  |
30 | 1261 | public void excludeLines(Map lines) {
31 | 1261 | report.exclude(lines);
32 |  | }
33 |  |
34 | 21 | public SourceType getSourceType() {
35 | 21 | return this.sourceType;
36 |  | }
37 |  |
38 | 1260 | public void setSourceType(SourceType t) {
39 | 1260 | this.sourceType = t;
40 |  | }
41 |  | }