PMD Results

The following document contains the results of PMD 5.5.1.

Files

com/helger/schematron/AbstractSchematronResource.java

Violation Line
Do not use if statements that are always true or always false 137
Avoid empty catch blocks 158162

com/helger/schematron/CSchematron.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 44

com/helger/schematron/CSchematronXML.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 81

com/helger/schematron/SchematronDebug.java

Violation Line
Unnecessary final modifier in final class 5659
Unnecessary final modifier in final class 6164
Unnecessary final modifier in final class 7275
Unnecessary final modifier in final class 7781
Unnecessary final modifier in final class 8992
Unnecessary final modifier in final class 9498

com/helger/schematron/SchematronHelper.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 70
These nested if statements could be combined 369376

com/helger/schematron/SchematronResourceHelper.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 54

com/helger/schematron/pure/SchematronResourcePure.java

Violation Line
Avoid empty catch blocks 321324

com/helger/schematron/pure/binding/PSQueryBindingRegistry.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 74

com/helger/schematron/pure/binding/xpath/CXPath.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 35

com/helger/schematron/pure/binding/xpath/PSXPathVariables.java

Violation Line
These nested if statements could be combined 128129

com/helger/schematron/pure/bound/IPSBoundSchema.java

Violation Line
Avoid unused imports such as 'com.helger.schematron.CSchematron' 28

com/helger/schematron/pure/bound/xpath/PSXPathBoundSchema.java

Violation Line
Do not use if statements that are always true or always false 424
These nested if statements could be combined 575583
These nested if statements could be combined 592600
Do not use if statements that are always true or always false 615

com/helger/schematron/pure/model/PSActive.java

Violation Line
These nested if statements could be combined 6465
These nested if statements could be combined 8788

com/helger/schematron/pure/model/PSAssertReport.java

Violation Line
These nested if statements could be combined 9293
These nested if statements could be combined 117118

com/helger/schematron/pure/model/PSDiagnostic.java

Violation Line
These nested if statements could be combined 7677

com/helger/schematron/pure/model/PSP.java

Violation Line
These nested if statements could be combined 6768

com/helger/schematron/pure/model/PSTitle.java

Violation Line
These nested if statements could be combined 5556

com/helger/schematron/pure/preprocess/PSPreprocessor.java

Violation Line
Ternary operators that can be simplified with || or && 258
These nested if statements could be combined 501502

com/helger/schematron/saxon/SchematronTransformerFactory.java

Violation Line
Do not use if statements that are always true or always false 100
Do not use if statements that are always true or always false 102
Do not use if statements that are always true or always false 104

com/helger/schematron/svrl/CSVRL.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 63

com/helger/schematron/svrl/SVRLHelper.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 47

com/helger/schematron/svrl/SVRLLocationBeautifierRegistry.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 42

com/helger/schematron/svrl/SVRLReader.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 41

com/helger/schematron/svrl/SVRLWriter.java

Violation Line
Avoid unused private fields such as 's_aInstance'. 41

com/helger/schematron/xslt/AbstractSchematronXSLTBasedResource.java

Violation Line
Do not use if statements that are always true or always false 248
These nested if statements could be combined 249270
Do not use if statements that are always true or always false 255
Do not use if statements that are always true or always false 257
Do not use if statements that are always true or always false 264
Do not use if statements that are always true or always false 266
Do not use if statements that are always true or always false 268