PMD Results

The following document contains the results of PMD

Files

org/tmforum/mtosi/simulator/client/jaxrpc/axis13/MtosiClientImpl.java

ViolationLine
Each class should declare at least one constructor65
Assigning an Object to null is a code smell. Consider refactoring.130

org/tmforum/mtosi/simulator/client/MtosiClient.java

ViolationLine
Each class should declare at least one constructor52
A method should have only one exit point, and that should be the last statement in the method129
A method should have only one exit point, and that should be the last statement in the method133
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.136
A method should have only one exit point, and that should be the last statement in the method144
A method should have only one exit point, and that should be the last statement in the method148
A method should have only one exit point, and that should be the last statement in the method159

org/tmforum/mtosi/simulator/client/MtosiClientFactory.java

ViolationLine
Each class should declare at least one constructor50
A method should have only one exit point, and that should be the last statement in the method64

org/tmforum/mtosi/simulator/engine/Actions.java

ViolationLine
It is a good practice to call super() in a constructor47

org/tmforum/mtosi/simulator/engine/Notification.java

ViolationLine
It is a good practice to call super() in a constructor47

org/tmforum/mtosi/simulator/engine/PropertyFileSimulatorEngine.java

ViolationLine
It is a good practice to call super() in a constructor69
It is a good practice to call super() in a constructor72
A method should have only one exit point, and that should be the last statement in the method122
A method should have only one exit point, and that should be the last statement in the method152

org/tmforum/mtosi/simulator/engine/Request.java

ViolationLine
It is a good practice to call super() in a constructor53
It is a good practice to call super() in a constructor57
Unnecessary final modifier in final class69
Unnecessary final modifier in final class78
Unnecessary final modifier in final class87
Unnecessary final modifier in final class96
Unnecessary final modifier in final class107
Unnecessary final modifier in final class118
Unnecessary final modifier in final class129
Unnecessary final modifier in final class140

org/tmforum/mtosi/simulator/engine/Response.java

ViolationLine
It is a good practice to call super() in a constructor39

org/tmforum/mtosi/simulator/engine/ServerActions.java

ViolationLine
Each class should declare at least one constructor34

org/tmforum/mtosi/simulator/engine/SimulatorEngine.java

ViolationLine
Avoid modifiers which are implied by the context53
Avoid modifiers which are implied by the context68
Avoid modifiers which are implied by the context83

org/tmforum/mtosi/simulator/server/jaxrpc/axis13/Axis13Server.java

ViolationLine
It is a good practice to call super() in a constructor109
Avoid unnecessary temporaries when converting primitives to Strings227
Avoid empty catch blocks234
Assigning an Object to null is a code smell. Consider refactoring.341
Assigning an Object to null is a code smell. Consider refactoring.351
A method should have only one exit point, and that should be the last statement in the method364

org/tmforum/mtosi/simulator/server/jaxrpc/axis13/Axis13Worker.java

ViolationLine
It is a good practice to call super() in a constructor145
Assigning an Object to null is a code smell. Consider refactoring.198
A method should have only one exit point, and that should be the last statement in the method309
A method should have only one exit point, and that should be the last statement in the method341
Avoid empty catch blocks466
Avoid empty catch blocks524
Avoid empty catch blocks531
A method should have only one exit point, and that should be the last statement in the method591
Avoid assigments in operands605
A method should have only one exit point, and that should be the last statement in the method708
A method should have only one exit point, and that should be the last statement in the method721
Avoid assigments in operands772

org/tmforum/mtosi/simulator/server/jaxrpc/axis13/HTTPConstants.java

ViolationLine
Each class should declare at least one constructor26

org/tmforum/mtosi/simulator/server/jaxrpc/axis13/MtosiServerImpl.java

ViolationLine
Avoid unnecessary constructors - the compiler will generate these for you79
It is a good practice to call super() in a constructor79
A method should have only one exit point, and that should be the last statement in the method89
Assigning an Object to null is a code smell. Consider refactoring.151
Assigning an Object to null is a code smell. Consider refactoring.157

org/tmforum/mtosi/simulator/server/jaxrpc/axis13/NonBlockingBufferedInputStream.java

ViolationLine
Each class should declare at least one constructor22
A method should have only one exit point, and that should be the last statement in the method85
A method should have only one exit point, and that should be the last statement in the method87
A method should have only one exit point, and that should be the last statement in the method120
A method should have only one exit point, and that should be the last statement in the method124
A method should have only one exit point, and that should be the last statement in the method126
A method should have only one exit point, and that should be the last statement in the method128
A method should have only one exit point, and that should be the last statement in the method150
A method should have only one exit point, and that should be the last statement in the method170
A method should have only one exit point, and that should be the last statement in the method172

