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/appointment/modules/rest/pojo/AppointmentSlotSolrPOJO.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3885

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrAppointmentSlotPOJO.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 38150

fr/paris/lutece/plugins/appointment/modules/rest/rs/filter/QueryParamValidator.java

Rule Violation Line
ClassNamingConventions The utility class name 'QueryParamValidator' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 44106
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 44106

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentSlotsService.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 61153

fr/paris/lutece/plugins/appointment/modules/rest/util/contsants/AppointmentRestConstants.java

Rule Violation Line
ClassNamingConventions The utility class name 'AppointmentRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3889
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3889

Priority 3

fr/paris/lutece/plugins/appointment/modules/rest/business/providers/IAppointmentDataProvider.java

Rule Violation Line
CommentRequired Header comments are required 4272

fr/paris/lutece/plugins/appointment/modules/rest/business/providers/SolrProvider.java

Rule Violation Line
CommentRequired Header comments are required 56216
CommentRequired Public method and constructor comments are required 7988
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7988
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 9099
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 130131
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 132
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 133134
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 135
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 136
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 137139
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 140
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 141142
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 143
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 144
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 145
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 146147
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 148
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 149150
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 151
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 152153
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 154
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 155
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 156157
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 158
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 159
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 160161
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 183184
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 185
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 186187
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 188
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 189190
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 191
CommentRequired Public method and constructor comments are required 196210
CommentRequired Public method and constructor comments are required 212215

fr/paris/lutece/plugins/appointment/modules/rest/pojo/AppointmentSlotSolrPOJO.java

Rule Violation Line
CommentRequired Header comments are required 3885
DefaultPackage Use explicit scoping instead of the default package private level 4546
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUidFormString field if you want a default access modifier 46
DefaultPackage Use explicit scoping instead of the default package private level 4748
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strDate field if you want a default access modifier 48
DefaultPackage Use explicit scoping instead of the default package private level 4950
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUrl field if you want a default access modifier 50
CommentRequired Public method and constructor comments are required 5659
CommentRequired Public method and constructor comments are required 6164
CommentRequired Public method and constructor comments are required 6669
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679
CommentRequired Public method and constructor comments are required 8184

fr/paris/lutece/plugins/appointment/modules/rest/pojo/AppointmentSlotsSearchPOJO.java

Rule Violation Line
DataClass The class 'AppointmentSlotsSearchPOJO' is suspected to be a Data Class (WOC=30.769%, NOPA=0, NOAM=6, WMC=13) 39116
CommentRequired Header comments are required 39116
CommentRequired Public method and constructor comments are required 4749
UncommentedEmptyConstructor Document empty constructor 4749
CommentRequired Public method and constructor comments are required 5156
CommentRequired Public method and constructor comments are required 5865
CommentRequired Public method and constructor comments are required 97100
CommentRequired Public method and constructor comments are required 102105
CommentRequired Public method and constructor comments are required 107110
CommentRequired Public method and constructor comments are required 112115

fr/paris/lutece/plugins/appointment/modules/rest/pojo/InfoSlot.java

Rule Violation Line
CommentRequired Header comments are required 4380
CommentRequired Public method and constructor comments are required 5153
UncommentedEmptyConstructor Document empty constructor 5153
CommentRequired Public method and constructor comments are required 5559
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679

fr/paris/lutece/plugins/appointment/modules/rest/pojo/MeetingPointPOJO.java

Rule Violation Line
CommentRequired Header comments are required 40171
UncommentedEmptyConstructor Document empty constructor 6466
CommentRequired Public method and constructor comments are required 6466
CommentRequired Public method and constructor comments are required 6880
CommentRequired Public method and constructor comments are required 8285
CommentRequired Public method and constructor comments are required 8790
CommentRequired Public method and constructor comments are required 9295
CommentRequired Public method and constructor comments are required 97100
CommentRequired Public method and constructor comments are required 102105
CommentRequired Public method and constructor comments are required 107110
CommentRequired Public method and constructor comments are required 112115
CommentRequired Public method and constructor comments are required 117120
CommentRequired Public method and constructor comments are required 122125
CommentRequired Public method and constructor comments are required 127130
CommentRequired Public method and constructor comments are required 132135
CommentRequired Public method and constructor comments are required 137140
CommentRequired Public method and constructor comments are required 142145
CommentRequired Public method and constructor comments are required 147150
CommentRequired Public method and constructor comments are required 152155
CommentRequired Public method and constructor comments are required 157160
CommentRequired Public method and constructor comments are required 162165
CommentRequired Public method and constructor comments are required 167170

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrAppointmentSlotPOJO.java

