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 'key_'. 60
Avoid unused private fields such as 'value_'. 61
Avoid empty catch blocks 188 - 190

com/gargoylesoftware/htmlunit/WebAssert.java

Violation Line
Avoid empty catch blocks 250 - 252

com/gargoylesoftware/htmlunit/WebClient.java

Violation Line
Avoid empty catch blocks 980 - 982
Avoid empty catch blocks 1299 - 1301

com/gargoylesoftware/htmlunit/WebResponseImpl.java

Violation Line
Avoid unused constructor parameters such as 'charset'. 69 - 72

com/gargoylesoftware/htmlunit/html/BaseFrame.java

Violation Line
Avoid empty catch blocks 74 - 76
Avoid empty catch blocks 77 - 79

com/gargoylesoftware/htmlunit/html/DoTypeProcessor.java

Violation Line
Avoid empty if statements 34 - 37

com/gargoylesoftware/htmlunit/html/HTMLParserListener.java

Violation Line
Avoid unused method parameters such as 'key'. 83 - 93

com/gargoylesoftware/htmlunit/html/HtmlFileInput.java

Violation Line
Avoid empty catch blocks 104 - 106

com/gargoylesoftware/htmlunit/html/HtmlOption.java

Violation Line
Overriding method merely calls super 261 - 263

com/gargoylesoftware/htmlunit/html/HtmlPage.java

Violation Line
Avoid unused constructor parameters such as 'originatingUrl'. 148 - 150
Avoid empty catch blocks 894 - 896
Overriding method merely calls super 2223 - 2225

com/gargoylesoftware/htmlunit/html/HtmlScript.java

Violation Line
These nested if statements could be combined 343 - 350

com/gargoylesoftware/htmlunit/html/HtmlSerializer.java

Violation Line
Avoid empty if statements 121 - 123
Avoid empty if statements 129 - 131
Avoid unused method parameters such as 'child'. 324 - 326

com/gargoylesoftware/htmlunit/html/HtmlTable.java

Violation Line
These nested if statements could be combined 71 - 73

com/gargoylesoftware/htmlunit/html/XmlSerializer.java

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

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

Violation Line
These nested if statements could be combined 67 - 69

com/gargoylesoftware/htmlunit/javascript/ProxyAutoConfig.java

Violation Line
Avoid empty catch blocks 362 - 364

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

Violation Line
Avoid empty catch blocks 264 - 266
Avoid empty catch blocks 275 - 277
Avoid empty if statements 359 - 361

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

Violation Line
Avoid empty catch blocks 317 - 319
Avoid empty catch blocks 388 - 390

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

Violation Line
These nested if statements could be combined 196 - 204
These nested if statements could be combined 198 - 201
These nested if statements could be combined 218 - 221

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

Violation Line
Avoid empty catch blocks 338 - 340

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

Violation Line
Avoid empty catch blocks 119 - 121

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

Violation Line
These nested if statements could be combined 1514 - 1516
These nested if statements could be combined 4061 - 4063
Avoid empty catch blocks 4533 - 4535

com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleRule.java

Violation Line
Avoid empty if statements 61 - 63

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

Violation Line
Avoid empty catch blocks 531 - 533

com/gargoylesoftware/htmlunit/javascript/host/html/HTMLDocument.java

Violation Line
Avoid empty catch blocks 710 - 712

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

Violation Line
Avoid empty catch blocks 523 - 525
Avoid empty catch blocks 526 - 528
Avoid empty catch blocks 2417 - 2419

com/gargoylesoftware/htmlunit/javascript/host/html/HTMLFormElement.java

Violation Line
Avoid empty catch blocks 147 - 149

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

Violation Line
Avoid empty catch blocks 337 - 339

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

Violation Line
Avoid unused method parameters such as 'beforeData'. 92 - 95

com/gargoylesoftware/htmlunit/xml/XmlPage.java

Violation Line
Overriding method merely calls super 418 - 420