PMD Results

The following document contains the results of PMD 3.9.

Files

net/sf/magicproject/action/MoveCard.java

ViolationLine
These nested if statements could be combined313 - 317

net/sf/magicproject/action/target/ChoosenTarget.java

ViolationLine
These nested if statements could be combined339 - 345

net/sf/magicproject/chart/datasets/HistogramDataset.java

ViolationLine
Avoid empty try blocks86 - 88

net/sf/magicproject/clickable/ability/Ability.java

ViolationLine
Ensure you override both equals() and hashCode()489

net/sf/magicproject/clickable/ability/RefreshAbility.java

ViolationLine
Ensure you override both equals() and hashCode()99

net/sf/magicproject/clickable/ability/RemoveModifier.java

ViolationLine
Ensure you override both equals() and hashCode()99

net/sf/magicproject/clickable/action/JChoosenAction.java

ViolationLine
Avoid empty catch blocks89 - 91

net/sf/magicproject/clickable/targetable/card/CardFactory.java

ViolationLine
Avoid empty catch blocks105 - 107
Avoid empty catch blocks118 - 120
Avoid empty catch blocks127 - 129

net/sf/magicproject/clickable/targetable/card/MCard.java

ViolationLine
These nested if statements could be combined1388 - 1390
These nested if statements could be combined1521 - 1527

net/sf/magicproject/clickable/targetable/card/TriggeredCard.java

ViolationLine
Avoid empty catch blocks212 - 214

net/sf/magicproject/clickable/targetable/card/VirtualCard.java

ViolationLine
Avoid empty if statements545 - 547
Avoid empty if statements547 - 549
Avoid empty if statements549 - 551

net/sf/magicproject/database/DatabaseCard.java

ViolationLine
Avoid empty catch blocks363 - 365

net/sf/magicproject/database/propertyconfig/PropertyConfig.java

ViolationLine
Ensure you override both equals() and hashCode()87

net/sf/magicproject/DeckBuilder.java

ViolationLine
Avoid empty catch blocks140 - 142
These nested if statements could be combined593 - 594
Avoid empty catch blocks663 - 665
Avoid empty catch blocks922 - 924

net/sf/magicproject/deckbuilder/CardView.java

ViolationLine
Unnecessary final modifier in final class49 - 51

net/sf/magicproject/deckbuilder/DeckReader.java

ViolationLine
Avoid empty catch blocks268 - 270

net/sf/magicproject/deckbuilder/DeckRules.java

ViolationLine
Avoid empty catch blocks68 - 70

net/sf/magicproject/deckbuilder/MdbLoader.java

ViolationLine
Avoid empty catch blocks150 - 152

net/sf/magicproject/event/MovedCard.java

ViolationLine
Ensure you override both equals() and hashCode()218

net/sf/magicproject/event/NeverTriggered.java

ViolationLine
Overriding method merely calls super59 - 61

net/sf/magicproject/Magic.java

ViolationLine
Avoid empty catch blocks293 - 295
Avoid empty catch blocks607 - 609

net/sf/magicproject/management/MonitoredCheckContent.java

ViolationLine
Avoid empty catch blocks239 - 241

net/sf/magicproject/modifier/ObjectFactory.java

ViolationLine
Avoid empty catch blocks84 - 86

net/sf/magicproject/modifier/PropertyModifier.java

ViolationLine
These nested if statements could be combined155 - 158

net/sf/magicproject/network/ConnectionManager.java

ViolationLine
Avoid empty catch blocks75 - 77
Avoid empty catch blocks85 - 87

net/sf/magicproject/network/NetworkActor.java

ViolationLine
Avoid empty catch blocks91 - 93

net/sf/magicproject/network/Server.java

ViolationLine
Avoid empty catch blocks98 - 103
Avoid empty catch blocks293 - 295

net/sf/magicproject/tools/MToolKit.java

ViolationLine
Avoid empty catch blocks1157 - 1159
Avoid empty catch blocks1178 - 1180
Avoid empty catch blocks1185 - 1187
Avoid empty catch blocks1259 - 1261

net/sf/magicproject/tools/TimerTarget.java

ViolationLine
Avoid empty catch blocks57 - 59

net/sf/magicproject/tools/WebBrowser.java

ViolationLine
Avoid empty catch blocks133 - 135

net/sf/magicproject/ui/component/ChatArea.java

ViolationLine
Avoid empty catch blocks245 - 247

net/sf/magicproject/ui/component/JPrompt.java

ViolationLine
Avoid empty catch blocks121 - 123

net/sf/magicproject/ui/component/LoaderConsole.java

ViolationLine
Avoid empty catch blocks118 - 120

net/sf/magicproject/ui/component/SplashScreen.java

ViolationLine
Avoid empty catch blocks105 - 107

net/sf/magicproject/ui/HireListener.java

ViolationLine
Avoid empty if statements106 - 110
Avoid empty catch blocks192 - 194
Avoid unnecessary return statements207
Avoid unnecessary return statements212
Avoid unnecessary return statements217
Avoid unnecessary return statements222

net/sf/magicproject/ui/MagicUIComponents.java

ViolationLine
Avoid empty catch blocks139 - 141

net/sf/magicproject/ui/MListModel.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.389

net/sf/magicproject/ui/TargetGlassPane.java

ViolationLine
Avoid empty catch blocks126 - 128

net/sf/magicproject/ui/wizard/InputNumber.java

ViolationLine
Avoid empty catch blocks203 - 205

net/sf/magicproject/ui/wizard/Network.java

ViolationLine
Avoid empty catch blocks207 - 209

net/sf/magicproject/ui/wizard/Server.java

ViolationLine
Avoid empty catch blocks70 - 72

net/sf/magicproject/ui/wizard/Wizard.java

ViolationLine
Avoid empty catch blocks186 - 188

net/sf/magicproject/xml/Oracle2Xml.java

ViolationLine
Avoid empty catch blocks1108 - 1110
These nested if statements could be combined1520 - 1603

net/sf/magicproject/xml/test/Test.java

ViolationLine
These nested if statements could be combined69 - 74

net/sf/magicproject/xml/XmlConfiguration.java

ViolationLine
Avoid empty catch blocks333 - 335

net/sf/magicproject/xml/XmlParser.java

ViolationLine
Overriding method merely calls super660 - 662

net/sf/magicproject/zone/MZone.java

ViolationLine
Avoid empty catch blocks319 - 321