net.sourceforge.pmd
public class Report extends Object
Nested Class Summary | |
---|---|
static class | Report.ProcessingError |
static class | Report.ReadableDuration |
static class | Report.SuppressedViolation |
Method Summary | |
---|---|
void | addError(Report.ProcessingError error) |
void | addListener(ReportListener listener) |
void | addMetric(Metric metric) |
void | addRuleViolation(RuleViolation violation) |
void | end() |
Iterator | errors() |
void | exclude(Set lines) |
Map | getCountSummary() |
long | getElapsedTimeInMillis() |
Map | getSummary() |
List | getSuppressedRuleViolations() |
ReportTree | getViolationTree() |
boolean | hasMetrics() |
boolean | isEmpty() |
Iterator | iterator() |
Iterator | metrics() |
int | size() |
void | start() |
boolean | treeIsEmpty() |
Iterator | treeIterator() |
int | treeSize() |
Returns: a Map summarizing the Report: String (rule name) ->Integer (count of violations)