org/tmforum/mtosi/simulator/server/MtosiServer.java

ViolationLine
Each class should declare at least one constructor52
A method should have only one exit point, and that should be the last statement in the method103
A method should have only one exit point, and that should be the last statement in the method107
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.110
A method should have only one exit point, and that should be the last statement in the method118
A method should have only one exit point, and that should be the last statement in the method122
A method should have only one exit point, and that should be the last statement in the method133

org/tmforum/mtosi/simulator/server/MtosiServerFactory.java

ViolationLine
Each class should declare at least one constructor51
A method should have only one exit point, and that should be the last statement in the method65

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/AlarmRetrievalSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor64

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/DiscoveryServiceSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor62

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/EquipmentInventoryMgrSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor70

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/InventoryRetrievalSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor64

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/ManagedElementMgrSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor78

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/MultiLayerSubnetworkMgrSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor78

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/NotificationBrokerSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor64

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/NotificationConsumerSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor61

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/OperationsSystemsMgrSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor77

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/ProtectionMgrSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor69

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/TransmissionDescriptorMgrSoapHTTPBinding.java

ViolationLine
It is a good practice to call super() in a constructor66

org/tmforum/mtosi/simulator/services/jaxrpc/axis13/Util.java

ViolationLine
It is a good practice to call super() in a constructor67
It is a good practice to call super() in a constructor70
A method should have only one exit point, and that should be the last statement in the method96

org/tmforum/mtosi/simulator/Simulator.java

ViolationLine
Each class should declare at least one constructor54
Assigning an Object to null is a code smell. Consider refactoring.314
Assigning an Object to null is a code smell. Consider refactoring.332

org/tmforum/mtosi/simulator/util/Actor.java

ViolationLine
It is a good practice to call super() in a constructor72

org/tmforum/mtosi/simulator/util/ActorFactory.java

ViolationLine
It is a good practice to call super() in a constructor60

org/tmforum/mtosi/simulator/util/EndPoint.java

ViolationLine
Each class should declare at least one constructor40

org/tmforum/mtosi/simulator/util/jaxrpc/axis13/Deserialization.java

ViolationLine
It is a good practice to call super() in a constructor60

org/tmforum/mtosi/simulator/util/jaxrpc/axis13/MtosiMessageParserImpl.java

ViolationLine
Each class should declare at least one constructor61

org/tmforum/mtosi/simulator/util/jaxrpc/axis13/Serialization.java

ViolationLine
Perhaps '_javaClass' could be replaced by a local variable.53
It is a good practice to call super() in a constructor56

org/tmforum/mtosi/simulator/util/Message.java

ViolationLine
It is a good practice to call super() in a constructor90

org/tmforum/mtosi/simulator/util/MessageConstants.java

ViolationLine
Each class should declare at least one constructor40

org/tmforum/mtosi/simulator/util/MessageListener.java

ViolationLine
Avoid modifiers which are implied by the context46

org/tmforum/mtosi/simulator/util/Messages.java

ViolationLine
It is a good practice to call super() in a constructor67
It is a good practice to call super() in a constructor71
A method should have only one exit point, and that should be the last statement in the method77
A method should have only one exit point, and that should be the last statement in the method95

org/tmforum/mtosi/simulator/util/MessagesFactory.java

ViolationLine
Each class should declare at least one constructor43

org/tmforum/mtosi/simulator/util/MtosiMessage.java

ViolationLine
It is a good practice to call super() in a constructor46

org/tmforum/mtosi/simulator/util/MtosiMessageParser.java

ViolationLine
It is a good practice to call super() in a constructor77

org/tmforum/mtosi/simulator/util/MtosiMessageParserFactory.java

ViolationLine
Unnecessary final modifier in final class71
Avoid empty if statements76
Unnecessary final modifier in final class95

org/tmforum/mtosi/simulator/util/Resources.java

ViolationLine
It is a good practice to call super() in a constructor58
Double checked locking is not thread safe in Java.66
Unnecessary final modifier in final class66

org/tmforum/mtosi/simulator/util/Runner.java

ViolationLine
It is a good practice to call super() in a constructor70
It is a good practice to call super() in a constructor81

org/tmforum/mtosi/simulator/util/Simulator.java

ViolationLine
It is a good practice to call super() in a constructor82
Assigning an Object to null is a code smell. Consider refactoring.197

org/tmforum/mtosi/simulator/util/UseCase.java

ViolationLine
It is a good practice to call super() in a constructor101

org/tmforum/mtosi/simulator/util/Util.java

ViolationLine
Each class should declare at least one constructor45
A method should have only one exit point, and that should be the last statement in the method62
A method should have only one exit point, and that should be the last statement in the method78
A method should have only one exit point, and that should be the last statement in the method86