PMD Results

The following document contains the results of PMD 3.9.

Files

com/gargoylesoftware/htmlunit/Cache.java

Violation Line
Avoid unused private fields such as 'response_'. 72
Avoid empty catch blocks 173 - 175

com/gargoylesoftware/htmlunit/PluginConfiguration.java

Violation Line
Ensure you override both equals() and hashCode() 105
Ensure you override both equals() and hashCode() 158

com/gargoylesoftware/htmlunit/WebAssert.java

Violation Line
Avoid empty catch blocks 273 - 275

com/gargoylesoftware/htmlunit/WebClient.java

Violation Line
Avoid empty catch blocks 977 - 979
Avoid empty catch blocks 1406 - 1408
These nested if statements could be combined 1506 - 1509

com/gargoylesoftware/htmlunit/html/BaseFrame.java

Violation Line
Avoid empty catch blocks 92 - 94
Avoid empty catch blocks 95 - 97

com/gargoylesoftware/htmlunit/html/HtmlFileInput.java

Violation Line
Avoid empty catch blocks 102 - 104

com/gargoylesoftware/htmlunit/html/HtmlPage.java

Violation Line
Avoid unused constructor parameters such as 'originatingUrl'. 158 - 160
These nested if statements could be combined 1091 - 1095

com/gargoylesoftware/htmlunit/html/HtmlScript.java

Violation Line
These nested if statements could be combined 317 - 324

com/gargoylesoftware/htmlunit/html/HtmlTable.java

Violation Line
These nested if statements could be combined 93 - 95

com/gargoylesoftware/htmlunit/html/xpath/HtmlUnitPrefixResolver.java

Violation Line
These nested if statements could be combined 90 - 92

com/gargoylesoftware/htmlunit/javascript/configuration/JavaScriptConfiguration.java

Violation Line
Avoid empty catch blocks 245 - 247
Avoid empty catch blocks 256 - 258
Avoid empty if statements 343 - 345

com/gargoylesoftware/htmlunit/javascript/host/CSSRuleList.java

Violation Line
Avoid empty catch blocks 134 - 136

com/gargoylesoftware/htmlunit/javascript/host/CSSStyleDeclaration.java

Violation Line
These nested if statements could be combined 1438 - 1440
These nested if statements could be combined 3916 - 3918
Avoid empty catch blocks 4188 - 4190

com/gargoylesoftware/htmlunit/javascript/host/Document.java

Violation Line
Avoid empty catch blocks 574 - 576
Avoid empty catch blocks 823 - 825
Avoid empty catch blocks 852 - 854
Avoid empty catch blocks 922 - 924

com/gargoylesoftware/htmlunit/javascript/host/EventListenersContainer.java

Violation Line
Avoid unused private fields such as 'handler_'. 59

com/gargoylesoftware/htmlunit/javascript/host/FormField.java

Violation Line
Avoid empty catch blocks 189 - 191

com/gargoylesoftware/htmlunit/javascript/host/HTMLCollection.java

Violation Line
Avoid empty catch blocks 498 - 500

com/gargoylesoftware/htmlunit/javascript/host/HTMLElement.java

Violation Line
Avoid empty catch blocks 433 - 435
Avoid empty catch blocks 436 - 438

com/gargoylesoftware/htmlunit/javascript/host/HTMLSelectElement.java

Violation Line
Avoid empty catch blocks 334 - 336

com/gargoylesoftware/htmlunit/javascript/host/Window.java

Violation Line
Avoid empty catch blocks 272 - 274
These nested if statements could be combined 833 - 848

com/gargoylesoftware/htmlunit/protocol/data/DataUrlDecoder.java

Violation Line
Avoid unused method parameters such as 'beforeData'. 115 - 118

com/gargoylesoftware/htmlunit/xml/XmlAttr.java

Violation Line
Overriding method merely calls super 141 - 143