Rule Violation Line
CommentRequired Header comments are required 38150
DefaultPackage Use explicit scoping instead of the default package private level 5051
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUidFormString field if you want a default access modifier 51
DefaultPackage Use explicit scoping instead of the default package private level 5253
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strDate field if you want a default access modifier 53
DefaultPackage Use explicit scoping instead of the default package private level 5455
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUrl field if you want a default access modifier 55
DefaultPackage Use explicit scoping instead of the default package private level 5657
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strDayOpen field if you want a default access modifier 57
DefaultPackage Use explicit scoping instead of the default package private level 5859
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strEnabled field if you want a default access modifier 59
DefaultPackage Use explicit scoping instead of the default package private level 6061
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strAppointmentActive field if you want a default access modifier 61
DefaultPackage Use explicit scoping instead of the default package private level 6263
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _lNbConsecutivesSlots field if you want a default access modifier 63
DefaultPackage Use explicit scoping instead of the default package private level 6465
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _lMaxConsecutivesSlots field if you want a default access modifier 65
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679
CommentRequired Public method and constructor comments are required 8184
CommentRequired Public method and constructor comments are required 8689
CommentRequired Public method and constructor comments are required 9194
CommentRequired Public method and constructor comments are required 9699
CommentRequired Public method and constructor comments are required 101104
CommentRequired Public method and constructor comments are required 106109
CommentRequired Public method and constructor comments are required 111114
CommentRequired Public method and constructor comments are required 116119
CommentRequired Public method and constructor comments are required 121124
CommentRequired Public method and constructor comments are required 126129
CommentRequired Public method and constructor comments are required 131134
CommentRequired Public method and constructor comments are required 136139
CommentRequired Public method and constructor comments are required 146149

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrMeetingPointPOJO.java

Rule Violation Line
CommentRequired Header comments are required 40110
DefaultPackage Use explicit scoping instead of the default package private level 5051
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUid field if you want a default access modifier 51
DefaultPackage Use explicit scoping instead of the default package private level 5253
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strTitle field if you want a default access modifier 53
DefaultPackage Use explicit scoping instead of the default package private level 5455
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strAddressText field if you want a default access modifier 55
DefaultPackage Use explicit scoping instead of the default package private level 5657
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strGeoloc field if you want a default access modifier 57
DefaultPackage Use explicit scoping instead of the default package private level 5859
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strIconUrl field if you want a default access modifier 59
CommentRequired Public method and constructor comments are required 6164
CommentRequired Public method and constructor comments are required 6669
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679
CommentRequired Public method and constructor comments are required 8184
CommentRequired Public method and constructor comments are required 8689
CommentRequired Public method and constructor comments are required 9194
CommentRequired Public method and constructor comments are required 9699
CommentRequired Public method and constructor comments are required 101104
CommentRequired Public method and constructor comments are required 106109

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrResponseMeetingPointPOJO.java

Rule Violation Line
CommentRequired Header comments are required 41142
CommentRequired Header comments are required 5873
CommentRequired Header comments are required 7692
CommentRequired Header comments are required 95123
DataClass The class 'Group' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 95123
CommentRequired Header comments are required 126141

fr/paris/lutece/plugins/appointment/modules/rest/rs/AppointmentRest.java

Rule Violation Line
CommentRequired Header comments are required 64133
DefaultPackage Use explicit scoping instead of the default package private level 7071
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _appointmentRestService field if you want a default access modifier 71
CommentRequired Public method and constructor comments are required 76108
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 7681
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 77
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 78
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 79
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 80
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 81
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 99100
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 104105
CommentRequired Public method and constructor comments are required 114132
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 123124
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 128129

fr/paris/lutece/plugins/appointment/modules/rest/rs/filter/QueryParamValidator.java

