PMD Results
The following document contains the results of PMD 3.9.
Files
net/sf/magicproject/action/MoveCard.java
Violation | Line |
---|
These nested if statements could be combined | 313 - 317 |
net/sf/magicproject/action/target/ChoosenTarget.java
Violation | Line |
---|
These nested if statements could be combined | 339 - 345 |
net/sf/magicproject/chart/datasets/HistogramDataset.java
Violation | Line |
---|
Avoid empty try blocks | 86 - 88 |
net/sf/magicproject/clickable/ability/Ability.java
Violation | Line |
---|
Ensure you override both equals() and hashCode() | 489 |
net/sf/magicproject/clickable/ability/RefreshAbility.java
Violation | Line |
---|
Ensure you override both equals() and hashCode() | 99 |
net/sf/magicproject/clickable/ability/RemoveModifier.java
Violation | Line |
---|
Ensure you override both equals() and hashCode() | 99 |
net/sf/magicproject/clickable/action/JChoosenAction.java
Violation | Line |
---|
Avoid empty catch blocks | 89 - 91 |
net/sf/magicproject/clickable/targetable/card/CardFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 105 - 107 |
Avoid empty catch blocks | 118 - 120 |
Avoid empty catch blocks | 127 - 129 |
net/sf/magicproject/clickable/targetable/card/MCard.java
Violation | Line |
---|
These nested if statements could be combined | 1388 - 1390 |
These nested if statements could be combined | 1521 - 1527 |
net/sf/magicproject/clickable/targetable/card/TriggeredCard.java
Violation | Line |
---|
Avoid empty catch blocks | 212 - 214 |
net/sf/magicproject/clickable/targetable/card/VirtualCard.java
Violation | Line |
---|
Avoid empty if statements | 545 - 547 |
Avoid empty if statements | 547 - 549 |
Avoid empty if statements | 549 - 551 |
net/sf/magicproject/database/DatabaseCard.java
Violation | Line |
---|
Avoid empty catch blocks | 363 - 365 |
net/sf/magicproject/database/propertyconfig/PropertyConfig.java
Violation | Line |
---|
Ensure you override both equals() and hashCode() | 87 |
net/sf/magicproject/DeckBuilder.java
Violation | Line |
---|
Avoid empty catch blocks | 140 - 142 |
These nested if statements could be combined | 593 - 594 |
Avoid empty catch blocks | 663 - 665 |
Avoid empty catch blocks | 922 - 924 |
net/sf/magicproject/deckbuilder/CardView.java
Violation | Line |
---|
Unnecessary final modifier in final class | 49 - 51 |
net/sf/magicproject/deckbuilder/DeckReader.java
Violation | Line |
---|
Avoid empty catch blocks | 268 - 270 |
net/sf/magicproject/deckbuilder/DeckRules.java
Violation | Line |
---|
Avoid empty catch blocks | 68 - 70 |
net/sf/magicproject/deckbuilder/MdbLoader.java
Violation | Line |
---|
Avoid empty catch blocks | 150 - 152 |
net/sf/magicproject/event/MovedCard.java
Violation | Line |
---|
Ensure you override both equals() and hashCode() | 218 |
net/sf/magicproject/event/NeverTriggered.java
Violation | Line |
---|
Overriding method merely calls super | 59 - 61 |
net/sf/magicproject/Magic.java
Violation | Line |
---|
Avoid empty catch blocks | 293 - 295 |
Avoid empty catch blocks | 607 - 609 |
net/sf/magicproject/management/MonitoredCheckContent.java
Violation | Line |
---|
Avoid empty catch blocks | 239 - 241 |
net/sf/magicproject/modifier/ObjectFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 84 - 86 |
net/sf/magicproject/modifier/PropertyModifier.java
Violation | Line |
---|
These nested if statements could be combined | 155 - 158 |
net/sf/magicproject/network/ConnectionManager.java
Violation | Line |
---|
Avoid empty catch blocks | 75 - 77 |
Avoid empty catch blocks | 85 - 87 |
net/sf/magicproject/network/NetworkActor.java
Violation | Line |
---|
Avoid empty catch blocks | 91 - 93 |
net/sf/magicproject/network/Server.java
Violation | Line |
---|
Avoid empty catch blocks | 98 - 103 |
Avoid empty catch blocks | 293 - 295 |
net/sf/magicproject/tools/MToolKit.java
Violation | Line |
---|
Avoid empty catch blocks | 1157 - 1159 |
Avoid empty catch blocks | 1178 - 1180 |
Avoid empty catch blocks | 1185 - 1187 |
Avoid empty catch blocks | 1259 - 1261 |
net/sf/magicproject/tools/TimerTarget.java
Violation | Line |
---|
Avoid empty catch blocks | 57 - 59 |
net/sf/magicproject/tools/WebBrowser.java
Violation | Line |
---|
Avoid empty catch blocks | 133 - 135 |
net/sf/magicproject/ui/component/ChatArea.java
Violation | Line |
---|
Avoid empty catch blocks | 245 - 247 |
net/sf/magicproject/ui/component/JPrompt.java
Violation | Line |
---|
Avoid empty catch blocks | 121 - 123 |
net/sf/magicproject/ui/component/LoaderConsole.java
Violation | Line |
---|
Avoid empty catch blocks | 118 - 120 |
net/sf/magicproject/ui/component/SplashScreen.java
Violation | Line |
---|
Avoid empty catch blocks | 105 - 107 |
net/sf/magicproject/ui/HireListener.java
Violation | Line |
---|
Avoid empty if statements | 106 - 110 |
Avoid empty catch blocks | 192 - 194 |
Avoid unnecessary return statements | 207 |
Avoid unnecessary return statements | 212 |
Avoid unnecessary return statements | 217 |
Avoid unnecessary return statements | 222 |
net/sf/magicproject/ui/MagicUIComponents.java
Violation | Line |
---|
Avoid empty catch blocks | 139 - 141 |
net/sf/magicproject/ui/MListModel.java
Violation | Line |
---|
This usage of the Collection.toArray() method will throw a ClassCastException. | 389 |
net/sf/magicproject/ui/TargetGlassPane.java
Violation | Line |
---|
Avoid empty catch blocks | 126 - 128 |
net/sf/magicproject/ui/wizard/InputNumber.java
Violation | Line |
---|
Avoid empty catch blocks | 203 - 205 |
net/sf/magicproject/ui/wizard/Network.java
Violation | Line |
---|
Avoid empty catch blocks | 207 - 209 |
net/sf/magicproject/ui/wizard/Server.java
Violation | Line |
---|
Avoid empty catch blocks | 70 - 72 |
net/sf/magicproject/ui/wizard/Wizard.java
Violation | Line |
---|
Avoid empty catch blocks | 186 - 188 |
net/sf/magicproject/xml/Oracle2Xml.java
Violation | Line |
---|
Avoid empty catch blocks | 1108 - 1110 |
These nested if statements could be combined | 1520 - 1603 |
net/sf/magicproject/xml/test/Test.java
Violation | Line |
---|
These nested if statements could be combined | 69 - 74 |
net/sf/magicproject/xml/XmlConfiguration.java
Violation | Line |
---|
Avoid empty catch blocks | 333 - 335 |
net/sf/magicproject/xml/XmlParser.java
Violation | Line |
---|
Overriding method merely calls super | 660 - 662 |
net/sf/magicproject/zone/MZone.java
Violation | Line |
---|
Avoid empty catch blocks | 319 - 321 |