PMD Results

The following document contains the results of PMD 4.1.

Files

org/peaseplate/DefaultMacro.java

Violation Line
Avoid unused imports such as 'java.io.Writer' 22

org/peaseplate/Macro.java

Violation Line
Avoid unused imports such as 'java.io.Writer' 22

org/peaseplate/TemplateEngine.java

Violation Line
Avoid unused imports such as 'org.peaseplate.internal.locator.InMemoryTemplateLocator' 28
Avoid unused imports such as 'org.peaseplate.resolver.Resolver' 30

org/peaseplate/internal/designator/CompileDirectiveDesignator.java

Violation Line
These nested if statements could be combined 163 - 164

org/peaseplate/internal/lang/Tokenizer.java

Violation Line
Avoid unused constructor parameters such as 'locator'. 84 - 97

org/peaseplate/internal/model/DefaultResourceKey.java

Violation Line
These nested if statements could be combined 78 - 94

org/peaseplate/internal/util/ServiceConfiguration.java

Violation Line
Avoid empty catch blocks 104 - 106

org/peaseplate/lang/Designator.java

Violation Line
Avoid unused imports such as 'org.peaseplate.internal.designator.ContentDesignator' 25

org/peaseplate/locator/LocatorUtils.java

Violation Line
Avoid empty catch blocks 80 - 82
Avoid empty catch blocks 83 - 85

org/peaseplate/service/CacheService.java

Violation Line
Avoid unused imports such as 'org.peaseplate.resolver.Resolver' 29

org/peaseplate/service/MacroService.java

Violation Line
Avoid unused imports such as 'java.io.Writer' 22
Avoid unused imports such as 'org.peaseplate.DefaultMacro' 25
Avoid unused imports such as 'org.peaseplate.Macro' 26
Avoid unused imports such as 'org.peaseplate.RenderContext' 27

org/peaseplate/service/TransformerService.java

Violation Line
Avoid unused imports such as 'org.peaseplate.DefaultTransformer' 24
Avoid unused imports such as 'org.peaseplate.RenderContext' 25
Avoid unused imports such as 'org.peaseplate.Transformer' 26