PMD Results

The following document contains the results of PMD.

Summary

Files Errors
5 18

Files

Files Violations
nl/hippo/client/event/EventAwareManagerImpl.java 2
nl/hippo/client/event/JmsTopicManager.java 8
nl/hippo/client/event/RepositoryChangeListener.java 3
nl/hippo/client/event/service/UpdateNotificationConfig.java 2
nl/hippo/client/event/service/UpdateNotificationServiceImpl.java 3

nl/hippo/client/event/EventAwareManagerImpl.java

Violation Line
Private field 'listeners' could be made final; it is only initialized in the declaration or constructor. - details... 33
Private field 'loglabel' could be made final; it is only initialized in the declaration or constructor. - details... 34

nl/hippo/client/event/JmsTopicManager.java

Violation Line
The class 'JmsTopicManager' has a Cyclomatic Complexity of 3 (Highest = 11). - details... 32
Private field 'config' could be made final; it is only initialized in the declaration or constructor. - details... 34
Private field 'jtmLoglabel' could be made final; it is only initialized in the declaration or constructor. - details... 39
Use block level rather than method level synchronization - details... 70
The method 'initialize' has a Cyclomatic Complexity of 11. - details... 94
The method initialize() has an NPath complexity of 576 - details... 94
Use block level rather than method level synchronization - details... 94
Use block level rather than method level synchronization - details... 175

nl/hippo/client/event/RepositoryChangeListener.java

Violation Line
Private field 'eventAwareManager' could be made final; it is only initialized in the declaration or constructor. - details... 32
Private field 'jmsTopicManager' could be made final; it is only initialized in the declaration or constructor. - details... 33
Use block level rather than method level synchronization - details... 81

nl/hippo/client/event/service/UpdateNotificationConfig.java

Violation Line
Private field 'parameters' could be made final; it is only initialized in the declaration or constructor. - details... 41
Caught exception is rethrown, original stack trace may be lost - details... 55

nl/hippo/client/event/service/UpdateNotificationServiceImpl.java

Violation Line
Private field 'repositoryChangeListener' could be made final; it is only initialized in the declaration or constructor. - details... 26
Use block level rather than method level synchronization - details... 38
Use block level rather than method level synchronization - details... 42