Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/appointmentgru/business/AppointmentGru.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method 'setAppointment' called during object construction 70

Priority 2

fr/paris/lutece/plugins/appointmentgru/services/AppointmentGruService.java

Rule Violation Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 73

Priority 3

fr/paris/lutece/plugins/appointmentgru/services/AppointmentGruService.java

Rule Violation Line
NonThreadSafeSingleton Singleton is not thread safe 8285
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 139
UnusedFormalParameter Avoid unused method parameters such as 'appointment'. 235
ConfusingTernary Avoid if (x != y) ..; else ..; 239246

Files

fr/paris/lutece/plugins/appointmentgru/business/AppointmentGru.java

Rule Violation Priority Line
ConstructorCallsOverridableMethod Overridable method 'setAppointment' called during object construction 1 70

fr/paris/lutece/plugins/appointmentgru/services/AppointmentGruService.java

Rule Violation Priority Line
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 73
NonThreadSafeSingleton Singleton is not thread safe 3 8285
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 139
UnusedFormalParameter Avoid unused method parameters such as 'appointment'. 3 235
ConfusingTernary Avoid if (x != y) ..; else ..; 3 239246