PMD Results

The following document contains the results of PMD 3.7.

Files

org/w3c/tidy/ant/JTidyTask.java

ViolationLine
Avoid empty catch blocks463 - 466
Avoid empty catch blocks472 - 475

org/w3c/tidy/AttVal.java

ViolationLine
These nested if statements could be combined195 - 198

org/w3c/tidy/Clean.java

ViolationLine
Avoid unused method parameters such as 'tag'299 - 307
These nested if statements could be combined498 - 507
Avoid unused method parameters such as 'lexer'999 - 1028
Avoid unused method parameters such as 'lexer'1038 - 1076
Avoid unused method parameters such as 'lexer'1172 - 1201
These nested if statements could be combined1269 - 1289
These nested if statements could be combined1330 - 1374
Avoid unused method parameters such as 'pnode'1388 - 1433
Avoid unused method parameters such as 'prepl'1573 - 1596
These nested if statements could be combined1905 - 1909
These nested if statements could be combined2132 - 2163

org/w3c/tidy/DOMDocumentTypeImpl.java

ViolationLine
These nested if statements could be combined101 - 104

org/w3c/tidy/DOMNodeImpl.java

ViolationLine
These nested if statements could be combined97 - 100
These nested if statements could be combined290 - 297
These nested if statements could be combined353 - 360
These nested if statements could be combined475 - 482

org/w3c/tidy/DOMNodeListByTagNameImpl.java

ViolationLine
These nested if statements could be combined145 - 149

org/w3c/tidy/EntityTable.java

ViolationLine
Avoid empty catch blocks398 - 401

org/w3c/tidy/Lexer.java

ViolationLine
These nested if statements could be combined1608 - 1611
These nested if statements could be combined1931 - 1935
These nested if statements could be combined2583 - 2587
These nested if statements could be combined2592 - 2598
These nested if statements could be combined2757 - 2763
These nested if statements could be combined3144 - 3147
These nested if statements could be combined3463 - 3472

org/w3c/tidy/Node.java

ViolationLine
These nested if statements could be combined1318 - 1321
These nested if statements could be combined1326 - 1329

org/w3c/tidy/ParserImpl.java

ViolationLine
These nested if statements could be combined1024 - 1028
These nested if statements could be combined1452 - 1487
These nested if statements could be combined2171 - 2174
These nested if statements could be combined2262 - 2269
These nested if statements could be combined2436 - 2439
These nested if statements could be combined3504 - 3512
These nested if statements could be combined3521 - 3529

org/w3c/tidy/PPrint.java

ViolationLine
These nested if statements could be combined819 - 838
These nested if statements could be combined1022 - 1025
Avoid unused method parameters such as 'lexer'1342 - 1399
These nested if statements could be combined1385 - 1390
Avoid unused method parameters such as 'mode'1406 - 1430
Avoid unused method parameters such as 'indent'1406 - 1430
Avoid unused method parameters such as 'lexer'1473 - 1551
Avoid unused method parameters such as 'lexer'1793 - 1812
Avoid empty if statements1876
These nested if statements could be combined1942 - 1965

org/w3c/tidy/Report.java

ViolationLine
These nested if statements could be combined1512 - 1515

org/w3c/tidy/TagCheckImpl.java

ViolationLine
These nested if statements could be combined274 - 277

org/w3c/tidy/Tidy.java

ViolationLine
Avoid empty catch blocks663 - 666
Avoid empty catch blocks676 - 679
Avoid empty catch blocks719 - 722

org/w3c/tidy/TidyMessage.java

ViolationLine
Overriding method merely calls super273 - 277