Rule Violation Line
CommentRequired Header comments are required 44106
CommentRequired Public method and constructor comments are required 5892
ConfusingTernary Avoid if (x != y) ..; else ..; 6979
ConfusingTernary Avoid if (x != y) ..; else ..; 8090
CommentRequired Public method and constructor comments are required 94105

fr/paris/lutece/plugins/appointment/modules/rest/rs/filter/ValidationErrorResponse.java

Rule Violation Line
CommentRequired Header comments are required 39108
ShortVariable Avoid variables with short names like d 53
CommentRequired Public method and constructor comments are required 5356
DataClass The class 'Detail' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) 58107
CommentRequired Header comments are required 58107
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Detail nested class if you want a default access modifier 58107
CommentRequired Public method and constructor comments are required 6469
CommentRequired Public method and constructor comments are required 7176

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentMeetingPointsService.java

Rule Violation Line
CommentRequired Header comments are required 54165
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6473
CommentRequired Public method and constructor comments are required 6473
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7584
CommentRequired Public method and constructor comments are required 86119
CommentRequired Public method and constructor comments are required 121163

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentRestService.java

Rule Violation Line
CommentRequired Header comments are required 4562

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentSlotsService.java

Rule Violation Line
CommentRequired Header comments are required 61153
CommentRequired Public method and constructor comments are required 7484
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7484
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 8693
CommentRequired Public method and constructor comments are required 95117
CommentRequired Public method and constructor comments are required 125135

fr/paris/lutece/plugins/appointment/modules/rest/service/IAppointmentRestService.java

Rule Violation Line
CommentRequired Header comments are required 4550
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAvailableTimeSlots': the method is declared in an interface type 47
CommentRequired Public method and constructor comments are required 47
UnnecessaryModifier Unnecessary modifier 'public' on method 'getManagedMeetingPoints': the method is declared in an interface type 49
CommentRequired Public method and constructor comments are required 49

fr/paris/lutece/plugins/appointment/modules/rest/util/contsants/AppointmentRestConstants.java

Rule Violation Line
CommentRequired Header comments are required 3889

Priority 4

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentMeetingPointsService.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'com.fasterxml.jackson.core.JsonProcessingException' 36

Files

fr/paris/lutece/plugins/appointment/modules/rest/business/providers/IAppointmentDataProvider.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4272

fr/paris/lutece/plugins/appointment/modules/rest/business/providers/SolrProvider.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 56216
CommentRequired Public method and constructor comments are required 3 7988
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7988
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 9099
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 130131
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 132
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 133134
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 135
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 136
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 137139
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 140
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 141142
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 143
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 144
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 145
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 146147
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 148
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 149150
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 151
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 152153
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 154
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 155
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 156157
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 158
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 159
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 160161
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 183184
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 185
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 186187
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 188
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 189190
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 191
CommentRequired Public method and constructor comments are required 3 196210
CommentRequired Public method and constructor comments are required 3 212215

fr/paris/lutece/plugins/appointment/modules/rest/pojo/AppointmentSlotSolrPOJO.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3885
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3885
DefaultPackage Use explicit scoping instead of the default package private level 3 4546
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUidFormString field if you want a default access modifier 3 46
DefaultPackage Use explicit scoping instead of the default package private level 3 4748
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strDate field if you want a default access modifier 3 48
DefaultPackage Use explicit scoping instead of the default package private level 3 4950
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUrl field if you want a default access modifier 3 50
CommentRequired Public method and constructor comments are required 3 5659
CommentRequired Public method and constructor comments are required 3 6164
CommentRequired Public method and constructor comments are required 3 6669
CommentRequired Public method and constructor comments are required 3 7174
CommentRequired Public method and constructor comments are required 3 7679
CommentRequired Public method and constructor comments are required 3 8184

fr/paris/lutece/plugins/appointment/modules/rest/pojo/AppointmentSlotsSearchPOJO.java

