A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://javadoc.io/page/net.sourceforge.pmd/pmd-core/6.10.0/net/sourceforge/pmd/Report.html below:

Report (PMD Core 6.10.0 API)

Modifier and Type Method Description void addConfigError​(Report.ConfigurationError error)

Adds a new configuration error to the report.

void addError​(Report.ProcessingError error)

Adds a new processing error to the report.

void addListener​(ThreadSafeReportListener listener)

Registers a report listener

void addListeners​(java.util.List<ThreadSafeReportListener> allListeners)

Adds all given listeners to this report

void addMetric​(Metric metric)

Adds a new metric to the report and notify the listeners

void addRuleViolation​(RuleViolation violation)

Adds a new rule violation to the report and notify the listeners.

java.util.Iterator<Report.ConfigurationError> configErrors()

Returns an iterator of the reported configuration errors.

static Report createReport​(RuleContext ctx, java.lang.String fileName)

Creates a new, initialized, empty report for the given file name.

void end()

Mark the end time of the report.

java.util.Iterator<Report.ProcessingError> errors()

Returns an iterator of the reported processing errors.

java.util.Map<java.lang.String,​java.lang.Integer> getCountSummary()

Calculate a summary of violation counts per fully classified class name.

long getElapsedTimeInMillis()   java.util.List<ThreadSafeReportListener> getListeners()   java.util.Map<java.lang.String,​java.lang.Integer> getSummary()

Calculate a summary of violations per rule.

java.util.List<Report.SuppressedViolation> getSuppressedRuleViolations()   ReportTree getViolationTree()   boolean hasConfigErrors()

Checks whether any configuration errors have been reported.

boolean hasErrors()

Checks whether any processing errors have been reported.

boolean hasMetrics()

Check whether any metrics have been reported

boolean isEmpty()   java.util.Iterator<RuleViolation> iterator()   void merge​(Report r)

Merges the given report into this report.

java.util.Iterator<Metric> metrics()

Iterate over the metrics.

int size()

The number of violations.

void start()

Mark the start time of the report.

void suppress​(java.util.Map<java.lang.Integer,​java.lang.String> lines)

Configure the lines, that are suppressed via a NOPMD comment.

boolean treeIsEmpty()

Checks whether no violations have been reported.

java.util.Iterator<RuleViolation> treeIterator()

Returns an iteration over the reported violations.

int treeSize()

The number of violations.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4