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(IRuleViolation violation) |
void | end() |
Iterator<Report.ProcessingError> | errors() |
void | exclude(Map<Integer,String> lines) |
Map<String,Integer> | getCountSummary() |
long | getElapsedTimeInMillis() |
Map<String,Integer> | getSummary() |
List<Report.SuppressedViolation> | getSuppressedRuleViolations() |
ReportTree | getViolationTree() |
boolean | hasMetrics() |
boolean | isEmpty() |
Iterator<IRuleViolation> | iterator() |
void | merge(Report r) |
Iterator<Metric> | metrics() |
int | size() |
void | start() |
boolean | treeIsEmpty() |
Iterator<IRuleViolation> | treeIterator() |
int | treeSize() |
Returns: a Map summarizing the Report: String (rule name) ->Integer (count of violations)