Rule Violation Priority Line
DataClass The class 'AppointmentSlotsSearchPOJO' is suspected to be a Data Class (WOC=30.769%, NOPA=0, NOAM=6, WMC=13) 3 39116
CommentRequired Header comments are required 3 39116
CommentRequired Public method and constructor comments are required 3 4749
UncommentedEmptyConstructor Document empty constructor 3 4749
CommentRequired Public method and constructor comments are required 3 5156
CommentRequired Public method and constructor comments are required 3 5865
CommentRequired Public method and constructor comments are required 3 97100
CommentRequired Public method and constructor comments are required 3 102105
CommentRequired Public method and constructor comments are required 3 107110
CommentRequired Public method and constructor comments are required 3 112115

fr/paris/lutece/plugins/appointment/modules/rest/pojo/InfoSlot.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4380
CommentRequired Public method and constructor comments are required 3 5153
UncommentedEmptyConstructor Document empty constructor 3 5153
CommentRequired Public method and constructor comments are required 3 5559
CommentRequired Public method and constructor comments are required 3 7174
CommentRequired Public method and constructor comments are required 3 7679

fr/paris/lutece/plugins/appointment/modules/rest/pojo/MeetingPointPOJO.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 40171
UncommentedEmptyConstructor Document empty constructor 3 6466
CommentRequired Public method and constructor comments are required 3 6466
CommentRequired Public method and constructor comments are required 3 6880
CommentRequired Public method and constructor comments are required 3 8285
CommentRequired Public method and constructor comments are required 3 8790
CommentRequired Public method and constructor comments are required 3 9295
CommentRequired Public method and constructor comments are required 3 97100
CommentRequired Public method and constructor comments are required 3 102105
CommentRequired Public method and constructor comments are required 3 107110
CommentRequired Public method and constructor comments are required 3 112115
CommentRequired Public method and constructor comments are required 3 117120
CommentRequired Public method and constructor comments are required 3 122125
CommentRequired Public method and constructor comments are required 3 127130
CommentRequired Public method and constructor comments are required 3 132135
CommentRequired Public method and constructor comments are required 3 137140
CommentRequired Public method and constructor comments are required 3 142145
CommentRequired Public method and constructor comments are required 3 147150
CommentRequired Public method and constructor comments are required 3 152155
CommentRequired Public method and constructor comments are required 3 157160
CommentRequired Public method and constructor comments are required 3 162165
CommentRequired Public method and constructor comments are required 3 167170

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrAppointmentSlotPOJO.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 38150
CommentRequired Header comments are required 3 38150
DefaultPackage Use explicit scoping instead of the default package private level 3 5051
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUidFormString field if you want a default access modifier 3 51
DefaultPackage Use explicit scoping instead of the default package private level 3 5253
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strDate field if you want a default access modifier 3 53
DefaultPackage Use explicit scoping instead of the default package private level 3 5455
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUrl field if you want a default access modifier 3 55
DefaultPackage Use explicit scoping instead of the default package private level 3 5657
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strDayOpen field if you want a default access modifier 3 57
DefaultPackage Use explicit scoping instead of the default package private level 3 5859
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strEnabled field if you want a default access modifier 3 59
DefaultPackage Use explicit scoping instead of the default package private level 3 6061
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strAppointmentActive field if you want a default access modifier 3 61
DefaultPackage Use explicit scoping instead of the default package private level 3 6263
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _lNbConsecutivesSlots field if you want a default access modifier 3 63
DefaultPackage Use explicit scoping instead of the default package private level 3 6465
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _lMaxConsecutivesSlots field if you want a default access modifier 3 65
CommentRequired Public method and constructor comments are required 3 7174
CommentRequired Public method and constructor comments are required 3 7679
CommentRequired Public method and constructor comments are required 3 8184
CommentRequired Public method and constructor comments are required 3 8689
CommentRequired Public method and constructor comments are required 3 9194
CommentRequired Public method and constructor comments are required 3 9699
CommentRequired Public method and constructor comments are required 3 101104
CommentRequired Public method and constructor comments are required 3 106109
CommentRequired Public method and constructor comments are required 3 111114
CommentRequired Public method and constructor comments are required 3 116119
CommentRequired Public method and constructor comments are required 3 121124
CommentRequired Public method and constructor comments are required 3 126129
CommentRequired Public method and constructor comments are required 3 131134
CommentRequired Public method and constructor comments are required 3 136139
CommentRequired Public method and constructor comments are required 3 146149

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrMeetingPointPOJO.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 40110
DefaultPackage Use explicit scoping instead of the default package private level 3 5051
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strUid field if you want a default access modifier 3 51
DefaultPackage Use explicit scoping instead of the default package private level 3 5253
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strTitle field if you want a default access modifier 3 53
DefaultPackage Use explicit scoping instead of the default package private level 3 5455
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strAddressText field if you want a default access modifier 3 55
DefaultPackage Use explicit scoping instead of the default package private level 3 5657
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strGeoloc field if you want a default access modifier 3 57
DefaultPackage Use explicit scoping instead of the default package private level 3 5859
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _strIconUrl field if you want a default access modifier 3 59
CommentRequired Public method and constructor comments are required 3 6164
CommentRequired Public method and constructor comments are required 3 6669
CommentRequired Public method and constructor comments are required 3 7174
CommentRequired Public method and constructor comments are required 3 7679
CommentRequired Public method and constructor comments are required 3 8184
CommentRequired Public method and constructor comments are required 3 8689
CommentRequired Public method and constructor comments are required 3 9194
CommentRequired Public method and constructor comments are required 3 9699
CommentRequired Public method and constructor comments are required 3 101104
CommentRequired Public method and constructor comments are required 3 106109

