PMD Results

The following document contains the results of PMD 5.2.1.

Files

com/helger/schematron/pure/SchematronResourcePure.java

Violation Line
Avoid empty catch blocks 283–286

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

Violation Line
These nested if statements could be combined 113–114

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

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

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

Violation Line
Avoid unused private methods such as '_createBoundElements(IPSHasMixedContent,XPath,PSXPathVariables)'. 134–136
Do not use if statements that are always true or always false 473
These nested if statements could be combined 568–573
These nested if statements could be combined 581–586
Do not use if statements that are always true or always false 601

com/helger/schematron/pure/exchange/PSReader.java

Violation Line
Avoid unused private methods such as '_warn(IPSElement,String)'. 149

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

Violation Line
These nested if statements could be combined 63–64
These nested if statements could be combined 86–87

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

Violation Line
These nested if statements could be combined 83–84
These nested if statements could be combined 108–109

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

Violation Line
These nested if statements could be combined 69–70

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

Violation Line
These nested if statements could be combined 66–67

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

Violation Line
These nested if statements could be combined 56–57

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

Violation Line
These nested if statements could be combined 497–498

com/helger/schematron/pure/validation/xpath/PSXPathValidationHandlerSVRL.java

Violation Line
Avoid unused private methods such as '_warn(IPSElement,String)'. 87
Avoid unused private methods such as '_error(IPSElement,String,Throwable)'. 95

com/helger/schematron/xslt/AbstractSchematronXSLTResource.java

Violation Line
Do not use if statements that are always true or always false 211
Do not use if statements that are always true or always false 218

com/helger/schematron/xslt/SchematronProviderXSLTFromSCH.java

Violation Line
Unnecessary final modifier in final class 190–193