The following document contains the results of PMD 4.2.2.
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.beans.PropertyChangeListener' | 22 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 154 - 156 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 388 - 390 |
| Avoid empty if statements | 390 - 392 |
| Avoid empty if statements | 432 - 434 |
| Avoid empty if statements | 454 - 456 |
| Avoid empty if statements | 478 - 480 |
| Avoid empty if statements | 506 - 508 |
| Avoid empty if statements | 551 - 553 |
| Avoid empty if statements | 564 - 566 |
| Avoid empty if statements | 600 - 602 |
| Avoid empty if statements | 635 - 637 |
| Avoid empty if statements | 650 - 652 |
| Avoid empty if statements | 710 - 712 |
| Avoid empty if statements | 745 - 747 |
| Avoid empty if statements | 780 - 782 |
| Avoid empty if statements | 786 - 788 |
| Avoid empty if statements | 801 - 803 |
| Avoid empty if statements | 899 - 901 |
| Avoid empty if statements | 901 - 903 |
| Avoid empty if statements | 924 - 926 |
| Avoid empty if statements | 986 - 988 |
| Avoid empty if statements | 1043 - 1045 |
| Avoid empty if statements | 1104 - 1106 |
| Avoid unused local variables such as 'initialView'. | 1244 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 472 - 474 |
| Avoid unused method parameters such as 'out'. | 641 - 645 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 621 - 623 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.sql.ResultSet' | 22 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'columnWidthList'. | 406 - 449 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'ca.sqlpower.query.SQLObjectItem' | 27 |
| Avoid unused imports such as 'ca.sqlpower.query.StringItem' | 28 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 117 - 120 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 404 - 406 |
| These nested if statements could be combined | 416 - 418 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'session'. | 52 - 62 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'session'. | 49 - 59 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 437 - 439 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'j'. | 99 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'printASTree(Tree,int)'. | 66 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'EXPAND_ACTION'. | 223 |
| Avoid unused local variables such as 'name'. | 718 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 1620 - 1622 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 327 - 329 |
| Avoid empty catch blocks | 364 - 366 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 117 - 128 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'javax.swing.JLabel' | 33 |
| Avoid unused imports such as 'net.miginfocom.swing.MigLayout' | 36 |
| Avoid unused imports such as 'ca.sqlpower.wabit.swingui.WabitSwingSessionImpl' | 43 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 54 - 56 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.olap4j.OlapException' | 26 |
| Avoid unused imports such as 'ca.sqlpower.wabit.olap.QueryInitializationException' | 32 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.sql.SQLException' | 23 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'dialogOwner'. | 37 - 49 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 194 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'chartHasChanges'. | 211 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.awt.geom.Rectangle2D' | 26 |
| Avoid unused imports such as 'org.apache.log4j.Priority' | 32 |
| Avoid unused imports such as 'org.jfree.data.general.PieDataset' | 59 |
| Avoid empty if statements | 201 - 204 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 41 - 43 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 315 - 317 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'preferredSizes'. | 107 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 526 - 528 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'isMousePressed'. | 293 - 313 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.olap4j.OlapException' | 22 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.olap4j.OlapException' | 23 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 129 - 131 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'renderer'. | 42 - 44 |
| Avoid unused constructor parameters such as 'workspace'. | 42 - 44 |
| Violation | Line |
|---|---|
| An empty statement (semicolon) not part of a loop | 314 |
| These nested if statements could be combined | 368 - 371 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'workspace'. | 61 - 126 |
| These nested if statements could be combined | 209 - 211 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'ca.sqlpower.wabit.report.Report' | 39 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'ca.sqlpower.wabit.report.Report' | 46 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'ca.sqlpower.wabit.report.Report' | 49 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'ca.sqlpower.wabit.report.Report' | 29 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 411 - 413 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.EventObject' | 27 |
| These nested if statements could be combined | 59 - 61 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 205 - 207 |