fr/paris/lutece/plugins/appointment/modules/rest/pojo/SolrResponseMeetingPointPOJO.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 41142
CommentRequired Header comments are required 3 5873
CommentRequired Header comments are required 3 7692
CommentRequired Header comments are required 3 95123
DataClass The class 'Group' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 95123
CommentRequired Header comments are required 3 126141

fr/paris/lutece/plugins/appointment/modules/rest/rs/AppointmentRest.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 64133
DefaultPackage Use explicit scoping instead of the default package private level 3 7071
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _appointmentRestService field if you want a default access modifier 3 71
CommentRequired Public method and constructor comments are required 3 76108
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 7681
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 77
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 78
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 79
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 80
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 81
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 99100
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 104105
CommentRequired Public method and constructor comments are required 3 114132
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 123124
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 128129

fr/paris/lutece/plugins/appointment/modules/rest/rs/filter/QueryParamValidator.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'QueryParamValidator' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 44106
CommentRequired Header comments are required 3 44106
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 44106
CommentRequired Public method and constructor comments are required 3 5892
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6979
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8090
CommentRequired Public method and constructor comments are required 3 94105

fr/paris/lutece/plugins/appointment/modules/rest/rs/filter/ValidationErrorResponse.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 39108
ShortVariable Avoid variables with short names like d 3 53
CommentRequired Public method and constructor comments are required 3 5356
DataClass The class 'Detail' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) 3 58107
CommentRequired Header comments are required 3 58107
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the Detail nested class if you want a default access modifier 3 58107
CommentRequired Public method and constructor comments are required 3 6469
CommentRequired Public method and constructor comments are required 3 7176

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentMeetingPointsService.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'com.fasterxml.jackson.core.JsonProcessingException' 4 36
CommentRequired Header comments are required 3 54165
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6473
CommentRequired Public method and constructor comments are required 3 6473
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7584
CommentRequired Public method and constructor comments are required 3 86119
CommentRequired Public method and constructor comments are required 3 121163

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentRestService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4562

fr/paris/lutece/plugins/appointment/modules/rest/service/AppointmentSlotsService.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 61153
CommentRequired Header comments are required 3 61153
CommentRequired Public method and constructor comments are required 3 7484
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7484
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 8693
CommentRequired Public method and constructor comments are required 3 95117
CommentRequired Public method and constructor comments are required 3 125135

fr/paris/lutece/plugins/appointment/modules/rest/service/IAppointmentRestService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4550
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAvailableTimeSlots': the method is declared in an interface type 3 47
CommentRequired Public method and constructor comments are required 3 47
UnnecessaryModifier Unnecessary modifier 'public' on method 'getManagedMeetingPoints': the method is declared in an interface type 3 49
CommentRequired Public method and constructor comments are required 3 49

fr/paris/lutece/plugins/appointment/modules/rest/util/contsants/AppointmentRestConstants.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'AppointmentRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3889
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3889
CommentRequired Header comments are required 3 3889