PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/rat/analysis/DocumentHeaderAnalyser.java

Violation Line
Avoid empty catch blocks 5254

org/apache/rat/analysis/HeaderCheckWorker.java

Violation Line
Avoid empty while statements 8486
Avoid empty catch blocks 99101

org/apache/rat/analysis/license/CopyrightHeader.java

Violation Line
These nested if statements could be combined 9597

org/apache/rat/annotation/AbstractLicenceAppender.java

Violation Line
These nested if statements could be combined 219227
Useless parentheses. 507
Useless parentheses. 514
Useless parentheses. 514
Useless parentheses. 523
Useless parentheses. 534
Useless parentheses. 562
Useless parentheses. 578
Useless parentheses. 578

org/apache/rat/document/IDocumentAnalyser.java

Violation Line
Avoid modifiers which are implied by the context 26

org/apache/rat/document/impl/guesser/BinaryGuesser.java

Violation Line
Avoid empty catch blocks 6265
Avoid empty catch blocks 103105
Avoid empty catch blocks 151153

org/apache/rat/header/CharFilter.java

Violation Line
Avoid modifiers which are implied by the context 29

org/apache/rat/license/ILicenseFamily.java

Violation Line
Avoid modifiers which are implied by the context 23

org/apache/rat/report/xml/writer/IXmlWriter.java

Violation Line
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 78
Avoid modifiers which are implied by the context 88
Avoid modifiers which are implied by the context 100

org/apache/rat/report/xml/writer/impl/base/XmlWriter.java

Violation Line
These nested if statements could be combined 610612

org/apache/rat/walker/DirectoryWalker.java

Violation Line
These nested if statements could be combined 113115
These nested if statements could be combined 130132