PMD Results

The following document contains the results of PMD 4.2.5.

Files

nl/tudelft/goal/ut2004/visualizer/data/EnvironmentData.java

ViolationLine
Avoid unused imports such as 'java.rmi.RMISecurityManager'5

nl/tudelft/goal/ut2004/visualizer/data/GameStatusData.java

ViolationLine
Avoid unused private fields such as 'NUMBER_OF_TEAMS'.42

nl/tudelft/goal/ut2004/visualizer/gui/UnrealVisualizerGUI.java

ViolationLine
Avoid unused local variables such as 'serverDefinition'.91

nl/tudelft/goal/ut2004/visualizer/gui/action/AddInventoryAction.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint'10
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetGameSpeed'12
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SpawnActor'13

nl/tudelft/goal/ut2004/visualizer/gui/action/AddNativeBotAction.java

ViolationLine
Avoid unused private fields such as 'location'.21
Avoid unused private fields such as 'team'.23

nl/tudelft/goal/ut2004/visualizer/gui/action/AddUnrealGoalBotAction.java

ViolationLine
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'14
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'18
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddBot'19
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'20
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'21
Avoid unused private fields such as 'location'.27

nl/tudelft/goal/ut2004/visualizer/gui/action/ChangeMapAction.java

ViolationLine
Avoid unused imports such as 'java.awt.event.ActionListener'4
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.SuggestionField'11
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.GameInfo'14

nl/tudelft/goal/ut2004/visualizer/gui/action/ChangeTeamAction.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player'26

nl/tudelft/goal/ut2004/visualizer/gui/action/KickAction.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.bot.IUnrealBot'8
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.bot.impl.NativeUT2004BotAdapter'10
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player'12

nl/tudelft/goal/ut2004/visualizer/gui/action/RespawnAction.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint'26

nl/tudelft/goal/ut2004/visualizer/gui/action/RespawnHereAction.java

ViolationLine
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.WaypointBox'7
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'10
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'14

nl/tudelft/goal/ut2004/visualizer/gui/action/RespawnRandomAction.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'9
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Player'12
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'13

nl/tudelft/goal/ut2004/visualizer/gui/action/ShowDialogueAction.java

ViolationLine
Avoid unused imports such as 'java.awt.Component'3
Avoid unused imports such as 'java.awt.Graphics'4
Avoid unused imports such as 'javax.swing.Icon'9
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'12
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.dialogs.ChangeGameSpeedDialog'13
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'15
Avoid unused imports such as 'cz.cuni.amis.utils.flag.FlagListener'16

nl/tudelft/goal/ut2004/visualizer/gui/action/ShowServerDependentDialogueAction.java

ViolationLine
Avoid unused imports such as 'java.awt.Component'3
Avoid unused imports such as 'java.awt.Graphics'4
Avoid unused imports such as 'java.awt.event.ActionEvent'5
Avoid unused imports such as 'javax.swing.AbstractAction'7
Avoid unused imports such as 'javax.swing.Action'8
Avoid unused imports such as 'javax.swing.Icon'9
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.dialogs.ChangeGameSpeedDialog'13

nl/tudelft/goal/ut2004/visualizer/gui/action/ShowServerEnvironmentDependentDialogueAction.java

ViolationLine
Avoid unused imports such as 'java.awt.Component'3
Avoid unused imports such as 'java.awt.Graphics'4
Avoid unused imports such as 'java.awt.event.ActionEvent'5
Avoid unused imports such as 'javax.swing.AbstractAction'8
Avoid unused imports such as 'javax.swing.Action'9
Avoid unused imports such as 'javax.swing.Icon'10
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.dialogs.ChangeGameSpeedDialog'15

nl/tudelft/goal/ut2004/visualizer/gui/action/SpawnItemAction.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.messages.gbinfomessages.IPlayer'9
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddInventory'11
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetGameSpeed'12

nl/tudelft/goal/ut2004/visualizer/gui/dialogs/AddNativeBotDialog.java

ViolationLine
Avoid unused imports such as 'java.awt.GridLayout'21
Avoid unused imports such as 'java.awt.event.ActionEvent'22
Avoid unused imports such as 'java.awt.event.ActionListener'23
Avoid unused imports such as 'java.util.Collection'24
Avoid unused imports such as 'javax.swing.JOptionPane'31
Avoid unused imports such as 'javax.swing.JScrollPane'32
Avoid unused imports such as 'javax.swing.ListSelectionModel'35
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'38
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableWayPoint'41
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'43
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddBot'45
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'47
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'48
Avoid unused imports such as 'cz.cuni.amis.utils.exception.PogamutException'49
Avoid unused private fields such as 'closeButton'.87

nl/tudelft/goal/ut2004/visualizer/gui/dialogs/AddUnrealGoalBotDialog.java

ViolationLine
Avoid unused imports such as 'java.awt.GridLayout'21
Avoid unused imports such as 'java.awt.event.ActionEvent'22
Avoid unused imports such as 'java.awt.event.ActionListener'23
Avoid unused imports such as 'javax.swing.JOptionPane'32
Avoid unused imports such as 'javax.swing.JScrollPane'33
Avoid unused imports such as 'javax.swing.ListSelectionModel'36
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.AddNativeBotAction'43
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableWayPoint'48
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'49
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddBot'51
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'53
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'54
Avoid unused imports such as 'cz.cuni.amis.utils.collections.CollectionEventListener'55
Avoid unused imports such as 'cz.cuni.amis.utils.exception.PogamutException'57
Avoid unused private fields such as 'closeButton'.95

nl/tudelft/goal/ut2004/visualizer/gui/dialogs/ChangeGameSpeedDialog.java

ViolationLine
Avoid unused imports such as 'java.awt.GridLayout'21
Avoid unused imports such as 'java.awt.event.ActionEvent'22
Avoid unused imports such as 'java.awt.event.ActionListener'23
Avoid unused imports such as 'java.util.Collection'24
Avoid unused imports such as 'javax.swing.JComboBox'27
Avoid unused imports such as 'javax.swing.JList'30
Avoid unused imports such as 'javax.swing.JOptionPane'31
Avoid unused imports such as 'javax.swing.JScrollPane'32
Avoid unused imports such as 'javax.swing.JTextField'34
Avoid unused imports such as 'javax.swing.ListSelectionModel'35
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'38
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.AddNativeBotAction'39
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.WaypointBox'42
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableWayPoint'43
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'45
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint'46
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddBot'47
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint'48
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'49
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'50
Avoid unused imports such as 'cz.cuni.amis.utils.exception.PogamutException'51

nl/tudelft/goal/ut2004/visualizer/gui/dialogs/ChangeMapDialog.java

ViolationLine
Avoid unused imports such as 'java.awt.GridLayout'21
Avoid unused imports such as 'java.awt.event.ActionEvent'22
Avoid unused imports such as 'java.awt.event.ActionListener'23
Avoid unused imports such as 'java.util.Collection'24
Avoid unused imports such as 'javax.swing.JComboBox'27
Avoid unused imports such as 'javax.swing.JLabel'29
Avoid unused imports such as 'javax.swing.JList'30
Avoid unused imports such as 'javax.swing.JOptionPane'31
Avoid unused imports such as 'javax.swing.JScrollPane'32
Avoid unused imports such as 'javax.swing.JSpinner'33
Avoid unused imports such as 'javax.swing.JTextField'34
Avoid unused imports such as 'javax.swing.ListSelectionModel'35
Avoid unused imports such as 'javax.swing.SpinnerNumberModel'36
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'38
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.AddNativeBotAction'39
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.SetSpeedAction'41
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.WaypointBox'43
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableWayPoint'44
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'46
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint'47
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddBot'48
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint'49
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'50
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'51
Avoid unused imports such as 'cz.cuni.amis.utils.exception.PogamutException'52

nl/tudelft/goal/ut2004/visualizer/gui/dialogs/ListEnvironmentsDialog.java

ViolationLine
Avoid unused imports such as 'javax.swing.JComboBox'8
Avoid unused imports such as 'javax.swing.ListModel'11
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint'22

nl/tudelft/goal/ut2004/visualizer/gui/dialogs/ServerConnectionDialog.java

ViolationLine
Avoid unused imports such as 'java.awt.FlowLayout'19
Avoid unused imports such as 'java.awt.GridLayout'21
Avoid unused imports such as 'java.awt.event.ActionEvent'22
Avoid unused imports such as 'java.awt.event.ActionListener'23
Avoid unused imports such as 'java.util.Collection'24
Avoid unused imports such as 'javax.swing.JButton'26
Avoid unused imports such as 'javax.swing.JComboBox'27
Avoid unused imports such as 'javax.swing.JLabel'29
Avoid unused imports such as 'javax.swing.JList'30
Avoid unused imports such as 'javax.swing.JOptionPane'31
Avoid unused imports such as 'javax.swing.JScrollPane'32
Avoid unused imports such as 'javax.swing.JSpinner'33
Avoid unused imports such as 'javax.swing.JTextField'34
Avoid unused imports such as 'javax.swing.ListSelectionModel'35
Avoid unused imports such as 'javax.swing.SpinnerNumberModel'36
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'38
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.AddNativeBotAction'39
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.ChangeMapAction'40
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.action.SetSpeedAction'41
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.MapBox'42
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.WaypointBox'43
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableWayPoint'45
Avoid unused imports such as 'cz.cuni.amis.pogamut.base3d.worldview.object.Location'48
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealWaypoint'49
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddBot'50
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint'51
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'52
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'53
Avoid unused imports such as 'cz.cuni.amis.utils.exception.PogamutException'54

nl/tudelft/goal/ut2004/visualizer/gui/panels/MapPanel.java

ViolationLine
Avoid unused imports such as 'java.awt.event.MouseAdapter'27
Avoid unused imports such as 'java.awt.event.MouseEvent'28
Avoid unused imports such as 'java.awt.event.MouseListener'29
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.bot.IUnrealBot'55
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealMap'57
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.bot.impl.NativeUT2004BotAdapter'60
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.INavPoint'61
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.AddInventory'62
Avoid unused private fields such as 'NO_INFO_MSG'.77
Avoid unused private fields such as 'teamNames'.79

nl/tudelft/goal/ut2004/visualizer/gui/panels/ServerPanel.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'4
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.controller.ServerController'14
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.SuggestionField'19
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.gui.widgets.SuggestionModel'20
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableMapList'21
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MapList'23
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.server.IUT2004Server'24

nl/tudelft/goal/ut2004/visualizer/gui/widgets/SuggestionField.java

ViolationLine
Avoid unused imports such as 'nl.tudelft.goal.ut2004.visualizer.util.SelectableWayPoint'6
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint'9
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint'10

nl/tudelft/goal/ut2004/visualizer/gui/widgets/SuggestionModel.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'4
Avoid unused imports such as 'cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MapList'14

nl/tudelft/goal/ut2004/visualizer/util/SelectableEnvironment.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.pogamut.unreal.bot.IUnrealBot'9