The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'serviceContracts' doesn't match '_[a-z][a-zA-Z0-9]*' | 65 |
FormalParameterNamingConventions | The method parameter name '_strApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 134 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_daoClientApplication' doesn't match '[A-Z][A-Z_0-9]*' | 52 |
FieldNamingConventions | The constant name '_daoServiceContract' doesn't match '[A-Z][A-Z_0-9]*' | 53 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 54 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 51 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 52 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_strCommonSearchKeyName' doesn't match '[a-z][a-zA-Z0-9]*' | 140 |
FormalParameterNamingConventions | The method parameter name '_nKeyWeight' doesn't match '[a-z][a-zA-Z0-9]*' | 244 |
FormalParameterNamingConventions | The method parameter name '_bMandatoryForCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 265 |
FormalParameterNamingConventions | The method parameter name '_strValidationRegex' doesn't match '[a-z][a-zA-Z0-9]*' | 286 |
FormalParameterNamingConventions | The method parameter name '_strValidationErrorMessage' doesn't match '[a-z][a-zA-Z0-9]*' | 307 |
FormalParameterNamingConventions | The final method parameter name '_strValidationErrorMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 327 |
FormalParameterNamingConventions | The method parameter name '_listAttributeValues' doesn't match '[a-z][a-zA-Z0-9]*' | 345 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_nAttributeId' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
FormalParameterNamingConventions | The method parameter name '_strValue' doesn't match '[a-z][a-zA-Z0-9]*' | 66 |
FormalParameterNamingConventions | The method parameter name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 76 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_mapKeyType' doesn't match '[A-Z][A-Z_0-9]*' | 60 |
FieldNamingConventions | The final field name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
FieldNamingConventions | The final field name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 62 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 54 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_bMandatory' doesn't match '[a-z][a-zA-Z0-9]*' | 127 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_strClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 142 |
FormalParameterNamingConventions | The method parameter name '_strMoeEntityName' doesn't match '[a-z][a-zA-Z0-9]*' | 194 |
FormalParameterNamingConventions | The method parameter name '_dateStartingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 267 |
FormalParameterNamingConventions | The method parameter name '_dateEndingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 277 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 287 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedUpdate' doesn't match '[a-z][a-zA-Z0-9]*' | 297 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 307 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedDecertification' doesn't match '[a-z][a-zA-Z0-9]*' | 422 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedAgentHistoryRead' doesn't match '[a-z][a-zA-Z0-9]*' | 432 |
FormalParameterNamingConventions | The method parameter name '_nDataRetentionPeriodInMonths' doesn't match '[a-z][a-zA-Z0-9]*' | 442 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_serviceContractDAO' doesn't match '[A-Z][A-Z_0-9]*' | 58 |
FieldNamingConventions | The constant name '_refCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 59 |
FieldNamingConventions | The constant name '_refAttributeCertificationProcessusDAO' doesn't match '[A-Z][A-Z_0-9]*' | 60 |
FieldNamingConventions | The constant name '_refAttributeCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 62 |
FieldNamingConventions | The constant name '_attributeRequirementDAO' doesn't match '[A-Z][A-Z_0-9]*' | 64 |
FieldNamingConventions | The constant name '_attributeCertificationDAO' doesn't match '[A-Z][A-Z_0-9]*' | 65 |
FieldNamingConventions | The constant name '_attributeRightDAO' doesn't match '[A-Z][A-Z_0-9]*' | 66 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 67 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_strFirstCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
FormalParameterNamingConventions | The method parameter name '_strSecondCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
FormalParameterNamingConventions | The method parameter name '_dateExclusionDate' doesn't match '[a-z][a-zA-Z0-9]*' | 71 |
FormalParameterNamingConventions | The method parameter name '_strAuthorType' doesn't match '[a-z][a-zA-Z0-9]*' | 81 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 91 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'lock' doesn't match '_[a-z][a-zA-Z0-9]*' | 61 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 62 |
FormalParameterNamingConventions | The method parameter name '_nIdDuplicateRule' doesn't match '[a-z][a-zA-Z0-9]*' | 122 |
FormalParameterNamingConventions | The method parameter name '_strDuplicateRuleCode' doesn't match '[a-z][a-zA-Z0-9]*' | 143 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name 'SQL_QUERY_SELECT_BY_CUSTOMER_IDs' doesn't match '[A-Z][A-Z_0-9]*' | 87 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 57 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 58 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_bIsLocked' doesn't match '[a-z][a-zA-Z0-9]*' | 50 |
FormalParameterNamingConventions | The method parameter name '_dateLockEndDate' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
FormalParameterNamingConventions | The method parameter name '_strAuthorType' doesn't match '[a-z][a-zA-Z0-9]*' | 70 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 80 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_nMasterIdentityId' doesn't match '[a-z][a-zA-Z0-9]*' | 251 |
FormalParameterNamingConventions | The method parameter name '_bIsMonParisActive' doesn't match '[a-z][a-zA-Z0-9]*' | 271 |
FormalParameterNamingConventions | The method parameter name '_dateExpirationDate' doesn't match '[a-z][a-zA-Z0-9]*' | 281 |
FormalParameterNamingConventions | The method parameter name '_dateDeleteDate' doesn't match '[a-z][a-zA-Z0-9]*' | 291 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 52 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 53 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'IdentityConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 41–70 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 62 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 63 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 130 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 126 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 126 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'refCertificationLevel' doesn't match '_[a-z][a-zA-Z0-9]*' | 71 |
FieldNamingConventions | The field name 'attributeKey' doesn't match '_[a-z][a-zA-Z0-9]*' | 72 |
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 73 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'level' doesn't match '_[a-z][a-zA-Z0-9]*' | 60 |
FormalParameterNamingConventions | The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 98 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 49 |
FieldNamingConventions | The constant name 'iRefAttributeCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 50 |
FieldNamingConventions | The constant name 'iRefCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 52 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 53 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 49 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 50 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 137 |
FormalParameterNamingConventions | The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' | 147 |
FormalParameterNamingConventions | The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 157 |
FormalParameterNamingConventions | The method parameter name '_strDescription' doesn't match '[a-z][a-zA-Z0-9]*' | 167 |
FormalParameterNamingConventions | The method parameter name '_listCheckedAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 177 |
FormalParameterNamingConventions | The method parameter name '_nNbFilledAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 187 |
FormalParameterNamingConventions | The method parameter name '_nNbEqualAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 197 |
FormalParameterNamingConventions | The method parameter name '_nNbMissingAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 207 |
FormalParameterNamingConventions | The method parameter name '_listAttributeTreatments' doesn't match '[a-z][a-zA-Z0-9]*' | 217 |
FormalParameterNamingConventions | The method parameter name '_priority' doesn't match '[a-z][a-zA-Z0-9]*' | 227 |
FormalParameterNamingConventions | The method parameter name '_bActive' doesn't match '[a-z][a-zA-Z0-9]*' | 237 |
FormalParameterNamingConventions | The method parameter name '_bDaemon' doesn't match '[a-z][a-zA-Z0-9]*' | 247 |
FormalParameterNamingConventions | The method parameter name '_dateDaemonLastExecDate' doesn't match '[a-z][a-zA-Z0-9]*' | 257 |
FormalParameterNamingConventions | The method parameter name '_nDetectionLimit' doesn't match '[a-z][a-zA-Z0-9]*' | 270 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FormalParameterNamingConventions | The method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 55 |
FormalParameterNamingConventions | The method parameter name '_listAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 65 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 48 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 49 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The final method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 54 |
FormalParameterNamingConventions | The final method parameter name '_type' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
FormalParameterNamingConventions | The final method parameter name '_listAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 74 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 46 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 47 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_notificationStoreService' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
FieldNamingConventions | The final field name '_demandTypeCacheService' doesn't match '[a-z][a-zA-Z0-9]*' | 69 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 71 |
FieldNamingConventions | The final field name '_attributeCertificationDefinitionService' doesn't match '[a-z][a-zA-Z0-9]*' | 72 |
FieldNamingConventions | The final field name '_serviceContractService' doesn't match '[a-z][a-zA-Z0-9]*' | 73 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 75 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 44–100 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 79–666 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 82 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'logs' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 48–180 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 73 |
FormalParameterNamingConventions | The final method parameter name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 75 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_identityAttributeService' doesn't match '[A-Z][A-Z_0-9]*' | 61 |
LocalVariableNamingConventions | The final local variable name 'LabelStatusMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 204 |
LocalVariableNamingConventions | The final local variable name 'LabelStatusMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 305 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 54–130 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 58 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 66 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 70–297 |
FieldNamingConventions | The constant name '_qualityBaseCache' doesn't match '[A-Z][A-Z_0-9]*' | 72 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityStoreNotifyListenerService' doesn't match '[a-z][a-zA-Z0-9]*' | 139 |
FieldNamingConventions | The final field name '_serviceContractService' doesn't match '[a-z][a-zA-Z0-9]*' | 140 |
FieldNamingConventions | The final field name '_identityAttributeService' doesn't match '[a-z][a-zA-Z0-9]*' | 141 |
FieldNamingConventions | The final field name '_internalUserService' doesn't match '[a-z][a-zA-Z0-9]*' | 142 |
FieldNamingConventions | The final field name '_duplicateServiceDatabase' doesn't match '[a-z][a-zA-Z0-9]*' | 143 |
FieldNamingConventions | The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 144 |
FieldNamingConventions | The final field name '_elasticSearchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 145 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 148 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 36–55 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 54 |
FieldNamingConventions | The final field name '_connexion' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
FieldNamingConventions | The final field name '_strServerUrl' doesn't match '[a-z][a-zA-Z0-9]*' | 57 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 77 |
FieldNamingConventions | The final field name '_simpleResponseHandler' doesn't match '[a-z][a-zA-Z0-9]*' | 79 |
FieldNamingConventions | The final field name '_searchResponseHandler' doesn't match '[a-z][a-zA-Z0-9]*' | 80 |
FieldNamingConventions | The final field name '_mSearchResponseHandler' doesn't match '[a-z][a-zA-Z0-9]*' | 81 |
MethodNamingConventions | The instance method name 'GET' doesn't match '[a-z][a-zA-Z0-9]*' | 113–123 |
MethodNamingConventions | The instance method name 'HEAD' doesn't match '[a-z][a-zA-Z0-9]*' | 132–142 |
MethodNamingConventions | The instance method name 'PUT' doesn't match '[a-z][a-zA-Z0-9]*' | 153–169 |
MethodNamingConventions | The instance method name 'POST' doesn't match '[a-z][a-zA-Z0-9]*' | 180–196 |
MethodNamingConventions | The instance method name 'SEARCH' doesn't match '[a-z][a-zA-Z0-9]*' | 207–224 |
MethodNamingConventions | The instance method name 'MSEARCH' doesn't match '[a-z][a-zA-Z0-9]*' | 235–261 |
MethodNamingConventions | The instance method name 'DELETE' doesn't match '[a-z][a-zA-Z0-9]*' | 270–285 |
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_enumActionType' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
FormalParameterNamingConventions | The method parameter name '_enumActionType' doesn't match '[a-z][a-zA-Z0-9]*' | 72 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 82 |
FormalParameterNamingConventions | The method parameter name '_dateIndex' doesn't match '[a-z][a-zA-Z0-9]*' | 92 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 43–73 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 45 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 46 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 54 |
FormalParameterNamingConventions | The method parameter name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'pivot' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'certifierCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'certifierName' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'certificateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'certificateExpirationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'lastUpdateClientCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'connectionId' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'customerId' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'expirationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'monParisActive' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'attributes' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'document' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'internalId' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'alias' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'actions' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 65 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 67 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 48 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 49 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 59 |
FieldNamingConventions | The final field name 'BATCH_SIZE' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
FieldNamingConventions | The final field name 'ACTIVE' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_bIsRunning' doesn't match '[a-z][a-zA-Z0-9]*' | 46 |
FormalParameterNamingConventions | The method parameter name '_nCurrentNbIndexedIdentities' doesn't match '[a-z][a-zA-Z0-9]*' | 53 |
FormalParameterNamingConventions | The method parameter name '_nNbTotalIdentities' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 59 |
FieldNamingConventions | The final field name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
Rule | Violation | Line |
---|---|---|
AbstractClassWithoutAnyMethod | No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. | 40–42 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'must' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'mustNot' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'should' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
FieldNamingConventions | The field name 'minimumShouldMatch' doesn't match '_[a-z][a-zA-Z0-9]*' | 55 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'field' doesn't match '_[a-z][a-zA-Z0-9]*' | 38 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'exists' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'from' doesn't match '_[a-z][a-zA-Z0-9]*' | 55 |
FieldNamingConventions | The field name 'size' doesn't match '_[a-z][a-zA-Z0-9]*' | 57 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 60 |
FieldNamingConventions | The field name 'sourceFilters' doesn't match '_[a-z][a-zA-Z0-9]*' | 63 |
ConstructorCallsOverridableMethod | Overridable method 'setQuery' called during object construction | 68 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 74 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' | 38 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'matchPhrase' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'fields' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'multiMatch' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 38 |
FieldNamingConventions | The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' | 39 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'bool' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'spanMulti' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'fuzzy' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'clauses' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'boost' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'slop' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'inOrder' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'spanNear' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'spanTerm' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'score' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'source' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'took' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'timedOut' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'shards' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The field name 'result' doesn't match '_[a-z][a-zA-Z0-9]*' | 54 |
FieldNamingConventions | The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' | 57 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 60 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'took' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'responses' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'total' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'maxScore' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'hits' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'total' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'successful' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'skipped' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'failed' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'failures' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'relation' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name 'propertySize' doesn't match '[A-Z][A-Z_0-9]*' | 72 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 73 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 54–154 |
FieldNamingConventions | The final field name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
FormalParameterNamingConventions | The method parameter name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_attributeChangelistListeners' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
FieldNamingConventions | The final field name '_identityChangeListListeners' doesn't match '[a-z][a-zA-Z0-9]*' | 62 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name 'NETWORK_MAX_RETRY' doesn't match '[a-z][a-zA-Z0-9]*' | 53 |
FieldNamingConventions | The final field name 'NETWORK_DELAY' doesn't match '[a-z][a-zA-Z0-9]*' | 54 |
FieldNamingConventions | The final field name 'NETWORK_DELAY_ACTIVATED' doesn't match '[a-z][a-zA-Z0-9]*' | 55 |
FieldNamingConventions | The field name 'nbRetry' doesn't match '_[a-z][a-zA-Z0-9]*' | 56 |
FieldNamingConventions | The enum constant name 'info' doesn't match '[A-Z][A-Z_0-9]*' | 157 |
FieldNamingConventions | The enum constant name 'error' doesn't match '[A-Z][A-Z_0-9]*' | 157 |
FieldNamingConventions | The enum constant name 'debug' doesn't match '[A-Z][A-Z_0-9]*' | 157 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 56–171 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'Combinations' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 40–68 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'Maps' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 44–62 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 48 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 54 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 48 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 58 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
FormalParameterNamingConventions | The method parameter name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 57 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_nServiceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 58 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 57 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 58 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 48 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 49 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 53 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 57 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 47 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 56 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identitySearchRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 58 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 48 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 62 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 63 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 72 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'DtoConverter' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 88–490 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'SwaggerConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 39–94 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 65 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 52 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 70 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 72 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 143 |
FieldNamingConventions | The final field name '_searchIdentityServiceDB' doesn't match '[a-z][a-zA-Z0-9]*' | 145 |
FieldNamingConventions | The final field name '_searchIdentityServiceES' doesn't match '[a-z][a-zA-Z0-9]*' | 146 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 160 |
LocalVariableNamingConventions | The final local variable name 'preferred_username' doesn't match '[a-z][a-zA-Z0-9]*' | 161 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 162 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_listIdentitySearchRules' doesn't match '[a-z][a-zA-Z0-9]*' | 115 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 64 |
FieldNamingConventions | The final field name '_fullIndexTask' doesn't match '[a-z][a-zA-Z0-9]*' | 85 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 80 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 142 |
LocalVariableNamingConventions | The final local variable name 'preferred_username' doesn't match '[a-z][a-zA-Z0-9]*' | 147 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 152 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 162 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 167 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 207 |
LocalVariableNamingConventions | The final local variable name 'preferred_username' doesn't match '[a-z][a-zA-Z0-9]*' | 212 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 217 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 227 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 232 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'attributeKey' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'attributeRight' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'refCertificationLevel' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
Rule | Violation | Line |
---|---|---|
EqualsNull | Avoid using equals() to compare against null | 307 |
EqualsNull | Avoid using equals() to compare against null | 470 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 83 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 68 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 78 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 69 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 79 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 68 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 78 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 88 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 97 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 64 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 79 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 89 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 113–114 |
Rule | Violation | Line |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 116 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 73 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 78 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 83 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 93 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 129 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 144 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 129–132 |
CommentRequired | Public method and constructor comments are required | 134–137 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 47–353 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 68–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 70 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 88 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 108 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 138 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 168 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 181 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 202 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 231 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 252 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 272 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 302 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 331 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 183–186 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 68 |
CommentRequired | Public method and constructor comments are required | 143 |
Rule | Violation | Line |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 96–103 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 102 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 128–135 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 134 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 64 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 88 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 117 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 130 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 151 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 179 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 199 |
Rule | Violation | Line |
---|---|---|
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 127 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 135–138 |
CommentRequired | Public method and constructor comments are required | 140–143 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 47–414 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 70–85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 72 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 93 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 122 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 160 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 173 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 203 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 239 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 258 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 296 |
LogicInversion | Use opposite operator instead of the logic complement operator. | 311 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 319 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 339 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 372 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 395 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 408 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 51–54 |
CommentRequired | Public method and constructor comments are required | 56–59 |
CommentRequired | Public method and constructor comments are required | 61–64 |
CommentRequired | Public method and constructor comments are required | 66–69 |
CommentRequired | Public method and constructor comments are required | 71–74 |
CommentRequired | Public method and constructor comments are required | 76–79 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 45–155 |
CommentRequired | Public method and constructor comments are required | 150 |
CommentRequired | Public method and constructor comments are required | 152 |
CommentRequired | Public method and constructor comments are required | 154 |
Rule | Violation | Line |
---|---|---|
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 60 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 60 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 97–101 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 78 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 98 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 122 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 135 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 148 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 166 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 191 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 211 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 236–239 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 244 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 273 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 305 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 73 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 90 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 114 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 127 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 140 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 158 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 183 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 203 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 228–231 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 236 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 265 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 122–125 |
CommentRequired | Public method and constructor comments are required | 127–130 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 63 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 84 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 107 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 150 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 57 |
CommentRequired | Public method and constructor comments are required | 131 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 129 |
ShortVariable | Avoid variables with short names like id | 131 |
CommentRequired | Public method and constructor comments are required | 131 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–146 |
CommentRequired | Public method and constructor comments are required | 61 |
CommentRequired | Public method and constructor comments are required | 73 |
CommentRequired | Public method and constructor comments are required | 141 |
CommentRequired | Public method and constructor comments are required | 143 |
CommentRequired | Public method and constructor comments are required | 145 |
Rule | Violation | Line |
---|---|---|
ExcessivePublicCount | This class has a bunch of public methods and attributes | 34–476 |
TooManyFields | Too many fields | 48–476 |
CommentRequired | Public method and constructor comments are required | 110–114 |
CommentRequired | Public method and constructor comments are required | 137–140 |
CommentRequired | Public method and constructor comments are required | 142–145 |
CommentRequired | Public method and constructor comments are required | 189–192 |
CommentRequired | Public method and constructor comments are required | 194–197 |
CommentRequired | Public method and constructor comments are required | 262–265 |
CommentRequired | Public method and constructor comments are required | 267–270 |
CommentRequired | Public method and constructor comments are required | 272–275 |
CommentRequired | Public method and constructor comments are required | 277–280 |
CommentRequired | Public method and constructor comments are required | 282–285 |
CommentRequired | Public method and constructor comments are required | 287–290 |
CommentRequired | Public method and constructor comments are required | 292–295 |
CommentRequired | Public method and constructor comments are required | 297–300 |
CommentRequired | Public method and constructor comments are required | 302–305 |
CommentRequired | Public method and constructor comments are required | 307–310 |
CommentRequired | Public method and constructor comments are required | 417–420 |
CommentRequired | Public method and constructor comments are required | 422–425 |
CommentRequired | Public method and constructor comments are required | 427–430 |
CommentRequired | Public method and constructor comments are required | 432–435 |
CommentRequired | Public method and constructor comments are required | 437–440 |
CommentRequired | Public method and constructor comments are required | 442–445 |
CommentRequired | Public method and constructor comments are required | 447–450 |
CommentRequired | Public method and constructor comments are required | 452–455 |
CommentRequired | Public method and constructor comments are required | 457–460 |
CommentRequired | Public method and constructor comments are required | 462–465 |
CommentRequired | Public method and constructor comments are required | 467–470 |
CommentRequired | Public method and constructor comments are required | 472–475 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 52–459 |
AvoidDuplicateLiterals | The String literal "SELECT" appears 6 times in this file; the first occurrence is on line 56 | 56 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 124 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 146 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 164 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 181 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 207–210 |
MissingBreakInSwitch | A switch statement does not contain a break | 211–248 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 221–226 |
AvoidDuplicateLiterals | The String literal "%' " appears 4 times in this file; the first occurrence is on line 229 | 229 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 229 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 233 |
ShortVariable | Avoid variables with short names like i | 246 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 253 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 280 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 293 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 306 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 343 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 368–371 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 376 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 400 |
CommentRequired | Public method and constructor comments are required | 417–430 |
MissingOverride | The method 'selectAllServiceContractsList(Plugin)' is missing an @Override annotation. | 417–430 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 420 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 56–313 |
CommentRequired | Public method and constructor comments are required | 227–233 |
CommentRequired | Public method and constructor comments are required | 235–241 |
CommentRequired | Public method and constructor comments are required | 243–272 |
CommentRequired | Public method and constructor comments are required | 274–277 |
CommentRequired | Public method and constructor comments are required | 279–282 |
CommentRequired | Public method and constructor comments are required | 284–287 |
CommentRequired | Public method and constructor comments are required | 289–292 |
CommentRequired | Public method and constructor comments are required | 294–297 |
CommentRequired | Public method and constructor comments are required | 299–302 |
CommentRequired | Public method and constructor comments are required | 304–307 |
CommentRequired | Public method and constructor comments are required | 309–312 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–95 |
CommentRequired | Public method and constructor comments are required | 46–49 |
CommentRequired | Public method and constructor comments are required | 51–54 |
CommentRequired | Public method and constructor comments are required | 56–59 |
CommentRequired | Public method and constructor comments are required | 61–64 |
CommentRequired | Public method and constructor comments are required | 66–69 |
CommentRequired | Public method and constructor comments are required | 71–74 |
CommentRequired | Public method and constructor comments are required | 76–79 |
CommentRequired | Public method and constructor comments are required | 81–84 |
CommentRequired | Public method and constructor comments are required | 86–89 |
CommentRequired | Public method and constructor comments are required | 91–94 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–254 |
CommentRequired | Public method and constructor comments are required | 92 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 92 |
CommentRequired | Public method and constructor comments are required | 242 |
CommentRequired | Public method and constructor comments are required | 244 |
CommentRequired | Public method and constructor comments are required | 246 |
CommentRequired | Public method and constructor comments are required | 248 |
CommentRequired | Public method and constructor comments are required | 250 |
CommentRequired | Public method and constructor comments are required | 252 |
Rule | Violation | Line |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 62 |
CommentRequired | Public method and constructor comments are required | 148–151 |
CommentRequired | Public method and constructor comments are required | 153–156 |
CommentRequired | Public method and constructor comments are required | 158–161 |
CommentRequired | Public method and constructor comments are required | 163–166 |
CommentRequired | Public method and constructor comments are required | 168–171 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 62–745 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 101 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 106 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 117 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 119 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 135 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 153–162 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 174 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 193–202 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 218 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 237–246 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 260 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 265 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 278 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 283 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 296 |
NPathComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has an NPath complexity of 528 | 321–403 |
CyclomaticComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has a cyclomatic complexity of 14. | 321–403 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 345 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 355 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 372 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 384–393 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 410 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 436 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 466 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 486 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 511–514 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 541–550 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 566 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 578 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 595 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 610 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 636 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 639 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 657 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 675 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 688 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 700 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 709 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 727 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 738 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 55–361 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 104 |
CommentRequired | Public method and constructor comments are required | 234–237 |
CommentRequired | Public method and constructor comments are required | 239–242 |
CommentRequired | Public method and constructor comments are required | 288–291 |
CommentRequired | Public method and constructor comments are required | 293–296 |
CommentRequired | Public method and constructor comments are required | 298–301 |
CommentRequired | Public method and constructor comments are required | 303–306 |
CommentRequired | Public method and constructor comments are required | 308–311 |
NPathComplexity | The method 'manageLock(String, String, String, boolean)' has an NPath complexity of 768 | 313–355 |
CommentRequired | Public method and constructor comments are required | 313–355 |
CyclomaticComplexity | The method 'manageLock(String, String, String, boolean)' has a cyclomatic complexity of 19. | 313–355 |
CommentRequired | Public method and constructor comments are required | 357–360 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–84 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–53 |
CommentRequired | Public method and constructor comments are required | 55–58 |
CommentRequired | Public method and constructor comments are required | 60–63 |
CommentRequired | Public method and constructor comments are required | 65–68 |
CommentRequired | Public method and constructor comments are required | 70–73 |
CommentRequired | Public method and constructor comments are required | 75–78 |
CommentRequired | Public method and constructor comments are required | 80–83 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–47 |
CommentRequired | Header comments are required | 39–47 |
CommentRequired | Public method and constructor comments are required | 42–46 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 53–322 |
CommentRequired | Public method and constructor comments are required | 126 |
CommentRequired | Public method and constructor comments are required | 150 |
CommentRequired | Public method and constructor comments are required | 152 |
CommentRequired | Public method and constructor comments are required | 208 |
ExcessiveParameterList | Avoid long parameter lists. | 276–277 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 276–277 |
Rule | Violation | Line |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 58 |
CommentRequired | Public method and constructor comments are required | 216–219 |
CommentRequired | Public method and constructor comments are required | 221–224 |
CommentRequired | Public method and constructor comments are required | 226–229 |
CommentRequired | Public method and constructor comments are required | 231–234 |
CommentRequired | Public method and constructor comments are required | 236–239 |
CommentRequired | Public method and constructor comments are required | 241–244 |
CommentRequired | Public method and constructor comments are required | 246–249 |
CommentRequired | Public method and constructor comments are required | 251–254 |
CommentRequired | Public method and constructor comments are required | 256–259 |
CommentRequired | Public method and constructor comments are required | 261–264 |
CommentRequired | Public method and constructor comments are required | 266–269 |
CommentRequired | Public method and constructor comments are required | 271–274 |
CommentRequired | Public method and constructor comments are required | 276–279 |
CommentRequired | Public method and constructor comments are required | 281–284 |
CommentRequired | Public method and constructor comments are required | 286–289 |
CommentRequired | Public method and constructor comments are required | 291–294 |
Rule | Violation | Line |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 202–209 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 208 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 94 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 102 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 117 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 131 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 139 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 154 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 155 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 186 |
UnusedPrivateMethod | Avoid unused private methods such as 'isCertificateExpired(IdentityAttribute)'. | 205 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 214 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 220 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 228–254 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 230 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 260 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 282 |
CommentRequired | Public method and constructor comments are required | 300–335 |
CommentRequired | Public method and constructor comments are required | 337–367 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 357 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 69–986 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 5 times in this file; the first occurrence is on line 77 | 77 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 159 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 190 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 231 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 244 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 257 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 263 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 273 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 278 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 291 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 311 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 340 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 359 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 378 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 397 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 416 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 487 |
NPathComplexity | The method 'selectByAttributesValueForApiSearch(Map, int, Plugin)' has an NPath complexity of 1254 | 506–587 |
CyclomaticComplexity | The method 'selectByAttributesValueForApiSearch(Map, int, Plugin)' has a cyclomatic complexity of 15. | 506–587 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 510 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 511 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 531–534 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 536 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 536 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 554 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 564 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 564 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 591 |
AvoidDuplicateLiterals | The String literal "1=1" appears 10 times in this file; the first occurrence is on line 608 | 608 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 611 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 625 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 648 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 676 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 708 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 735 |
NPathComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has an NPath complexity of 666 | 749–804 |
CyclomaticComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has a cyclomatic complexity of 13. | 749–804 |
AvoidDuplicateLiterals | The String literal " AND " appears 8 times in this file; the first occurrence is on line 755 | 755 |
MissingOverride | The method 'selectUpdatedFromIds(List, Plugin)' is missing an @Override annotation. | 809–829 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 815 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 835–837 |
CyclomaticComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin)' has a cyclomatic complexity of 21. | 835–908 |
ExcessiveParameterList | Avoid long parameter lists. | 835–837 |
NPathComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin)' has an NPath complexity of 20736 | 835–908 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 845 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 846 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 849 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 851–859 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 861–888 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 867–887 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 890 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 917 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 936 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 954 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 967 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 58–436 |
CommentRequired | Public method and constructor comments are required | 113–116 |
CommentRequired | Public method and constructor comments are required | 130–133 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 202–204 |
ExcessiveParameterList | Avoid long parameter lists. | 202–204 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 270 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 47–138 |
CommentRequired | Public method and constructor comments are required | 58 |
CommentRequired | Public method and constructor comments are required | 132–133 |
CommentRequired | Public method and constructor comments are required | 135 |
CommentRequired | Public method and constructor comments are required | 137 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'RefAttributeCertificationLevel' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) | 43–104 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 71 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 72 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 73 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 52–398 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 84 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 101 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 125 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 138 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 151 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 197 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 217 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 242–245 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 250 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 280 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 320 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 358 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 153–156 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 83–86 |
CommentRequired | Public method and constructor comments are required | 88–91 |
CommentRequired | Public method and constructor comments are required | 93–96 |
CommentRequired | Public method and constructor comments are required | 98–101 |
OverrideBothEqualsAndHashcode | Ensure you override both equals() and hashCode() | 114 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 65 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 111 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 124 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 143 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 170 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 190 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 215–218 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 223 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 256 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 167–170 |
CommentRequired | Public method and constructor comments are required | 172–175 |
CommentRequired | Public method and constructor comments are required | 177–183 |
CommentRequired | Public method and constructor comments are required | 185–188 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 64 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 86 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 113 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 126 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 147 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 175 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 195 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 220–223 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 228 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 90–274 |
CommentRequired | Public method and constructor comments are required | 107–125 |
ShortVariable | Avoid variables with short names like i | 109 |
CommentRequired | Public method and constructor comments are required | 132–135 |
CommentRequired | Public method and constructor comments are required | 137–140 |
CommentRequired | Public method and constructor comments are required | 142–145 |
CommentRequired | Public method and constructor comments are required | 147–150 |
CommentRequired | Public method and constructor comments are required | 152–155 |
CommentRequired | Public method and constructor comments are required | 157–160 |
CommentRequired | Public method and constructor comments are required | 162–165 |
CommentRequired | Public method and constructor comments are required | 167–170 |
CommentRequired | Public method and constructor comments are required | 172–175 |
CommentRequired | Public method and constructor comments are required | 177–180 |
CommentRequired | Public method and constructor comments are required | 182–185 |
CommentRequired | Public method and constructor comments are required | 187–190 |
CommentRequired | Public method and constructor comments are required | 192–195 |
CommentRequired | Public method and constructor comments are required | 197–200 |
CommentRequired | Public method and constructor comments are required | 202–205 |
CommentRequired | Public method and constructor comments are required | 207–210 |
CommentRequired | Public method and constructor comments are required | 212–215 |
CommentRequired | Public method and constructor comments are required | 217–220 |
CommentRequired | Public method and constructor comments are required | 222–225 |
CommentRequired | Public method and constructor comments are required | 227–230 |
CommentRequired | Public method and constructor comments are required | 232–235 |
CommentRequired | Public method and constructor comments are required | 237–240 |
CommentRequired | Public method and constructor comments are required | 242–245 |
CommentRequired | Public method and constructor comments are required | 247–250 |
CommentRequired | Public method and constructor comments are required | 252–255 |
CommentRequired | Public method and constructor comments are required | 257–260 |
CommentRequired | Public method and constructor comments are required | 270–273 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 44–84 |
CommentRequired | Header comments are required | 44–84 |
CommentRequired | Public method and constructor comments are required | 50–53 |
CommentRequired | Public method and constructor comments are required | 55–58 |
CommentRequired | Public method and constructor comments are required | 60–63 |
CommentRequired | Public method and constructor comments are required | 65–68 |
CommentRequired | Public method and constructor comments are required | 80–83 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 52–417 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 4 times in this file; the first occurrence is on line 56 | 56 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 121 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 139 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 154 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 187 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 205 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 223 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 255 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 264 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 277 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 307 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 326 |
ShortVariable | Avoid variables with short names like id | 334 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 379 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 390 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 409 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like id | 101 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 100 |
CommentRequired | Public method and constructor comments are required | 102 |
CommentRequired | Public method and constructor comments are required | 104 |
CommentRequired | Public method and constructor comments are required | 106 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–97 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 42–78 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 42–78 |
CommentRequired | Public method and constructor comments are required | 49–52 |
CommentRequired | Public method and constructor comments are required | 54–57 |
CommentRequired | Public method and constructor comments are required | 69–72 |
CommentRequired | Public method and constructor comments are required | 74–77 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–222 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 68 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 89 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 113 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 153 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 171 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 186 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 202 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 216 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–124 |
ShortVariable | Avoid variables with short names like id | 99 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Enum comments are required | 36–40 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Enum comments are required | 36–40 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–125 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 46–125 |
CommentRequired | Public method and constructor comments are required | 55–62 |
CloneThrowsCloneNotSupportedException | clone() method should throw CloneNotSupportedException | 113–124 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 122 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 48–147 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 53–56 |
CommentRequired | Public method and constructor comments are required | 53–56 |
CommentRequired | Public method and constructor comments are required | 58–74 |
CommentRequired | Public method and constructor comments are required | 76–84 |
ShortVariable | Avoid variables with short names like id | 91 |
CommentRequired | Public method and constructor comments are required | 109–118 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 128 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–133 |
CommentRequired | Public method and constructor comments are required | 49–52 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 49–52 |
CommentRequired | Public method and constructor comments are required | 54–59 |
CommentRequired | Public method and constructor comments are required | 61–69 |
CommentRequired | Public method and constructor comments are required | 71–79 |
CommentRequired | Public method and constructor comments are required | 81–105 |
EmptyCatchBlock | Avoid empty catch blocks | 94–97 |
CommentRequired | Public method and constructor comments are required | 107–116 |
CommentRequired | Public method and constructor comments are required | 118–126 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 41–86 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 49–52 |
MissingOverride | The method 'getName()' is missing an @Override annotation. | 59–62 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–131 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 50–53 |
CommentRequired | Public method and constructor comments are required | 50–53 |
CommentRequired | Public method and constructor comments are required | 55–60 |
CommentRequired | Public method and constructor comments are required | 62–70 |
CommentRequired | Public method and constructor comments are required | 72–80 |
ShortVariable | Avoid variables with short names like id | 87 |
CommentRequired | Public method and constructor comments are required | 105–114 |
CommentRequired | Public method and constructor comments are required | 116–124 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–107 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 48–51 |
CommentRequired | Public method and constructor comments are required | 48–51 |
CommentRequired | Public method and constructor comments are required | 53–59 |
CommentRequired | Public method and constructor comments are required | 61–69 |
CommentRequired | Public method and constructor comments are required | 71–79 |
CommentRequired | Public method and constructor comments are required | 81–90 |
CommentRequired | Public method and constructor comments are required | 92–100 |
Rule | Violation | Line |
---|---|---|
CallSuperInConstructor | It is a good practice to call super() in a constructor | 69–72 |
CommentRequired | Public method and constructor comments are required | 69–72 |
CommentRequired | Public method and constructor comments are required | 74–78 |
CommentRequired | Public method and constructor comments are required | 80–89 |
CommentRequired | Public method and constructor comments are required | 91–98 |
CommentRequired | Public method and constructor comments are required | 100–112 |
CommentRequired | Public method and constructor comments are required | 114–126 |
CommentRequired | Public method and constructor comments are required | 146–154 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–83 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 45–48 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–55 |
CommentRequired | Public method and constructor comments are required | 57–65 |
CommentRequired | Public method and constructor comments are required | 67–76 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–124 |
CommentRequired | Public method and constructor comments are required | 47–50 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 47–50 |
CommentRequired | Public method and constructor comments are required | 52–58 |
CommentRequired | Public method and constructor comments are required | 71–80 |
CommentRequired | Public method and constructor comments are required | 82–90 |
CommentRequired | Public method and constructor comments are required | 92–105 |
CommentRequired | Public method and constructor comments are required | 107–117 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 72–90 |
Rule | Violation | Line |
---|---|---|
CallSuperInConstructor | It is a good practice to call super() in a constructor | 67–70 |
ShortVariable | Avoid variables with short names like rt | 78 |
ShortVariable | Avoid variables with short names like p | 84 |
Rule | Violation | Line |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 50–51 |
Rule | Violation | Line |
---|---|---|
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 99–124 |
MissingBreakInSwitch | A switch statement does not contain a break | 99–124 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 64–242 |
CommentRequired | Public method and constructor comments are required | 71–78 |
NonThreadSafeSingleton | Singleton is not thread safe | 73–76 |
CyclomaticComplexity | The method 'purge(RequestAuthor, String, List, int)' has a cyclomatic complexity of 11. | 85–184 |
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 73 characters appended. | 87 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 93 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 93 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 155 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 155 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 155 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. | 162 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 162 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 162 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 166 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 166 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 166 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 170 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 170 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 170 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 174 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 177 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 236 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–114 |
CommentRequired | Public method and constructor comments are required | 49–56 |
NonThreadSafeSingleton | Singleton is not thread safe | 51–54 |
CommentRequired | Public method and constructor comments are required | 58–84 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 64–75 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 78 |
CommentRequired | Public method and constructor comments are required | 86–113 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 107 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 39–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–53 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 63–70 |
NonThreadSafeSingleton | Singleton is not thread safe | 65–68 |
ShortVariable | Avoid variables with short names like sb | 213 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 215 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 218 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 220 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 222 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 225 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 227 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 229 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 256 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 256 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 67–372 |
CommentRequired | Public method and constructor comments are required | 77–85 |
NonThreadSafeSingleton | Singleton is not thread safe | 79–83 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 125 |
CommentRequired | Public method and constructor comments are required | 141–146 |
CommentRequired | Public method and constructor comments are required | 148–162 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 157 |
CommentRequired | Public method and constructor comments are required | 164–178 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 173 |
CommentRequired | Public method and constructor comments are required | 180–194 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 189 |
CyclomaticComplexity | The method 'updateAttribute(AttributeDto, Identity, String)' has a cyclomatic complexity of 10. | 253–329 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 282–289 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–338 |
CommentRequired | Public method and constructor comments are required | 80–88 |
NonThreadSafeSingleton | Singleton is not thread safe | 82–86 |
CommentRequired | Public method and constructor comments are required | 90–92 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 113–119 |
CollapsibleIfStatements | These nested if statements could be combined | 115–118 |
ExcessiveMethodLength | Avoid really long methods. | 164–336 |
NcssCount | The method 'validatePivotAttributesIntegrity(IdentityDto, String, IdentityDto, boolean, ChangeResponse)' has a NCSS line count of 69. | 164–336 |
NPathComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, String, IdentityDto, boolean, ChangeResponse)' has an NPath complexity of 677376 | 164–336 |
CyclomaticComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, String, IdentityDto, boolean, ChangeResponse)' has a cyclomatic complexity of 29. | 164–336 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 184 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 237–245 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 256–264 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 270 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–100 |
CommentRequired | Public method and constructor comments are required | 50–58 |
NonThreadSafeSingleton | Singleton is not thread safe | 52–56 |
CommentRequired | Public method and constructor comments are required | 64–67 |
CommentRequired | Public method and constructor comments are required | 69–72 |
CommentRequired | Public method and constructor comments are required | 74–82 |
CommentRequired | Public method and constructor comments are required | 84–88 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 42–56 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 42–56 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–666 |
CommentRequired | Header comments are required | 79–666 |
GodClass | Possible God Class (WMC=79, ATFD=112, TCC=3.953%) | 79–666 |
TooManyMethods | This class has too many methods, consider refactoring it. | 80–666 |
CommentRequired | Public method and constructor comments are required | 85–93 |
NonThreadSafeSingleton | Singleton is not thread safe | 87–91 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 222–230 |
CommentRequired | Public method and constructor comments are required | 365–374 |
CommentRequired | Public method and constructor comments are required | 376–380 |
CommentRequired | Public method and constructor comments are required | 382–386 |
CommentRequired | Public method and constructor comments are required | 388–392 |
CommentRequired | Public method and constructor comments are required | 394–398 |
CommentRequired | Public method and constructor comments are required | 400–404 |
CommentRequired | Public method and constructor comments are required | 406–410 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 459 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 503 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 526 |
ShortVariable | Avoid variables with short names like id | 539 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 560 |
NPathComplexity | The method 'validateContractDefinition(ServiceContract, ClientApplication)' has an NPath complexity of 480 | 574–642 |
CyclomaticComplexity | The method 'validateContractDefinition(ServiceContract, ClientApplication)' has a cyclomatic complexity of 17. | 574–642 |
CommentRequired | Public method and constructor comments are required | 644–651 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–76 |
AvoidStringBufferField | StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). | 42 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 55 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 63 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 71 |
CommentRequired | Public method and constructor comments are required | 75 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 39–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–53 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 48–180 |
CommentRequired | Public method and constructor comments are required | 54–62 |
NonThreadSafeSingleton | Singleton is not thread safe | 56–60 |
ShortVariable | Avoid variables with short names like id | 174 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–269 |
CommentRequired | Header comments are required | 68–269 |
CommentRequired | Public method and constructor comments are required | 75–78 |
CyclomaticComplexity | The method 'findDuplicates(Map, String, List, List)' has a cyclomatic complexity of 12. | 95–177 |
NPathComplexity | The method 'findDuplicates(Map, String, List, List)' has an NPath complexity of 720 | 95–177 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 42–46 |
CommentRequired | Public method and constructor comments are required | 44–45 |
Rule | Violation | Line |
---|---|---|
CyclomaticComplexity | The class 'GeocodesService' has a total cyclomatic complexity of 156 (highest 56). | 58–1283 |
ExcessiveClassLength | Avoid really long classes. | 58–1283 |
CommentRequired | Header comments are required | 58–1283 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 59–1283 |
CommentRequired | Public method and constructor comments are required | 63–78 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 69 |
CommentRequired | Public method and constructor comments are required | 80–138 |
CyclomaticComplexity | The method 'processCountryAndCityForUpdate(Identity, List, List, String)' has a cyclomatic complexity of 11. | 80–138 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 129 |
NPathComplexity | The method 'processCountryForUpdate(Identity, List, List, String)' has an NPath complexity of 1568 | 149–527 |
ExcessiveMethodLength | Avoid really long methods. | 149–527 |
NcssCount | The method 'processCountryForUpdate(Identity, List, List, String)' has a NCSS line count of 217. | 149–527 |
CyclomaticComplexity | The method 'processCountryForUpdate(Identity, List, List, String)' has a cyclomatic complexity of 46. | 149–527 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 179–525 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 201–254 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 259–525 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 302–355 |
AvoidDuplicateLiterals | The String literal "dd/MM/yyyy" appears 6 times in this file; the first occurrence is on line 371 | 371 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 371 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 377 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 382 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 385–524 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 399 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 417–440 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 477 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 495–520 |
CyclomaticComplexity | The method 'processCountryForCreate(Identity, List, String)' has a cyclomatic complexity of 13. | 537–662 |
NcssCount | The method 'processCountryForCreate(Identity, List, String)' has a NCSS line count of 71. | 537–662 |
ExcessiveMethodLength | Avoid really long methods. | 537–662 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 555–660 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 614 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 618 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 632 |
NcssCount | The method 'processFrenchCityForCreate(Identity, List, String)' has a NCSS line count of 71. | 673–799 |
NPathComplexity | The method 'processFrenchCityForCreate(Identity, List, String)' has an NPath complexity of 444 | 673–799 |
CyclomaticComplexity | The method 'processFrenchCityForCreate(Identity, List, String)' has a cyclomatic complexity of 18. | 673–799 |
ExcessiveMethodLength | Avoid really long methods. | 673–799 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 693 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 697 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 701–797 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 703–704 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 723 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 756–758 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 769 |
CyclomaticComplexity | The method 'processFrenchCityForUpdate(Identity, List, List, String)' has a cyclomatic complexity of 56. | 810–1186 |
NcssCount | The method 'processFrenchCityForUpdate(Identity, List, List, String)' has a NCSS line count of 217. | 810–1186 |
NPathComplexity | The method 'processFrenchCityForUpdate(Identity, List, List, String)' has an NPath complexity of 12000 | 810–1186 |
ExcessiveMethodLength | Avoid really long methods. | 810–1186 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 845 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 851 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 856 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 860–1184 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 862–863 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 882 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 883–936 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 941–1184 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 964–966 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 985 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 986–1039 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1046–1183 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1048–1050 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 1061 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1079–1102 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1126–1128 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 1139 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1157–1180 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1239–1264 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 1269–1279 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 62–156 |
CommentRequired | Public method and constructor comments are required | 66–73 |
NonThreadSafeSingleton | Singleton is not thread safe | 68–71 |
CommentRequired | Public method and constructor comments are required | 75–98 |
CommentRequired | Public method and constructor comments are required | 100–139 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 103 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 39–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–53 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 54–130 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 66 |
CommentRequired | Public method and constructor comments are required | 73–80 |
NonThreadSafeSingleton | Singleton is not thread safe | 75–78 |
CyclomaticComplexity | The method 'export(IdentityExportRequest, String)' has a cyclomatic complexity of 10. | 91–129 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 101–102 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–297 |
CommentRequired | Header comments are required | 70–297 |
CommentRequired | Public method and constructor comments are required | 76–84 |
NonThreadSafeSingleton | Singleton is not thread safe | 78–82 |
CommentRequired | Public method and constructor comments are required | 90–93 |
CommentRequired | Public method and constructor comments are required | 95–162 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 128–131 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 191–210 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 202 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 203–206 |
CommentRequired | Public method and constructor comments are required | 213–233 |
CyclomaticComplexity | The method 'computeMatchScore(IdentityDto, List)' has a cyclomatic complexity of 10. | 235–296 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 250 |
EmptyCatchBlock | Avoid empty catch blocks | 258–261 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 262–271 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–1558 |
ExcessiveClassLength | Avoid really long classes. | 113–1558 |
GodClass | Possible God Class (WMC=160, ATFD=303, TCC=19.524%) | 113–1558 |
CyclomaticComplexity | The class 'IdentityService' has a total cyclomatic complexity of 160 (highest 22). | 113–1558 |
CommentRequired | Header comments are required | 113–1558 |
TooManyMethods | This class has too many methods, consider refactoring it. | 114–1558 |
CommentRequired | Public method and constructor comments are required | 152–159 |
NonThreadSafeSingleton | Singleton is not thread safe | 154–157 |
NPathComplexity | The method 'create(IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has an NPath complexity of 16524 | 176–283 |
CyclomaticComplexity | The method 'create(IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has a cyclomatic complexity of 22. | 176–283 |
ExcessiveMethodLength | Avoid really long methods. | 176–283 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 275 |
NPathComplexity | The method 'update(String, IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has an NPath complexity of 31104 | 316–478 |
NcssCount | The method 'update(String, IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has a NCSS line count of 72. | 316–478 |
ExcessiveMethodLength | Avoid really long methods. | 316–478 |
CyclomaticComplexity | The method 'update(String, IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has a cyclomatic complexity of 20. | 316–478 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 408–422 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 427 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 470 |
NcssCount | The method 'merge(IdentityMergeRequest, RequestAuthor, String, IdentityMergeResponse)' has a NCSS line count of 68. | 536–683 |
ExcessiveMethodLength | Avoid really long methods. | 536–683 |
CyclomaticComplexity | The method 'merge(IdentityMergeRequest, RequestAuthor, String, IdentityMergeResponse)' has a cyclomatic complexity of 15. | 536–683 |
NPathComplexity | The method 'merge(IdentityMergeRequest, RequestAuthor, String, IdentityMergeResponse)' has an NPath complexity of 6400 | 536–683 |
AvoidDuplicateLiterals | The String literal "Secondary identity found with customer_id " appears 4 times in this file; the first occurrence is on line 582 | 582 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 655 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 665 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 675 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 759 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 767 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 775 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 807 |
CommentRequired | Public method and constructor comments are required | 836–842 |
NPathComplexity | The method 'search(IdentitySearchRequest, RequestAuthor, IdentitySearchResponse, String)' has an NPath complexity of 280 | 860–957 |
CyclomaticComplexity | The method 'search(IdentitySearchRequest, RequestAuthor, IdentitySearchResponse, String)' has a cyclomatic complexity of 16. | 860–957 |
CollapsibleIfStatements | These nested if statements could be combined | 885–888 |
ShortVariable | Avoid variables with short names like sb | 894 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 904 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 907 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 910 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 972–982 |
CyclomaticComplexity | The method 'search(String, String, IdentitySearchResponse, String, RequestAuthor)' has a cyclomatic complexity of 15. | 999–1049 |
NPathComplexity | The method 'search(String, String, IdentitySearchResponse, String, RequestAuthor)' has an NPath complexity of 264 | 999–1049 |
EmptyCatchBlock | Avoid empty catch blocks | 1073–1076 |
EmptyCatchBlock | Avoid empty catch blocks | 1101–1104 |
NPathComplexity | The method 'updateIdentity(IdentityDto, String, ChangeResponse, Identity)' has an NPath complexity of 576 | 1134–1189 |
CyclomaticComplexity | The method 'updateIdentity(IdentityDto, String, ChangeResponse, Identity)' has a cyclomatic complexity of 12. | 1134–1189 |
ExcessiveMethodLength | Avoid really long methods. | 1214–1323 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 1409 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 1500 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 1550 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 36–55 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 52–550 |
TooManyMethods | This class has too many methods, consider refactoring it. | 53–550 |
AvoidDuplicateLiterals | The String literal "_doc" appears 4 times in this file; the first occurrence is on line 115 | 115 |
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. | 139 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 143 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 144 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 158 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 267 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 375 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 376 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 380 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 380 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 380 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 467 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 529 |
CommentRequired | Public method and constructor comments are required | 535–549 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 542 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–45 |
CommentRequired | Header comments are required | 38–45 |
CommentRequired | Public method and constructor comments are required | 40–44 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–356 |
TooManyMethods | This class has too many methods, consider refactoring it. | 74–356 |
UncommentedEmptyConstructor | Document empty constructor | 102–104 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 115 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 134 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 155 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 182 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 209 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 237 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 272 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 316 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 330 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–51 |
CommentRequired | Header comments are required | 38–51 |
CommentRequired | Public method and constructor comments are required | 40–44 |
CommentRequired | Public method and constructor comments are required | 46–50 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–51 |
CommentRequired | Public method and constructor comments are required | 44 |
CommentRequired | Public method and constructor comments are required | 46 |
CommentRequired | Public method and constructor comments are required | 48 |
CommentRequired | Public method and constructor comments are required | 50 |
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 81 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 139 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 162 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–96 |
CommentRequired | Public method and constructor comments are required | 46–49 |
UncommentedEmptyConstructor | Document empty constructor | 46–49 |
CommentRequired | Public method and constructor comments are required | 51–55 |
CommentRequired | Public method and constructor comments are required | 57–60 |
CommentRequired | Public method and constructor comments are required | 62–65 |
CommentRequired | Public method and constructor comments are required | 67–70 |
CommentRequired | Public method and constructor comments are required | 72–75 |
CommentRequired | Public method and constructor comments are required | 77–80 |
CommentRequired | Public method and constructor comments are required | 82–85 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–125 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 57 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 71 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 81 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 106 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–73 |
CommentRequired | Public method and constructor comments are required | 52–57 |
CommentRequired | Public method and constructor comments are required | 59–62 |
CommentRequired | Public method and constructor comments are required | 64–67 |
CommentRequired | Public method and constructor comments are required | 69–72 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Enum comments are required | 36–41 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 49–113 |
CommentRequired | Public method and constructor comments are required | 56–59 |
CyclomaticComplexity | The method 'processIdentityChange(IdentityChangeType, Identity, String, String, RequestAuthor, String, Map)' has a cyclomatic complexity of 12. | 62–94 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 107 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 108 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 109 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 110 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'AttributeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=22, WMC=24) | 38–182 |
CommentRequired | Header comments are required | 38–182 |
ExcessiveParameterList | Avoid long parameter lists. | 52–53 |
CommentRequired | Public method and constructor comments are required | 52–66 |
CommentRequired | Public method and constructor comments are required | 68–71 |
UncommentedEmptyConstructor | Document empty constructor | 68–71 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'IdentityObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=16) | 43–137 |
CommentRequired | Header comments are required | 43–137 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 51 |
CommentRequired | Public method and constructor comments are required | 53–63 |
UncommentedEmptyConstructor | Document empty constructor | 65–68 |
CommentRequired | Public method and constructor comments are required | 65–68 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'BulkAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=10) | 38–98 |
CommentRequired | Header comments are required | 38–98 |
CommentRequired | Public method and constructor comments are required | 46–52 |
CommentRequired | Public method and constructor comments are required | 54–59 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Enum comments are required | 36–61 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–62 |
ShortVariable | Avoid variables with short names like o | 48 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'AliasAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 40–76 |
CommentRequired | Header comments are required | 40–76 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 42–61 |
CommentRequired | Public method and constructor comments are required | 47–50 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–76 |
TooManyMethods | This class has too many methods, consider refactoring it. | 44–76 |
CommentRequired | Public method and constructor comments are required | 47 |
CommentRequired | Public method and constructor comments are required | 49 |
CommentRequired | Public method and constructor comments are required | 51 |
CommentRequired | Public method and constructor comments are required | 53 |
CommentRequired | Public method and constructor comments are required | 55 |
CommentRequired | Public method and constructor comments are required | 57 |
CommentRequired | Public method and constructor comments are required | 60 |
CommentRequired | Public method and constructor comments are required | 63 |
CommentRequired | Public method and constructor comments are required | 65 |
CommentRequired | Public method and constructor comments are required | 67 |
CommentRequired | Public method and constructor comments are required | 69 |
CommentRequired | Public method and constructor comments are required | 71 |
CommentRequired | Public method and constructor comments are required | 73 |
CommentRequired | Public method and constructor comments are required | 75 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 63–272 |
TooManyMethods | This class has too many methods, consider refactoring it. | 64–272 |
CommentRequired | Public method and constructor comments are required | 70–73 |
CommentRequired | Public method and constructor comments are required | 75–78 |
UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 156 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–86 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 46–86 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 39–92 |
CommentRequired | Protected method constructor comments are required | 43–53 |
CommentRequired | Protected method constructor comments are required | 55–61 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 57–193 |
CommentRequired | Public method and constructor comments are required | 63–65 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 63–65 |
UncommentedEmptyConstructor | Document empty constructor | 63–65 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 63–65 |
CommentRequired | Public method and constructor comments are required | 67–78 |
CommentRequired | Public method and constructor comments are required | 80–153 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 86–151 |
CommentRequired | Public method and constructor comments are required | 178–192 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 41–110 |
CommentRequired | Header comments are required | 41–110 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_nCurrentNbIndexedIdentities' | 43 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_nNbTotalIdentities' | 44 |
AvoidStringBufferField | StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). | 45 |
CommentRequired | Public method and constructor comments are required | 48–51 |
CommentRequired | Public method and constructor comments are required | 53–56 |
CommentRequired | Public method and constructor comments are required | 58–61 |
CommentRequired | Public method and constructor comments are required | 63–66 |
CommentRequired | Public method and constructor comments are required | 68–71 |
CommentRequired | Public method and constructor comments are required | 73–80 |
CommentRequired | Public method and constructor comments are required | 82–85 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 84 |
CommentRequired | Public method and constructor comments are required | 87–90 |
CommentRequired | Public method and constructor comments are required | 92–95 |
CommentRequired | Public method and constructor comments are required | 97–100 |
CommentRequired | Protected method constructor comments are required | 102–109 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 108 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 57–133 |
CyclomaticComplexity | The method 'doTask()' has a cyclomatic complexity of 10. | 64–130 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 9–27 |
CommentRequired | Public method and constructor comments are required | 14–26 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–79 |
CommentRequired | Public method and constructor comments are required | 49–52 |
CommentRequired | Public method and constructor comments are required | 54–66 |
CommentRequired | Protected method constructor comments are required | 68 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–186 |
CommentRequired | Public method and constructor comments are required | 48–53 |
ExcessiveMethodLength | Avoid really long methods. | 56–180 |
SwitchDensity | A high ratio of statements to labels in a switch statement. Consider refactoring. | 61–166 |
MissingBreakInSwitch | A switch statement does not contain a break | 64–83 |
MissingBreakInSwitch | A switch statement does not contain a break | 86–110 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 92 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 94 |
MissingBreakInSwitch | A switch statement does not contain a break | 113–128 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 131 |
MissingBreakInSwitch | A switch statement does not contain a break | 133–146 |
MissingBreakInSwitch | A switch statement does not contain a break | 150–163 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–53 |
ShortVariable | Avoid variables with short names like o | 47 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 42–70 |
CommentRequired | Public method and constructor comments are required | 46–50 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–53 |
ShortVariable | Avoid variables with short names like o | 47 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–53 |
ShortVariable | Avoid variables with short names like o | 47 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–42 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 40–42 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'AbstractMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 40–66 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 40–66 |
CommentRequired | Header comments are required | 40–66 |
Rule | Violation | Line |
---|---|---|
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 40–66 |
CommentRequired | Header comments are required | 40–66 |
DataClass | The class 'AbstractSpan' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 40–66 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'Bool' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 43–97 |
CommentRequired | Header comments are required | 43–97 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 36–49 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–57 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 43–46 |
CommentRequired | Public method and constructor comments are required | 43–46 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 53–218 |
DataClass | The class 'InnerSearchRequest' is suspected to be a Data Class (WOC=31.250%, NOPA=0, NOAM=10, WMC=23) | 53–218 |
CommentRequired | Public method and constructor comments are required | 65–71 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 74 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 74 |
CommentRequired | Public method and constructor comments are required | 126–138 |
AvoidDuplicateLiterals | The String literal "attributes." appears 5 times in this file; the first occurrence is on line 130 | 130 |
AvoidDuplicateLiterals | The String literal ".value" appears 5 times in this file; the first occurrence is on line 130 | 130 |
CommentRequired | Public method and constructor comments are required | 140–151 |
CommentRequired | Public method and constructor comments are required | 153–161 |
CommentRequired | Public method and constructor comments are required | 163–174 |
CommentRequired | Public method and constructor comments are required | 185–191 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 36–49 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–60 |
CommentRequired | Public method and constructor comments are required | 46–49 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 46–49 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 36–39 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–60 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 46–49 |
CommentRequired | Public method and constructor comments are required | 46–49 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–72 |
MissingOverride | The method 'getQuery()' is missing an @Override annotation. | 53–56 |
CommentRequired | Public method and constructor comments are required | 53–56 |
CommentRequired | Public method and constructor comments are required | 58–61 |
MissingOverride | The method 'setQuery(String)' is missing an @Override annotation. | 58–61 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–57 |
CommentRequired | Public method and constructor comments are required | 43–46 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 43–46 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 36–78 |
DataClass | The class 'MultiSearchAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) | 36–78 |
CommentRequired | Public method and constructor comments are required | 42–47 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Enum comments are required | 36–52 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–53 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–59 |
CommentRequired | Public method and constructor comments are required | 45–48 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–57 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 43–46 |
CommentRequired | Public method and constructor comments are required | 43–46 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'SpanMultiFuzzyMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 40–76 |
CommentRequired | Header comments are required | 40–76 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 42–62 |
CommentRequired | Public method and constructor comments are required | 48–51 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'SpanNear' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) | 43–93 |
CommentRequired | Header comments are required | 43–93 |
ControlStatementBraces | This statement should have braces | 55 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–57 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 43–46 |
CommentRequired | Public method and constructor comments are required | 43–46 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–66 |
DataClass | The class 'SpanTerm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 40–66 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–60 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 46–49 |
CommentRequired | Public method and constructor comments are required | 46–49 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'Hit' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 43–108 |
CommentRequired | Header comments are required | 43–108 |
ShortVariable | Avoid variables with short names like id | 48 |
ShortVariable | Avoid variables with short names like id | 69 |
ShortVariable | Avoid variables with short names like o | 95 |
ControlStatementBraces | This statement should have braces | 98 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–121 |
DataClass | The class 'Response' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 44–121 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 60 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'Responses' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 42–68 |
CommentRequired | Header comments are required | 42–68 |
AvoidFieldNameMatchingTypeName | It is somewhat confusing to have a field name matching the declaring class name | 47 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'Result' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 43–81 |
CommentRequired | Header comments are required | 43–81 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'Shard' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 40–98 |
CommentRequired | Header comments are required | 40–98 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'Total' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 39–63 |
CommentRequired | Header comments are required | 39–63 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 48–138 |
CommentRequired | Public method and constructor comments are required | 115–137 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 67–300 |
CommentRequired | Public method and constructor comments are required | 75–78 |
CommentRequired | Public method and constructor comments are required | 80–83 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 96–116 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 247 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 54–154 |
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 54–154 |
ShortVariable | Avoid variables with short names like s | 141 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–65 |
Rule | Violation | Line |
---|---|---|
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 50 characters appended. | 77 |
NonThreadSafeSingleton | Singleton is not thread safe | 109–112 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 133 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 138 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 166 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 171 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 58–61 |
CommentRequired | Public method and constructor comments are required | 63–85 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 81 |
AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 87 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 98 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 114–147 |
CommentRequired | Enum comments are required | 155–158 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 4–6 |
SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 5 |
CommentRequired | Public method and constructor comments are required | 5 |
Rule | Violation | Line |
---|---|---|
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 56–171 |
CommentRequired | Header comments are required | 56–171 |
MissingOverride | The method 'getQualifiedIdentities(List, int, boolean, List)' is missing an @Override annotation. | 69–87 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 49–145 |
CommentRequired | Public method and constructor comments are required | 112–144 |
EmptyCatchBlock | Avoid empty catch blocks | 124–127 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 129–139 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 39–62 |
CommentRequired | Public method and constructor comments are required | 44–51 |
NonThreadSafeSingleton | Singleton is not thread safe | 46–49 |
CommentRequired | Public method and constructor comments are required | 53–56 |
CommentRequired | Public method and constructor comments are required | 58–61 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–80 |
CommentRequired | Public method and constructor comments are required | 45–49 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 45–49 |
CommentRequired | Public method and constructor comments are required | 51–54 |
CommentRequired | Public method and constructor comments are required | 76–79 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–68 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 41–68 |
CommentRequired | Public method and constructor comments are required | 42–67 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 44 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 3–7 |
CommentRequired | Public method and constructor comments are required | 4 |
CommentRequired | Public method and constructor comments are required | 5 |
CommentRequired | Public method and constructor comments are required | 6 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–62 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 45–62 |
CommentRequired | Public method and constructor comments are required | 46–61 |
Rule | Violation | Line |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 74–75 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 90–97 |
Rule | Violation | Line |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 94–115 |
Rule | Violation | Line |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 74–75 |
Rule | Violation | Line |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 99–109 |
Rule | Violation | Line |
---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 102–123 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–80 |
CommentRequired | Public method and constructor comments are required | 50–54 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 68–76 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 43–66 |
CommentRequired | Public method and constructor comments are required | 48–53 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 88–89 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 50–77 |
CommentRequired | Public method and constructor comments are required | 55–60 |
Rule | Violation | Line |
---|---|---|
CyclomaticComplexity | The method 'doSpecificRequest()' has a cyclomatic complexity of 11. | 89–160 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 95–154 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 98 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 104 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 135 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–80 |
Rule | Violation | Line |
---|---|---|
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 92–97 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 60–65 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 99–106 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–75 |
CommentRequired | Public method and constructor comments are required | 50–55 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 104–105 |
Rule | Violation | Line |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 70–71 |
Rule | Violation | Line |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 69–70 |
Rule | Violation | Line |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 72–73 |
Rule | Violation | Line |
---|---|---|
AvoidDuplicateLiterals | The String literal " with explanation message" appears 5 times in this file; the first occurrence is on line 78 | 78 |
AvoidDuplicateLiterals | The String literal "Failure" appears 5 times in this file; the first occurrence is on line 79 | 79 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 81–85 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 109–114 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 138–143 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 170–174 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 203–207 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 44–61 |
CommentRequired | Public method and constructor comments are required | 49–54 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–490 |
TooManyMethods | This class has too many methods, consider refactoring it. | 89–490 |
CommentRequired | Public method and constructor comments are required | 147–173 |
NcssCount | The method 'convertContractToDto(ServiceContract)' has a NCSS line count of 60. | 228–311 |
CommentRequired | Public method and constructor comments are required | 406–414 |
CommentRequired | Public method and constructor comments are required | 416–424 |
CommentRequired | Public method and constructor comments are required | 426–438 |
CommentRequired | Public method and constructor comments are required | 440–461 |
CommentRequired | Public method and constructor comments are required | 463–466 |
CommentRequired | Public method and constructor comments are required | 468–489 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 70–135 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 90–95 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 122–126 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–456 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 98–100 |
UncommentedEmptyConstructor | Document empty constructor | 98–100 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 11 times in this file; the first occurrence is on line 116 | 116 |
AvoidDuplicateLiterals | The String literal "Failure" appears 10 times in this file; the first occurrence is on line 117 | 117 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 119–124 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 150–155 |
AvoidDuplicateLiterals | The String literal "Request body" appears 9 times in this file; the first occurrence is on line 151 | 151 |
AvoidDuplicateLiterals | The String literal "Success" appears 7 times in this file; the first occurrence is on line 185 | 185 |
AvoidDuplicateLiterals | The String literal "Conflict" appears 5 times in this file; the first occurrence is on line 187 | 187 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 189–193 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 221–226 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 253–257 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 283–287 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 313–319 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 353–358 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 385–390 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 416–421 |
CommentRequired | Public method and constructor comments are required | 441–454 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 441–446 |
Rule | Violation | Line |
---|---|---|
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 85–89 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 111–115 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 137–141 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–309 |
AvoidDuplicateLiterals | The String literal "Service contract Found" appears 4 times in this file; the first occurrence is on line 94 | 94 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 7 times in this file; the first occurrence is on line 95 | 95 |
AvoidDuplicateLiterals | The String literal "Failure" appears 7 times in this file; the first occurrence is on line 95 | 95 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 98–102 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 128–133 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 158–163 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 191–196 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 223–227 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 258–263 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 294–299 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 60 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 62 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 59 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 51 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 62 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 47–49 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like ID | 47 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 49–116 |
DefaultPackage | Use explicit scoping instead of the default package private level | 115 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 115 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 49–101 |
AddEmptyString | Do not add empty strings | 95 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 53–242 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 108 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 127 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 61–373 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 128 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 197 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 313 |
ShortVariable | Avoid variables with short names like id | 361 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 66–396 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 135 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 158 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 239 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 247 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 356 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 364 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 25–157 |
CommentRequired | Header comments are required | 25–157 |
UnusedPrivateField | Avoid unused private fields such as '_identity'. | 51 |
SingularField | Perhaps '_identity' could be replaced by a local variable. | 51 |
CyclomaticComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has a cyclomatic complexity of 19. | 56–127 |
CommentRequired | Public method and constructor comments are required | 56–127 |
NPathComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has an NPath complexity of 3840 | 56–127 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 58 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 62–63 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 62–63 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 64–65 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 64–65 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 65 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 66–67 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 66–67 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 67 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 68–69 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 68–69 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 70–71 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 70–71 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 72–73 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 72–73 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 74–75 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 83 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 110 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 115 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 131 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–468 |
NPathComplexity | The method 'getManageIdentitys(HttpServletRequest)' has an NPath complexity of 2053 | 149–281 |
CyclomaticComplexity | The method 'getManageIdentitys(HttpServletRequest)' has a cyclomatic complexity of 18. | 149–281 |
NcssCount | The method 'getManageIdentitys(HttpServletRequest)' has a NCSS line count of 76. | 149–281 |
CommentRequired | Public method and constructor comments are required | 149–281 |
ExcessiveMethodLength | Avoid really long methods. | 149–281 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 151 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 246 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 316 |
ShortVariable | Avoid variables with short names like i | 370 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 383 |
ShortVariable | Avoid variables with short names like i | 434 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 462 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 63–333 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 127 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 196 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 204 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 320 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 328 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 62–166 |
UnusedPrivateField | Avoid unused private fields such as 'INFO_IDENTITIES_INDEX'. | 73 |
CommentRequired | Public method and constructor comments are required | 89–103 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 122 |
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'PARAMETER_CERTIFIERS_AUTH'. | 76 |
UnusedPrivateField | Avoid unused private fields such as 'PARAMETER_CERTIFIER_CODE'. | 77 |
UnusedPrivateField | Avoid unused private fields such as 'PROPERTY_PAGE_TITLE_MODIFY_CLIENTAPPLICATION_CERTIFICATOR'. | 83 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_SERVICECONTRACTS'. | 88 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_ACTIVECONTRACT'. | 89 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CLIENTAPPLICATION_CERTIF_LIST'. | 90 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CLIENTAPPLICATION_CERTIF_CODE_MAP'. | 91 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CERTIFIERS'. | 92 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CLIENTAPPLICATION_RIGHT_LIST'. | 93 |
UnusedPrivateField | Avoid unused private fields such as 'VIEW_MANAGE_CLIENTAPPLICATION_CERTIFICATOR'. | 107 |
UnusedPrivateField | Avoid unused private fields such as 'ACTION_MANAGE_CLIENTAPPLICATION_CERTIFICATOR'. | 112 |
UnusedPrivateField | Avoid unused private fields such as 'ACTION_REMOVE_CLIENTAPPLICATION_CERTIFICATOR'. | 115 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 135 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 142 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 144 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 146 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 171 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 174 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 50–248 |
AddEmptyString | Do not add empty strings | 112 |
CyclomaticComplexity | The method 'getQueryParameters(HttpServletRequest)' has a cyclomatic complexity of 13. | 119–183 |
NPathComplexity | The method 'getQueryParameters(HttpServletRequest)' has an NPath complexity of 4096 | 119–183 |
CommentRequired | Protected method constructor comments are required | 119–183 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 121 |
CommentRequired | Protected method constructor comments are required | 185–247 |
NPathComplexity | The method 'clearParameters(HttpServletRequest)' has an NPath complexity of 4096 | 185–247 |
CyclomaticComplexity | The method 'clearParameters(HttpServletRequest)' has a cyclomatic complexity of 13. | 185–247 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 51–156 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 124 |
DefaultPackage | Use explicit scoping instead of the default package private level | 124 |
CommentRequired | Protected method constructor comments are required | 126–155 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 128 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 57–300 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 117 |
DefaultPackage | Use explicit scoping instead of the default package private level | 136–145 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 137–145 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 65–354 |
DefaultPackage | Use explicit scoping instead of the default package private level | 145–154 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 146–154 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 335 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 335 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 59–295 |
UnusedPrivateField | Avoid unused private fields such as 'INFO_REFCERTIFICATIONLEVEL_NOT_REMOVED'. | 101 |
DefaultPackage | Use explicit scoping instead of the default package private level | 133–141 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 134–141 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 228 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–120 |
CommentRequired | Public method and constructor comments are required | 56–60 |
LinguisticNaming | Linguistics Antipattern - The setter 'setServiceContract' should not return any type except void linguistically | 67–71 |
CommentRequired | Public method and constructor comments are required | 67–71 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeKey' should not return any type except void linguistically | 78–82 |
CommentRequired | Public method and constructor comments are required | 78–82 |
LinguisticNaming | Linguistics Antipattern - The setter 'setRefCertificationLevel' should not return any type except void linguistically | 89–93 |
CommentRequired | Public method and constructor comments are required | 89–93 |
CommentRequired | Public method and constructor comments are required | 110–114 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeRight' should not return any type except void linguistically | 110–114 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–689 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 79–689 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 161 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 186 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 190 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 191 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 198–206 |
DefaultPackage | Use explicit scoping instead of the default package private level | 224–232 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 225–232 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 294 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 346 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 416–423 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 457 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 482 |
CyclomaticComplexity | The method 'getAttributesRightsFromRequest(HttpServletRequest)' has a cyclomatic complexity of 12. | 532–601 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 534 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 534 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 553–563 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 570–580 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 587–597 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 625 |
ShortVariable | Avoid variables with short names like p1 | 675 |
ShortVariable | Avoid variables with short names like p2 | 676 |
Rule | Violation | Line |
---|---|---|
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 192–195 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 213–216 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' | 40 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.sql.Timestamp' | 37 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 44 |
Rule | Violation | Line |
---|---|---|
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 282–285 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 292–295 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 302–305 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 317–320 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 338–341 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 359–362 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 380–383 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 401–404 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 417–420 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 427–430 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Map' | 36 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.apache.log4j.Logger' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.Identity' | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityHome' | 38 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' | 36 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.annotation.JsonProperty' | 36 |
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.databind.annotation.JsonSerialize' | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.indexer.elastic.search.model.CustomSerializer' | 38 |
Rule | Violation | Line |
---|---|---|
ShortClassName | Avoid short class names like Bool | 43–97 |
Rule | Violation | Line |
---|---|---|
ShortClassName | Avoid short class names like Hit | 43–108 |
Rule | Violation | Line |
---|---|---|
ShortClassName | Avoid short class names like Maps | 44–62 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.IdentityRequestValidator' | 40 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.application.ClientApplicationHome' | 36 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 50 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.identity.IdentityService' | 38 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseStatus' | 41 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse' | 45 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor' | 39 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 54 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.contract.RefAttributeCertificationDefinitionNotFoundException' | 54 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'javax.ws.rs.QueryParam' | 79 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange' | 6 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.ArrayList' | 49 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Set' | 72 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'serviceContracts' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 65 |
CommentRequired | Public method and constructor comments are required | 3 | 129–132 |
FormalParameterNamingConventions | The method parameter name '_strApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 134 |
CommentRequired | Public method and constructor comments are required | 3 | 134–137 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 47–353 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 68–80 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 70 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 88 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 108 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 138 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 168 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 181 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 202 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 231 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 252 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 272 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 302 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 331 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_daoClientApplication' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 52 |
FieldNamingConventions | The constant name '_daoServiceContract' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 53 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 183–186 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 68 |
CommentRequired | Public method and constructor comments are required | 3 | 143 |
Rule | Violation | Priority | Line |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 96–103 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 102 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 128–135 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 134 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 64 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 88 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 117 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 130 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 151 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 179 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 199 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 51 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 52 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 127 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 135–138 |
FormalParameterNamingConventions | The method parameter name '_strCommonSearchKeyName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 140 |
CommentRequired | Public method and constructor comments are required | 3 | 140–143 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 192–195 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 213–216 |
FormalParameterNamingConventions | The method parameter name '_nKeyWeight' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 244 |
FormalParameterNamingConventions | The method parameter name '_bMandatoryForCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 265 |
FormalParameterNamingConventions | The method parameter name '_strValidationRegex' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 286 |
FormalParameterNamingConventions | The method parameter name '_strValidationErrorMessage' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 307 |
FormalParameterNamingConventions | The final method parameter name '_strValidationErrorMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 327 |
FormalParameterNamingConventions | The method parameter name '_listAttributeValues' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 345 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 47–414 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 70–85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 72 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 93 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 122 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 160 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 173 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 203 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 239 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 258 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 296 |
LogicInversion | Use opposite operator instead of the logic complement operator. | 3 | 311 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 319 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 339 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 372 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 395 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 408 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' | 4 | 40 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.sql.Timestamp' | 4 | 37 |
CommentRequired | Public method and constructor comments are required | 3 | 51–54 |
CommentRequired | Public method and constructor comments are required | 3 | 56–59 |
FormalParameterNamingConventions | The method parameter name '_nAttributeId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
CommentRequired | Public method and constructor comments are required | 3 | 61–64 |
CommentRequired | Public method and constructor comments are required | 3 | 66–69 |
FormalParameterNamingConventions | The method parameter name '_strValue' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 66 |
CommentRequired | Public method and constructor comments are required | 3 | 71–74 |
CommentRequired | Public method and constructor comments are required | 3 | 76–79 |
FormalParameterNamingConventions | The method parameter name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 76 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 45–155 |
CommentRequired | Public method and constructor comments are required | 3 | 150 |
CommentRequired | Public method and constructor comments are required | 3 | 152 |
CommentRequired | Public method and constructor comments are required | 3 | 154 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 4 | 44 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 60 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 60 |
FieldNamingConventions | The constant name '_mapKeyType' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 60 |
FieldNamingConventions | The final field name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
FieldNamingConventions | The final field name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 97–101 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 78 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 98 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 122 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 135 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 148 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 166 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 191 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 211 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 236–239 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 244 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 273 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 305 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 73 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 90 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 114 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 127 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 140 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 158 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 183 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 203 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 228–231 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 236 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 265 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 122–125 |
CommentRequired | Public method and constructor comments are required | 3 | 127–130 |
FormalParameterNamingConventions | The method parameter name '_bMandatory' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 127 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 63 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 84 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 107 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 150 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 57 |
CommentRequired | Public method and constructor comments are required | 3 | 131 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 129 |
ShortVariable | Avoid variables with short names like id | 3 | 131 |
CommentRequired | Public method and constructor comments are required | 3 | 131 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–146 |
CommentRequired | Public method and constructor comments are required | 3 | 61 |
CommentRequired | Public method and constructor comments are required | 3 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 141 |
CommentRequired | Public method and constructor comments are required | 3 | 143 |
CommentRequired | Public method and constructor comments are required | 3 | 145 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessivePublicCount | This class has a bunch of public methods and attributes | 3 | 34–476 |
TooManyFields | Too many fields | 3 | 48–476 |
CommentRequired | Public method and constructor comments are required | 3 | 110–114 |
CommentRequired | Public method and constructor comments are required | 3 | 137–140 |
FormalParameterNamingConventions | The method parameter name '_strClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 142 |
CommentRequired | Public method and constructor comments are required | 3 | 142–145 |
CommentRequired | Public method and constructor comments are required | 3 | 189–192 |
FormalParameterNamingConventions | The method parameter name '_strMoeEntityName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 194 |
CommentRequired | Public method and constructor comments are required | 3 | 194–197 |
CommentRequired | Public method and constructor comments are required | 3 | 262–265 |
CommentRequired | Public method and constructor comments are required | 3 | 267–270 |
FormalParameterNamingConventions | The method parameter name '_dateStartingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 267 |
CommentRequired | Public method and constructor comments are required | 3 | 272–275 |
CommentRequired | Public method and constructor comments are required | 3 | 277–280 |
FormalParameterNamingConventions | The method parameter name '_dateEndingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 277 |
CommentRequired | Public method and constructor comments are required | 3 | 282–285 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 282–285 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 287 |
CommentRequired | Public method and constructor comments are required | 3 | 287–290 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 292–295 |
CommentRequired | Public method and constructor comments are required | 3 | 292–295 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedUpdate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 297 |
CommentRequired | Public method and constructor comments are required | 3 | 297–300 |
CommentRequired | Public method and constructor comments are required | 3 | 302–305 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 302–305 |
CommentRequired | Public method and constructor comments are required | 3 | 307–310 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 307 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 317–320 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 338–341 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 359–362 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 380–383 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 401–404 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 417–420 |
CommentRequired | Public method and constructor comments are required | 3 | 417–420 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedDecertification' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 422 |
CommentRequired | Public method and constructor comments are required | 3 | 422–425 |
CommentRequired | Public method and constructor comments are required | 3 | 427–430 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 427–430 |
CommentRequired | Public method and constructor comments are required | 3 | 432–435 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedAgentHistoryRead' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 432 |
CommentRequired | Public method and constructor comments are required | 3 | 437–440 |
FormalParameterNamingConventions | The method parameter name '_nDataRetentionPeriodInMonths' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 442 |
CommentRequired | Public method and constructor comments are required | 3 | 442–445 |
CommentRequired | Public method and constructor comments are required | 3 | 447–450 |
CommentRequired | Public method and constructor comments are required | 3 | 452–455 |
CommentRequired | Public method and constructor comments are required | 3 | 457–460 |
CommentRequired | Public method and constructor comments are required | 3 | 462–465 |
CommentRequired | Public method and constructor comments are required | 3 | 467–470 |
CommentRequired | Public method and constructor comments are required | 3 | 472–475 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 52–459 |
AvoidDuplicateLiterals | The String literal "SELECT" appears 6 times in this file; the first occurrence is on line 56 | 3 | 56 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 124 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 146 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 164 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 181 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 207–210 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 211–248 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 221–226 |
AvoidDuplicateLiterals | The String literal "%' " appears 4 times in this file; the first occurrence is on line 229 | 3 | 229 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 229 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 233 |
ShortVariable | Avoid variables with short names like i | 3 | 246 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 253 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 280 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 293 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 306 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 343 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 368–371 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 376 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 400 |
CommentRequired | Public method and constructor comments are required | 3 | 417–430 |
MissingOverride | The method 'selectAllServiceContractsList(Plugin)' is missing an @Override annotation. | 3 | 417–430 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 420 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 56–313 |
FieldNamingConventions | The constant name '_serviceContractDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 58 |
FieldNamingConventions | The constant name '_refCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 59 |
FieldNamingConventions | The constant name '_refAttributeCertificationProcessusDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 60 |
FieldNamingConventions | The constant name '_refAttributeCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 62 |
FieldNamingConventions | The constant name '_attributeRequirementDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 64 |
FieldNamingConventions | The constant name '_attributeCertificationDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 65 |
FieldNamingConventions | The constant name '_attributeRightDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 66 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 67 |
CommentRequired | Public method and constructor comments are required | 3 | 227–233 |
CommentRequired | Public method and constructor comments are required | 3 | 235–241 |
CommentRequired | Public method and constructor comments are required | 3 | 243–272 |
CommentRequired | Public method and constructor comments are required | 3 | 274–277 |
CommentRequired | Public method and constructor comments are required | 3 | 279–282 |
CommentRequired | Public method and constructor comments are required | 3 | 284–287 |
CommentRequired | Public method and constructor comments are required | 3 | 289–292 |
CommentRequired | Public method and constructor comments are required | 3 | 294–297 |
CommentRequired | Public method and constructor comments are required | 3 | 299–302 |
CommentRequired | Public method and constructor comments are required | 3 | 304–307 |
CommentRequired | Public method and constructor comments are required | 3 | 309–312 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–95 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
FormalParameterNamingConventions | The method parameter name '_strFirstCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 51–54 |
CommentRequired | Public method and constructor comments are required | 3 | 56–59 |
FormalParameterNamingConventions | The method parameter name '_strSecondCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
CommentRequired | Public method and constructor comments are required | 3 | 61–64 |
CommentRequired | Public method and constructor comments are required | 3 | 66–69 |
FormalParameterNamingConventions | The method parameter name '_dateExclusionDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 71 |
CommentRequired | Public method and constructor comments are required | 3 | 71–74 |
CommentRequired | Public method and constructor comments are required | 3 | 76–79 |
CommentRequired | Public method and constructor comments are required | 3 | 81–84 |
FormalParameterNamingConventions | The method parameter name '_strAuthorType' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 81 |
CommentRequired | Public method and constructor comments are required | 3 | 86–89 |
CommentRequired | Public method and constructor comments are required | 3 | 91–94 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 91 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–254 |
CommentRequired | Public method and constructor comments are required | 3 | 92 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 92 |
CommentRequired | Public method and constructor comments are required | 3 | 242 |
CommentRequired | Public method and constructor comments are required | 3 | 244 |
CommentRequired | Public method and constructor comments are required | 3 | 246 |
CommentRequired | Public method and constructor comments are required | 3 | 248 |
CommentRequired | Public method and constructor comments are required | 3 | 250 |
CommentRequired | Public method and constructor comments are required | 3 | 252 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'lock' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 61 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 62 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 62 |
FormalParameterNamingConventions | The method parameter name '_nIdDuplicateRule' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 122 |
FormalParameterNamingConventions | The method parameter name '_strDuplicateRuleCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 143 |
CommentRequired | Public method and constructor comments are required | 3 | 148–151 |
CommentRequired | Public method and constructor comments are required | 3 | 153–156 |
CommentRequired | Public method and constructor comments are required | 3 | 158–161 |
CommentRequired | Public method and constructor comments are required | 3 | 163–166 |
CommentRequired | Public method and constructor comments are required | 3 | 168–171 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 62–745 |
FieldNamingConventions | The constant name 'SQL_QUERY_SELECT_BY_CUSTOMER_IDs' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 87 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 101 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 106 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 117 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 119 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 135 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 153–162 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 174 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 193–202 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 218 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 237–246 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 260 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 265 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 278 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 283 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 296 |
NPathComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has an NPath complexity of 528 | 3 | 321–403 |
CyclomaticComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has a cyclomatic complexity of 14. | 3 | 321–403 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 345 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 355 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 372 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 384–393 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 410 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 436 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 466 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 486 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 511–514 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 541–550 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 566 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 578 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 595 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 610 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 636 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 639 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 657 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 675 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 688 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 700 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 709 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 727 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 738 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 55–361 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 57 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 58 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 104 |
CommentRequired | Public method and constructor comments are required | 3 | 234–237 |
CommentRequired | Public method and constructor comments are required | 3 | 239–242 |
CommentRequired | Public method and constructor comments are required | 3 | 288–291 |
CommentRequired | Public method and constructor comments are required | 3 | 293–296 |
CommentRequired | Public method and constructor comments are required | 3 | 298–301 |
CommentRequired | Public method and constructor comments are required | 3 | 303–306 |
CommentRequired | Public method and constructor comments are required | 3 | 308–311 |
NPathComplexity | The method 'manageLock(String, String, String, boolean)' has an NPath complexity of 768 | 3 | 313–355 |
CommentRequired | Public method and constructor comments are required | 3 | 313–355 |
CyclomaticComplexity | The method 'manageLock(String, String, String, boolean)' has a cyclomatic complexity of 19. | 3 | 313–355 |
CommentRequired | Public method and constructor comments are required | 3 | 357–360 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–84 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–53 |
FormalParameterNamingConventions | The method parameter name '_bIsLocked' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 50 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
FormalParameterNamingConventions | The method parameter name '_dateLockEndDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
CommentRequired | Public method and constructor comments are required | 3 | 60–63 |
CommentRequired | Public method and constructor comments are required | 3 | 65–68 |
CommentRequired | Public method and constructor comments are required | 3 | 70–73 |
FormalParameterNamingConventions | The method parameter name '_strAuthorType' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 70 |
CommentRequired | Public method and constructor comments are required | 3 | 75–78 |
CommentRequired | Public method and constructor comments are required | 3 | 80–83 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 80 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–47 |
CommentRequired | Header comments are required | 3 | 39–47 |
CommentRequired | Public method and constructor comments are required | 3 | 42–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 53–322 |
CommentRequired | Public method and constructor comments are required | 3 | 126 |
CommentRequired | Public method and constructor comments are required | 3 | 150 |
CommentRequired | Public method and constructor comments are required | 3 | 152 |
CommentRequired | Public method and constructor comments are required | 3 | 208 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 276–277 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 276–277 |
Rule | Violation | Priority | Line |
---|---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 58 |
CommentRequired | Public method and constructor comments are required | 3 | 216–219 |
CommentRequired | Public method and constructor comments are required | 3 | 221–224 |
CommentRequired | Public method and constructor comments are required | 3 | 226–229 |
CommentRequired | Public method and constructor comments are required | 3 | 231–234 |
CommentRequired | Public method and constructor comments are required | 3 | 236–239 |
CommentRequired | Public method and constructor comments are required | 3 | 241–244 |
CommentRequired | Public method and constructor comments are required | 3 | 246–249 |
FormalParameterNamingConventions | The method parameter name '_nMasterIdentityId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 251 |
CommentRequired | Public method and constructor comments are required | 3 | 251–254 |
CommentRequired | Public method and constructor comments are required | 3 | 256–259 |
CommentRequired | Public method and constructor comments are required | 3 | 261–264 |
CommentRequired | Public method and constructor comments are required | 3 | 266–269 |
CommentRequired | Public method and constructor comments are required | 3 | 271–274 |
FormalParameterNamingConventions | The method parameter name '_bIsMonParisActive' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 271 |
CommentRequired | Public method and constructor comments are required | 3 | 276–279 |
CommentRequired | Public method and constructor comments are required | 3 | 281–284 |
FormalParameterNamingConventions | The method parameter name '_dateExpirationDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 281 |
CommentRequired | Public method and constructor comments are required | 3 | 286–289 |
FormalParameterNamingConventions | The method parameter name '_dateDeleteDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 291 |
CommentRequired | Public method and constructor comments are required | 3 | 291–294 |
Rule | Violation | Priority | Line |
---|---|---|---|
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 202–209 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 208 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 94 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 102 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 117 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 131 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 139 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 154 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 155 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 186 |
UnusedPrivateMethod | Avoid unused private methods such as 'isCertificateExpired(IdentityAttribute)'. | 3 | 205 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 214 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 220 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 228–254 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 230 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 260 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 282 |
CommentRequired | Public method and constructor comments are required | 3 | 300–335 |
CommentRequired | Public method and constructor comments are required | 3 | 337–367 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 357 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 52 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 53 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassNamingConventions | The utility class name 'IdentityConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 41–70 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 69–986 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 5 times in this file; the first occurrence is on line 77 | 3 | 77 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 159 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 190 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 231 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 244 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 257 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 263 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 273 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 278 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 291 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 311 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 340 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 359 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 378 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 397 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 416 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 487 |
NPathComplexity | The method 'selectByAttributesValueForApiSearch(Map, int, Plugin)' has an NPath complexity of 1254 | 3 | 506–587 |
CyclomaticComplexity | The method 'selectByAttributesValueForApiSearch(Map, int, Plugin)' has a cyclomatic complexity of 15. | 3 | 506–587 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 510 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 511 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 531–534 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 3 | 536 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 3 | 536 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 554 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 3 | 564 |
PositionLiteralsFirstInComparisons | Position literals first in String comparisons | 3 | 564 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 591 |
AvoidDuplicateLiterals | The String literal "1=1" appears 10 times in this file; the first occurrence is on line 608 | 3 | 608 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 611 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 625 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 648 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 676 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 708 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 735 |
NPathComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has an NPath complexity of 666 | 3 | 749–804 |
CyclomaticComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has a cyclomatic complexity of 13. | 3 | 749–804 |
AvoidDuplicateLiterals | The String literal " AND " appears 8 times in this file; the first occurrence is on line 755 | 3 | 755 |
MissingOverride | The method 'selectUpdatedFromIds(List, Plugin)' is missing an @Override annotation. | 3 | 809–829 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 815 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 835–837 |
CyclomaticComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin)' has a cyclomatic complexity of 21. | 3 | 835–908 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 835–837 |
NPathComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin)' has an NPath complexity of 20736 | 3 | 835–908 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 845 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 846 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 849 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 851–859 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 861–888 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 867–887 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 890 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 917 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 936 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 954 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 967 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 58–436 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 62 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 63 |
CommentRequired | Public method and constructor comments are required | 3 | 113–116 |
CommentRequired | Public method and constructor comments are required | 3 | 130–133 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 202–204 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 202–204 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 270 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 47–138 |
CommentRequired | Public method and constructor comments are required | 3 | 58 |
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 130 |
CommentRequired | Public method and constructor comments are required | 3 | 132–133 |
CommentRequired | Public method and constructor comments are required | 3 | 135 |
CommentRequired | Public method and constructor comments are required | 3 | 137 |
Rule | Violation | Priority | Line |
---|---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 126 |
Rule | Violation | Priority | Line |
---|---|---|---|
FormalParameterNamingConventions | The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 126 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'RefAttributeCertificationLevel' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) | 3 | 43–104 |
FieldNamingConventions | The field name 'refCertificationLevel' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 71 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 71 |
FieldNamingConventions | The field name 'attributeKey' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 72 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 72 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 73 |
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 73 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 52–398 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 84 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 101 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 125 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 138 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 151 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 197 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 217 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 242–245 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 250 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 280 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 320 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 358 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 50 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 153–156 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'level' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 60 |
CommentRequired | Public method and constructor comments are required | 3 | 83–86 |
CommentRequired | Public method and constructor comments are required | 3 | 88–91 |
CommentRequired | Public method and constructor comments are required | 3 | 93–96 |
FormalParameterNamingConventions | The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 98 |
CommentRequired | Public method and constructor comments are required | 3 | 98–101 |
OverrideBothEqualsAndHashcode | Ensure you override both equals() and hashCode() | 3 | 114 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 65 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 111 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 124 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 143 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 170 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 190 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 215–218 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 223 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 256 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 49 |
FieldNamingConventions | The constant name 'iRefAttributeCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 50 |
FieldNamingConventions | The constant name 'iRefCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 52 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 53 |
CommentRequired | Public method and constructor comments are required | 3 | 167–170 |
CommentRequired | Public method and constructor comments are required | 3 | 172–175 |
CommentRequired | Public method and constructor comments are required | 3 | 177–183 |
CommentRequired | Public method and constructor comments are required | 3 | 185–188 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 64 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 86 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 113 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 126 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 147 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 175 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 195 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 220–223 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 228 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 49 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 50 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 90–274 |
CommentRequired | Public method and constructor comments are required | 3 | 107–125 |
ShortVariable | Avoid variables with short names like i | 3 | 109 |
CommentRequired | Public method and constructor comments are required | 3 | 132–135 |
CommentRequired | Public method and constructor comments are required | 3 | 137–140 |
FormalParameterNamingConventions | The method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 137 |
CommentRequired | Public method and constructor comments are required | 3 | 142–145 |
CommentRequired | Public method and constructor comments are required | 3 | 147–150 |
FormalParameterNamingConventions | The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 147 |
CommentRequired | Public method and constructor comments are required | 3 | 152–155 |
CommentRequired | Public method and constructor comments are required | 3 | 157–160 |
FormalParameterNamingConventions | The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 157 |
CommentRequired | Public method and constructor comments are required | 3 | 162–165 |
FormalParameterNamingConventions | The method parameter name '_strDescription' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 167 |
CommentRequired | Public method and constructor comments are required | 3 | 167–170 |
CommentRequired | Public method and constructor comments are required | 3 | 172–175 |
FormalParameterNamingConventions | The method parameter name '_listCheckedAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 177 |
CommentRequired | Public method and constructor comments are required | 3 | 177–180 |
CommentRequired | Public method and constructor comments are required | 3 | 182–185 |
FormalParameterNamingConventions | The method parameter name '_nNbFilledAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 187 |
CommentRequired | Public method and constructor comments are required | 3 | 187–190 |
CommentRequired | Public method and constructor comments are required | 3 | 192–195 |
FormalParameterNamingConventions | The method parameter name '_nNbEqualAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 197 |
CommentRequired | Public method and constructor comments are required | 3 | 197–200 |
CommentRequired | Public method and constructor comments are required | 3 | 202–205 |
CommentRequired | Public method and constructor comments are required | 3 | 207–210 |
FormalParameterNamingConventions | The method parameter name '_nNbMissingAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 207 |
CommentRequired | Public method and constructor comments are required | 3 | 212–215 |
FormalParameterNamingConventions | The method parameter name '_listAttributeTreatments' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 217 |
CommentRequired | Public method and constructor comments are required | 3 | 217–220 |
CommentRequired | Public method and constructor comments are required | 3 | 222–225 |
CommentRequired | Public method and constructor comments are required | 3 | 227–230 |
FormalParameterNamingConventions | The method parameter name '_priority' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 227 |
CommentRequired | Public method and constructor comments are required | 3 | 232–235 |
CommentRequired | Public method and constructor comments are required | 3 | 237–240 |
FormalParameterNamingConventions | The method parameter name '_bActive' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 237 |
CommentRequired | Public method and constructor comments are required | 3 | 242–245 |
CommentRequired | Public method and constructor comments are required | 3 | 247–250 |
FormalParameterNamingConventions | The method parameter name '_bDaemon' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 247 |
CommentRequired | Public method and constructor comments are required | 3 | 252–255 |
CommentRequired | Public method and constructor comments are required | 3 | 257–260 |
FormalParameterNamingConventions | The method parameter name '_dateDaemonLastExecDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 257 |
CommentRequired | Public method and constructor comments are required | 3 | 270–273 |
FormalParameterNamingConventions | The method parameter name '_nDetectionLimit' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 270 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 44–84 |
CommentRequired | Header comments are required | 3 | 44–84 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–53 |
FormalParameterNamingConventions | The method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 55 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
CommentRequired | Public method and constructor comments are required | 3 | 60–63 |
FormalParameterNamingConventions | The method parameter name '_listAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
CommentRequired | Public method and constructor comments are required | 3 | 65–68 |
CommentRequired | Public method and constructor comments are required | 3 | 80–83 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 52–417 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 4 times in this file; the first occurrence is on line 56 | 3 | 56 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 85 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 121 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 139 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 154 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 187 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 205 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 223 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 255 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 264 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 277 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 307 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 326 |
ShortVariable | Avoid variables with short names like id | 3 | 334 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 379 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 390 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 409 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 48 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 49 |
ShortVariable | Avoid variables with short names like id | 3 | 101 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 100 |
CommentRequired | Public method and constructor comments are required | 3 | 102 |
CommentRequired | Public method and constructor comments are required | 3 | 104 |
CommentRequired | Public method and constructor comments are required | 3 | 106 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–97 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–78 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 42–78 |
CommentRequired | Public method and constructor comments are required | 3 | 49–52 |
FormalParameterNamingConventions | The final method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 54–57 |
FormalParameterNamingConventions | The final method parameter name '_type' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
CommentRequired | Public method and constructor comments are required | 3 | 69–72 |
FormalParameterNamingConventions | The final method parameter name '_listAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 74 |
CommentRequired | Public method and constructor comments are required | 3 | 74–77 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–222 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 68 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 89 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 113 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 153 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 171 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 186 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 202 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 216 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–124 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 46 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 47 |
ShortVariable | Avoid variables with short names like id | 3 | 99 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 36–40 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 36–40 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–125 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 46–125 |
CommentRequired | Public method and constructor comments are required | 3 | 55–62 |
CloneThrowsCloneNotSupportedException | clone() method should throw CloneNotSupportedException | 3 | 113–124 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 122 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 48–147 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 58–74 |
CommentRequired | Public method and constructor comments are required | 3 | 76–84 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 83 |
ShortVariable | Avoid variables with short names like id | 3 | 91 |
CommentRequired | Public method and constructor comments are required | 3 | 109–118 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 128 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–133 |
CommentRequired | Public method and constructor comments are required | 3 | 49–52 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 49–52 |
CommentRequired | Public method and constructor comments are required | 3 | 54–59 |
CommentRequired | Public method and constructor comments are required | 3 | 61–69 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 68 |
CommentRequired | Public method and constructor comments are required | 3 | 71–79 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 78 |
CommentRequired | Public method and constructor comments are required | 3 | 81–105 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 94–97 |
CommentRequired | Public method and constructor comments are required | 3 | 107–116 |
CommentRequired | Public method and constructor comments are required | 3 | 118–126 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Map' | 4 | 36 |
CommentRequired | Header comments are required | 3 | 41–86 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 49–52 |
MissingOverride | The method 'getName()' is missing an @Override annotation. | 3 | 59–62 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.apache.log4j.Logger' | 4 | 42 |
CommentRequired | Header comments are required | 3 | 46–131 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 50–53 |
CommentRequired | Public method and constructor comments are required | 3 | 50–53 |
CommentRequired | Public method and constructor comments are required | 3 | 55–60 |
CommentRequired | Public method and constructor comments are required | 3 | 62–70 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 69 |
CommentRequired | Public method and constructor comments are required | 3 | 72–80 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 79 |
ShortVariable | Avoid variables with short names like id | 3 | 87 |
CommentRequired | Public method and constructor comments are required | 3 | 105–114 |
CommentRequired | Public method and constructor comments are required | 3 | 116–124 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–107 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 48–51 |
CommentRequired | Public method and constructor comments are required | 3 | 48–51 |
CommentRequired | Public method and constructor comments are required | 3 | 53–59 |
CommentRequired | Public method and constructor comments are required | 3 | 61–69 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 68 |
CommentRequired | Public method and constructor comments are required | 3 | 71–79 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 78 |
CommentRequired | Public method and constructor comments are required | 3 | 81–90 |
CommentRequired | Public method and constructor comments are required | 3 | 92–100 |
Rule | Violation | Priority | Line |
---|---|---|---|
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 69–72 |
CommentRequired | Public method and constructor comments are required | 3 | 69–72 |
CommentRequired | Public method and constructor comments are required | 3 | 74–78 |
CommentRequired | Public method and constructor comments are required | 3 | 80–89 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 88 |
CommentRequired | Public method and constructor comments are required | 3 | 91–98 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 97 |
CommentRequired | Public method and constructor comments are required | 3 | 100–112 |
CommentRequired | Public method and constructor comments are required | 3 | 114–126 |
CommentRequired | Public method and constructor comments are required | 3 | 146–154 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–83 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–55 |
CommentRequired | Public method and constructor comments are required | 3 | 57–65 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 64 |
CommentRequired | Public method and constructor comments are required | 3 | 67–76 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–124 |
CommentRequired | Public method and constructor comments are required | 3 | 47–50 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 47–50 |
CommentRequired | Public method and constructor comments are required | 3 | 52–58 |
CommentRequired | Public method and constructor comments are required | 3 | 71–80 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 79 |
CommentRequired | Public method and constructor comments are required | 3 | 82–90 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 89 |
CommentRequired | Public method and constructor comments are required | 3 | 92–105 |
CommentRequired | Public method and constructor comments are required | 3 | 107–117 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 113–114 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 72–90 |
Rule | Violation | Priority | Line |
---|---|---|---|
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 67–70 |
ShortVariable | Avoid variables with short names like rt | 3 | 78 |
ShortVariable | Avoid variables with short names like p | 3 | 84 |
Rule | Violation | Priority | Line |
---|---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 3 | 50–51 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 3 | 99–124 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 99–124 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 64–242 |
FieldNamingConventions | The final field name '_notificationStoreService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
FieldNamingConventions | The final field name '_demandTypeCacheService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 69 |
CommentRequired | Public method and constructor comments are required | 3 | 71–78 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 73–76 |
CyclomaticComplexity | The method 'purge(RequestAuthor, String, List, int)' has a cyclomatic complexity of 11. | 3 | 85–184 |
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 73 characters appended. | 3 | 87 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 93 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 93 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 155 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 155 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 155 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. | 3 | 162 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 162 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 162 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 166 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 166 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 166 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 170 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 170 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 170 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 174 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 177 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 236 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–114 |
CommentRequired | Public method and constructor comments are required | 3 | 49–56 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 51–54 |
CommentRequired | Public method and constructor comments are required | 3 | 58–84 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 64–75 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 78 |
CommentRequired | Public method and constructor comments are required | 3 | 86–113 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 107 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–53 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 63–70 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 65–68 |
ShortVariable | Avoid variables with short names like sb | 3 | 213 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 215 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 218 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 220 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 222 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 225 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 227 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 229 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 256 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 256 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 67–372 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 71 |
FieldNamingConventions | The final field name '_attributeCertificationDefinitionService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 72 |
FieldNamingConventions | The final field name '_serviceContractService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 77–85 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 79–83 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 125 |
CommentRequired | Public method and constructor comments are required | 3 | 141–146 |
CommentRequired | Public method and constructor comments are required | 3 | 148–162 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 157 |
CommentRequired | Public method and constructor comments are required | 3 | 164–178 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 173 |
CommentRequired | Public method and constructor comments are required | 3 | 180–194 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 189 |
CyclomaticComplexity | The method 'updateAttribute(AttributeDto, Identity, String)' has a cyclomatic complexity of 10. | 3 | 253–329 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 282–289 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–338 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 75 |
CommentRequired | Public method and constructor comments are required | 3 | 80–88 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 82–86 |
CommentRequired | Public method and constructor comments are required | 3 | 90–92 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 113–119 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 115–118 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 164–336 |
NcssCount | The method 'validatePivotAttributesIntegrity(IdentityDto, String, IdentityDto, boolean, ChangeResponse)' has a NCSS line count of 69. | 3 | 164–336 |
NPathComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, String, IdentityDto, boolean, ChangeResponse)' has an NPath complexity of 677376 | 3 | 164–336 |
CyclomaticComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, String, IdentityDto, boolean, ChangeResponse)' has a cyclomatic complexity of 29. | 3 | 164–336 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 184 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 237–245 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 256–264 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 270 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 44–100 |
CommentRequired | Header comments are required | 3 | 44–100 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 46 |
CommentRequired | Public method and constructor comments are required | 3 | 50–58 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 52–56 |
CommentRequired | Public method and constructor comments are required | 3 | 64–67 |
CommentRequired | Public method and constructor comments are required | 3 | 69–72 |
CommentRequired | Public method and constructor comments are required | 3 | 74–82 |
CommentRequired | Public method and constructor comments are required | 3 | 84–88 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 42–56 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 42–56 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–666 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 79–666 |
CommentRequired | Header comments are required | 3 | 79–666 |
GodClass | Possible God Class (WMC=79, ATFD=112, TCC=3.953%) | 3 | 79–666 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 80–666 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 82 |
CommentRequired | Public method and constructor comments are required | 3 | 85–93 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 87–91 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 222–230 |
CommentRequired | Public method and constructor comments are required | 3 | 365–374 |
CommentRequired | Public method and constructor comments are required | 3 | 376–380 |
CommentRequired | Public method and constructor comments are required | 3 | 382–386 |
CommentRequired | Public method and constructor comments are required | 3 | 388–392 |
CommentRequired | Public method and constructor comments are required | 3 | 394–398 |
CommentRequired | Public method and constructor comments are required | 3 | 400–404 |
CommentRequired | Public method and constructor comments are required | 3 | 406–410 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 459 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 503 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 526 |
ShortVariable | Avoid variables with short names like id | 3 | 539 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 560 |
NPathComplexity | The method 'validateContractDefinition(ServiceContract, ClientApplication)' has an NPath complexity of 480 | 3 | 574–642 |
CyclomaticComplexity | The method 'validateContractDefinition(ServiceContract, ClientApplication)' has a cyclomatic complexity of 17. | 3 | 574–642 |
CommentRequired | Public method and constructor comments are required | 3 | 644–651 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–76 |
FieldNamingConventions | The field name 'logs' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
AvoidStringBufferField | StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). | 3 | 42 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 55 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 63 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 71 |
CommentRequired | Public method and constructor comments are required | 3 | 75 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–53 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 48–180 |
CommentRequired | Header comments are required | 3 | 48–180 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 54–62 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 56–60 |
ShortVariable | Avoid variables with short names like id | 3 | 174 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–269 |
CommentRequired | Header comments are required | 3 | 68–269 |
FieldNamingConventions | The final field name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 73 |
FormalParameterNamingConventions | The final method parameter name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 75 |
CommentRequired | Public method and constructor comments are required | 3 | 75–78 |
CyclomaticComplexity | The method 'findDuplicates(Map, String, List, List)' has a cyclomatic complexity of 12. | 3 | 95–177 |
NPathComplexity | The method 'findDuplicates(Map, String, List, List)' has an NPath complexity of 720 | 3 | 95–177 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–46 |
CommentRequired | Public method and constructor comments are required | 3 | 44–45 |
Rule | Violation | Priority | Line |
---|---|---|---|
CyclomaticComplexity | The class 'GeocodesService' has a total cyclomatic complexity of 156 (highest 56). | 3 | 58–1283 |
ExcessiveClassLength | Avoid really long classes. | 3 | 58–1283 |
CommentRequired | Header comments are required | 3 | 58–1283 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 3 | 59–1283 |
FieldNamingConventions | The constant name '_identityAttributeService' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 61 |
CommentRequired | Public method and constructor comments are required | 3 | 63–78 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 69 |
CommentRequired | Public method and constructor comments are required | 3 | 80–138 |
CyclomaticComplexity | The method 'processCountryAndCityForUpdate(Identity, List, List, String)' has a cyclomatic complexity of 11. | 3 | 80–138 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 129 |
NPathComplexity | The method 'processCountryForUpdate(Identity, List, List, String)' has an NPath complexity of 1568 | 3 | 149–527 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 149–527 |
NcssCount | The method 'processCountryForUpdate(Identity, List, List, String)' has a NCSS line count of 217. | 3 | 149–527 |
CyclomaticComplexity | The method 'processCountryForUpdate(Identity, List, List, String)' has a cyclomatic complexity of 46. | 3 | 149–527 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 179–525 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 201–254 |
LocalVariableNamingConventions | The final local variable name 'LabelStatusMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 204 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 259–525 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 302–355 |
LocalVariableNamingConventions | The final local variable name 'LabelStatusMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 305 |
AvoidDuplicateLiterals | The String literal "dd/MM/yyyy" appears 6 times in this file; the first occurrence is on line 371 | 3 | 371 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 371 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 377 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 382 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 385–524 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 399 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 417–440 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 477 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 495–520 |
CyclomaticComplexity | The method 'processCountryForCreate(Identity, List, String)' has a cyclomatic complexity of 13. | 3 | 537–662 |
NcssCount | The method 'processCountryForCreate(Identity, List, String)' has a NCSS line count of 71. | 3 | 537–662 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 537–662 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 555–660 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 614 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 618 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 632 |
NcssCount | The method 'processFrenchCityForCreate(Identity, List, String)' has a NCSS line count of 71. | 3 | 673–799 |
NPathComplexity | The method 'processFrenchCityForCreate(Identity, List, String)' has an NPath complexity of 444 | 3 | 673–799 |
CyclomaticComplexity | The method 'processFrenchCityForCreate(Identity, List, String)' has a cyclomatic complexity of 18. | 3 | 673–799 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 673–799 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 693 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 697 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 701–797 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 703–704 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 723 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 756–758 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 769 |
CyclomaticComplexity | The method 'processFrenchCityForUpdate(Identity, List, List, String)' has a cyclomatic complexity of 56. | 3 | 810–1186 |
NcssCount | The method 'processFrenchCityForUpdate(Identity, List, List, String)' has a NCSS line count of 217. | 3 | 810–1186 |
NPathComplexity | The method 'processFrenchCityForUpdate(Identity, List, List, String)' has an NPath complexity of 12000 | 3 | 810–1186 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 810–1186 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 845 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 851 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 856 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 860–1184 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 862–863 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 882 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 883–936 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 941–1184 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 964–966 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 985 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 986–1039 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1046–1183 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1048–1050 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 1061 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1079–1102 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1126–1128 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 1139 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1157–1180 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1239–1264 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 1269–1279 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 62–156 |
CommentRequired | Public method and constructor comments are required | 3 | 66–73 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 68–71 |
CommentRequired | Public method and constructor comments are required | 3 | 75–98 |
CommentRequired | Public method and constructor comments are required | 3 | 100–139 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 103 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–53 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.Identity' | 4 | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityHome' | 4 | 38 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 54–130 |
CommentRequired | Header comments are required | 3 | 54–130 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 58 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 66 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 66 |
CommentRequired | Public method and constructor comments are required | 3 | 73–80 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 75–78 |
CyclomaticComplexity | The method 'export(IdentityExportRequest, String)' has a cyclomatic complexity of 10. | 3 | 91–129 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 101–102 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–297 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 70–297 |
CommentRequired | Header comments are required | 3 | 70–297 |
FieldNamingConventions | The constant name '_qualityBaseCache' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 72 |
CommentRequired | Public method and constructor comments are required | 3 | 76–84 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 78–82 |
CommentRequired | Public method and constructor comments are required | 3 | 90–93 |
CommentRequired | Public method and constructor comments are required | 3 | 95–162 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 128–131 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 191–210 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 202 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 203–206 |
CommentRequired | Public method and constructor comments are required | 3 | 213–233 |
CyclomaticComplexity | The method 'computeMatchScore(IdentityDto, List)' has a cyclomatic complexity of 10. | 3 | 235–296 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 250 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 258–261 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 262–271 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–1558 |
ExcessiveClassLength | Avoid really long classes. | 3 | 113–1558 |
GodClass | Possible God Class (WMC=160, ATFD=303, TCC=19.524%) | 3 | 113–1558 |
CyclomaticComplexity | The class 'IdentityService' has a total cyclomatic complexity of 160 (highest 22). | 3 | 113–1558 |
CommentRequired | Header comments are required | 3 | 113–1558 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 114–1558 |
FieldNamingConventions | The final field name '_identityStoreNotifyListenerService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 139 |
FieldNamingConventions | The final field name '_serviceContractService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 140 |
FieldNamingConventions | The final field name '_identityAttributeService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 141 |
FieldNamingConventions | The final field name '_internalUserService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 142 |
FieldNamingConventions | The final field name '_duplicateServiceDatabase' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 143 |
FieldNamingConventions | The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 144 |
FieldNamingConventions | The final field name '_elasticSearchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 145 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 148 |
CommentRequired | Public method and constructor comments are required | 3 | 152–159 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 154–157 |
NPathComplexity | The method 'create(IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has an NPath complexity of 16524 | 3 | 176–283 |
CyclomaticComplexity | The method 'create(IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has a cyclomatic complexity of 22. | 3 | 176–283 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 176–283 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 275 |
NPathComplexity | The method 'update(String, IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has an NPath complexity of 31104 | 3 | 316–478 |
NcssCount | The method 'update(String, IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has a NCSS line count of 72. | 3 | 316–478 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 316–478 |
CyclomaticComplexity | The method 'update(String, IdentityChangeRequest, RequestAuthor, String, IdentityChangeResponse)' has a cyclomatic complexity of 20. | 3 | 316–478 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 408–422 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 427 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 470 |
NcssCount | The method 'merge(IdentityMergeRequest, RequestAuthor, String, IdentityMergeResponse)' has a NCSS line count of 68. | 3 | 536–683 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 536–683 |
CyclomaticComplexity | The method 'merge(IdentityMergeRequest, RequestAuthor, String, IdentityMergeResponse)' has a cyclomatic complexity of 15. | 3 | 536–683 |
NPathComplexity | The method 'merge(IdentityMergeRequest, RequestAuthor, String, IdentityMergeResponse)' has an NPath complexity of 6400 | 3 | 536–683 |
AvoidDuplicateLiterals | The String literal "Secondary identity found with customer_id " appears 4 times in this file; the first occurrence is on line 582 | 3 | 582 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 655 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 665 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 675 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 759 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 767 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 775 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 807 |
CommentRequired | Public method and constructor comments are required | 3 | 836–842 |
NPathComplexity | The method 'search(IdentitySearchRequest, RequestAuthor, IdentitySearchResponse, String)' has an NPath complexity of 280 | 3 | 860–957 |
CyclomaticComplexity | The method 'search(IdentitySearchRequest, RequestAuthor, IdentitySearchResponse, String)' has a cyclomatic complexity of 16. | 3 | 860–957 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 885–888 |
ShortVariable | Avoid variables with short names like sb | 3 | 894 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 904 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 907 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 910 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 972–982 |
CyclomaticComplexity | The method 'search(String, String, IdentitySearchResponse, String, RequestAuthor)' has a cyclomatic complexity of 15. | 3 | 999–1049 |
NPathComplexity | The method 'search(String, String, IdentitySearchResponse, String, RequestAuthor)' has an NPath complexity of 264 | 3 | 999–1049 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1073–1076 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1101–1104 |
NPathComplexity | The method 'updateIdentity(IdentityDto, String, ChangeResponse, Identity)' has an NPath complexity of 576 | 3 | 1134–1189 |
CyclomaticComplexity | The method 'updateIdentity(IdentityDto, String, ChangeResponse, Identity)' has a cyclomatic complexity of 12. | 3 | 1134–1189 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 1214–1323 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 1409 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 1500 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 1550 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–55 |
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 36–55 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 52–550 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 53–550 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 54 |
FieldNamingConventions | The final field name '_connexion' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
FieldNamingConventions | The final field name '_strServerUrl' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 57 |
AvoidDuplicateLiterals | The String literal "_doc" appears 4 times in this file; the first occurrence is on line 115 | 3 | 115 |
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. | 3 | 139 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 143 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 144 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 158 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 267 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 375 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 376 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 380 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 380 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 380 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 467 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 529 |
CommentRequired | Public method and constructor comments are required | 3 | 535–549 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 542 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–45 |
CommentRequired | Header comments are required | 3 | 38–45 |
CommentRequired | Public method and constructor comments are required | 3 | 40–44 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–356 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 74–356 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 77 |
FieldNamingConventions | The final field name '_simpleResponseHandler' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 79 |
FieldNamingConventions | The final field name '_searchResponseHandler' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 80 |
FieldNamingConventions | The final field name '_mSearchResponseHandler' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 81 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 102–104 |
MethodNamingConventions | The instance method name 'GET' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 113–123 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 115 |
MethodNamingConventions | The instance method name 'HEAD' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 132–142 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 134 |
MethodNamingConventions | The instance method name 'PUT' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 153–169 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 155 |
MethodNamingConventions | The instance method name 'POST' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 180–196 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 182 |
MethodNamingConventions | The instance method name 'SEARCH' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 207–224 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 209 |
MethodNamingConventions | The instance method name 'MSEARCH' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 235–261 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 237 |
MethodNamingConventions | The instance method name 'DELETE' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 270–285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final | 3 | 272 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 316 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 330 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–51 |
CommentRequired | Header comments are required | 3 | 38–51 |
CommentRequired | Public method and constructor comments are required | 3 | 40–44 |
CommentRequired | Public method and constructor comments are required | 3 | 46–50 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–51 |
CommentRequired | Public method and constructor comments are required | 3 | 44 |
CommentRequired | Public method and constructor comments are required | 3 | 46 |
CommentRequired | Public method and constructor comments are required | 3 | 48 |
CommentRequired | Public method and constructor comments are required | 3 | 50 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 81 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'nIndex' | 2 | 116 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 139 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 162 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–96 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 46–49 |
FormalParameterNamingConventions | The method parameter name '_enumActionType' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 51–55 |
CommentRequired | Public method and constructor comments are required | 3 | 57–60 |
CommentRequired | Public method and constructor comments are required | 3 | 62–65 |
CommentRequired | Public method and constructor comments are required | 3 | 67–70 |
CommentRequired | Public method and constructor comments are required | 3 | 72–75 |
FormalParameterNamingConventions | The method parameter name '_enumActionType' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 72 |
CommentRequired | Public method and constructor comments are required | 3 | 77–80 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 82 |
CommentRequired | Public method and constructor comments are required | 3 | 82–85 |
FormalParameterNamingConventions | The method parameter name '_dateIndex' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 92 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–125 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 57 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 71 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 81 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 106 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–73 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 43–73 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 45 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 46 |
CommentRequired | Public method and constructor comments are required | 3 | 52–57 |
CommentRequired | Public method and constructor comments are required | 3 | 59–62 |
CommentRequired | Public method and constructor comments are required | 3 | 64–67 |
CommentRequired | Public method and constructor comments are required | 3 | 69–72 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 36–41 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 49–113 |
FieldNamingConventions | The final field name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 56–59 |
FormalParameterNamingConventions | The method parameter name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
CyclomaticComplexity | The method 'processIdentityChange(IdentityChangeType, Identity, String, String, RequestAuthor, String, Map)' has a cyclomatic complexity of 12. | 3 | 62–94 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 73 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 78 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 83 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 107 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 108 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 109 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 110 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'AttributeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=22, WMC=24) | 3 | 38–182 |
CommentRequired | Header comments are required | 3 | 38–182 |
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
FieldNamingConventions | The field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'pivot' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'certifierCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'certifierName' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'certificateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'certificateExpirationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'lastUpdateClientCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 52–53 |
CommentRequired | Public method and constructor comments are required | 3 | 52–66 |
CommentRequired | Public method and constructor comments are required | 3 | 68–71 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 68–71 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'IdentityObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=14, WMC=16) | 3 | 43–137 |
CommentRequired | Header comments are required | 3 | 43–137 |
FieldNamingConventions | The field name 'connectionId' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'customerId' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'expirationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'monParisActive' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'attributes' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 53–63 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 65–68 |
CommentRequired | Public method and constructor comments are required | 3 | 65–68 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'BulkAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=10) | 3 | 38–98 |
CommentRequired | Header comments are required | 3 | 38–98 |
FieldNamingConventions | The field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
FieldNamingConventions | The field name 'document' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'internalId' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
CommentRequired | Public method and constructor comments are required | 3 | 46–52 |
CommentRequired | Public method and constructor comments are required | 3 | 54–59 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 36–61 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–62 |
ShortVariable | Avoid variables with short names like o | 3 | 48 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'AliasAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 40–76 |
CommentRequired | Header comments are required | 3 | 40–76 |
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'alias' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–61 |
FieldNamingConventions | The field name 'actions' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–50 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–76 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 44–76 |
CommentRequired | Public method and constructor comments are required | 3 | 47 |
CommentRequired | Public method and constructor comments are required | 3 | 49 |
CommentRequired | Public method and constructor comments are required | 3 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 53 |
CommentRequired | Public method and constructor comments are required | 3 | 55 |
CommentRequired | Public method and constructor comments are required | 3 | 57 |
CommentRequired | Public method and constructor comments are required | 3 | 60 |
CommentRequired | Public method and constructor comments are required | 3 | 63 |
CommentRequired | Public method and constructor comments are required | 3 | 65 |
CommentRequired | Public method and constructor comments are required | 3 | 67 |
CommentRequired | Public method and constructor comments are required | 3 | 69 |
CommentRequired | Public method and constructor comments are required | 3 | 71 |
CommentRequired | Public method and constructor comments are required | 3 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 75 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 63–272 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 64–272 |
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 67 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
CommentRequired | Public method and constructor comments are required | 3 | 70–73 |
CommentRequired | Public method and constructor comments are required | 3 | 75–78 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 93 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 129 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 144 |
UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 156 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–86 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 3 | 46–86 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 48 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 49 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–92 |
FieldNamingConventions | The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
CommentRequired | Protected method constructor comments are required | 3 | 43–53 |
CommentRequired | Protected method constructor comments are required | 3 | 55–61 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 57–193 |
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
FieldNamingConventions | The final field name 'BATCH_SIZE' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
FieldNamingConventions | The final field name 'ACTIVE' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
CommentRequired | Public method and constructor comments are required | 3 | 63–65 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 3 | 63–65 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 63–65 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 63–65 |
CommentRequired | Public method and constructor comments are required | 3 | 67–78 |
CommentRequired | Public method and constructor comments are required | 3 | 80–153 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 86–151 |
CommentRequired | Public method and constructor comments are required | 3 | 178–192 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' | 4 | 36 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 41–110 |
CommentRequired | Header comments are required | 3 | 41–110 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_nCurrentNbIndexedIdentities' | 3 | 43 |
RedundantFieldInitializer | Avoid using redundant field initializer for '_nNbTotalIdentities' | 3 | 44 |
AvoidStringBufferField | StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). | 3 | 45 |
FieldNamingConventions | The final field name '_bIsRunning' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 46 |
CommentRequired | Public method and constructor comments are required | 3 | 48–51 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
FormalParameterNamingConventions | The method parameter name '_nCurrentNbIndexedIdentities' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 53 |
CommentRequired | Public method and constructor comments are required | 3 | 58–61 |
CommentRequired | Public method and constructor comments are required | 3 | 63–66 |
FormalParameterNamingConventions | The method parameter name '_nNbTotalIdentities' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
CommentRequired | Public method and constructor comments are required | 3 | 68–71 |
CommentRequired | Public method and constructor comments are required | 3 | 73–80 |
CommentRequired | Public method and constructor comments are required | 3 | 82–85 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 84 |
CommentRequired | Public method and constructor comments are required | 3 | 87–90 |
CommentRequired | Public method and constructor comments are required | 3 | 92–95 |
CommentRequired | Public method and constructor comments are required | 3 | 97–100 |
CommentRequired | Protected method constructor comments are required | 3 | 102–109 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 108 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 57–133 |
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
FieldNamingConventions | The final field name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
CyclomaticComplexity | The method 'doTask()' has a cyclomatic complexity of 10. | 3 | 64–130 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 9–27 |
CommentRequired | Public method and constructor comments are required | 3 | 14–26 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–79 |
CommentRequired | Public method and constructor comments are required | 3 | 49–52 |
CommentRequired | Public method and constructor comments are required | 3 | 54–66 |
CommentRequired | Protected method constructor comments are required | 3 | 68 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–186 |
CommentRequired | Public method and constructor comments are required | 3 | 48–53 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 56–180 |
SwitchDensity | A high ratio of statements to labels in a switch statement. Consider refactoring. | 3 | 61–166 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 64–83 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 86–110 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 92 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 94 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 113–128 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 131 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 133–146 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 150–163 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–53 |
ShortVariable | Avoid variables with short names like o | 3 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–70 |
CommentRequired | Public method and constructor comments are required | 3 | 46–50 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–53 |
ShortVariable | Avoid variables with short names like o | 3 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–53 |
ShortVariable | Avoid variables with short names like o | 3 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.annotation.JsonProperty' | 4 | 36 |
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.databind.annotation.JsonSerialize' | 4 | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.indexer.elastic.search.model.CustomSerializer' | 4 | 38 |
CommentRequired | Header comments are required | 3 | 40–42 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 3 | 40–42 |
AbstractClassWithoutAnyMethod | No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. | 1 | 40–42 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'AbstractMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 40–66 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 3 | 40–66 |
CommentRequired | Header comments are required | 3 | 40–66 |
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Line |
---|---|---|---|
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 3 | 40–66 |
CommentRequired | Header comments are required | 3 | 40–66 |
DataClass | The class 'AbstractSpan' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 40–66 |
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'Bool' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 3 | 43–97 |
CommentRequired | Header comments are required | 3 | 43–97 |
ShortClassName | Avoid short class names like Bool | 4 | 43–97 |
FieldNamingConventions | The field name 'must' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'mustNot' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'should' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
FieldNamingConventions | The field name 'minimumShouldMatch' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 55 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–49 |
FieldNamingConventions | The field name 'field' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 38 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–57 |
FieldNamingConventions | The field name 'exists' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 43–46 |
CommentRequired | Public method and constructor comments are required | 3 | 43–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 53–218 |
DataClass | The class 'InnerSearchRequest' is suspected to be a Data Class (WOC=31.250%, NOPA=0, NOAM=10, WMC=23) | 3 | 53–218 |
FieldNamingConventions | The field name 'from' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 55 |
FieldNamingConventions | The field name 'size' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 57 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 60 |
FieldNamingConventions | The field name 'sourceFilters' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 63 |
CommentRequired | Public method and constructor comments are required | 3 | 65–71 |
ConstructorCallsOverridableMethod | Overridable method 'setQuery' called during object construction | 1 | 68 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 74 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 74 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 74 |
CommentRequired | Public method and constructor comments are required | 3 | 126–138 |
AvoidDuplicateLiterals | The String literal "attributes." appears 5 times in this file; the first occurrence is on line 130 | 3 | 130 |
AvoidDuplicateLiterals | The String literal ".value" appears 5 times in this file; the first occurrence is on line 130 | 3 | 130 |
CommentRequired | Public method and constructor comments are required | 3 | 140–151 |
CommentRequired | Public method and constructor comments are required | 3 | 153–161 |
CommentRequired | Public method and constructor comments are required | 3 | 163–174 |
CommentRequired | Public method and constructor comments are required | 3 | 185–191 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–49 |
FieldNamingConventions | The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 38 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–60 |
FieldNamingConventions | The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 46–49 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–39 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–60 |
FieldNamingConventions | The field name 'matchPhrase' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 46–49 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–72 |
FieldNamingConventions | The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
FieldNamingConventions | The field name 'fields' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
MissingOverride | The method 'getQuery()' is missing an @Override annotation. | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 58–61 |
MissingOverride | The method 'setQuery(String)' is missing an @Override annotation. | 3 | 58–61 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–57 |
FieldNamingConventions | The field name 'multiMatch' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–46 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 43–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–78 |
DataClass | The class 'MultiSearchAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) | 3 | 36–78 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 38 |
FieldNamingConventions | The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 39 |
FieldNamingConventions | The field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
CommentRequired | Public method and constructor comments are required | 3 | 42–47 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 36–52 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–53 |
FieldNamingConventions | The field name 'bool' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–59 |
FieldNamingConventions | The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–57 |
FieldNamingConventions | The field name 'spanMulti' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 43–46 |
CommentRequired | Public method and constructor comments are required | 3 | 43–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'SpanMultiFuzzyMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 40–76 |
CommentRequired | Header comments are required | 3 | 40–76 |
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–62 |
FieldNamingConventions | The field name 'fuzzy' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
CommentRequired | Public method and constructor comments are required | 3 | 48–51 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'SpanNear' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) | 3 | 43–93 |
CommentRequired | Header comments are required | 3 | 43–93 |
FieldNamingConventions | The field name 'clauses' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'boost' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'slop' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'inOrder' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
ControlStatementBraces | This statement should have braces | 3 | 55 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–57 |
FieldNamingConventions | The field name 'spanNear' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 43–46 |
CommentRequired | Public method and constructor comments are required | 3 | 43–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–66 |
DataClass | The class 'SpanTerm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 40–66 |
FieldNamingConventions | The field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–60 |
FieldNamingConventions | The field name 'spanTerm' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 46–49 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortClassName | Avoid short class names like Hit | 4 | 43–108 |
DataClass | The class 'Hit' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 3 | 43–108 |
CommentRequired | Header comments are required | 3 | 43–108 |
FieldNamingConventions | The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
ShortVariable | Avoid variables with short names like id | 3 | 48 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'score' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'source' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
ShortVariable | Avoid variables with short names like id | 3 | 69 |
ShortVariable | Avoid variables with short names like o | 3 | 95 |
ControlStatementBraces | This statement should have braces | 3 | 98 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–121 |
DataClass | The class 'Response' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 3 | 44–121 |
FieldNamingConventions | The field name 'took' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'timedOut' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'shards' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The field name 'result' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 54 |
FieldNamingConventions | The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 57 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 60 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 60 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'Responses' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 42–68 |
CommentRequired | Header comments are required | 3 | 42–68 |
FieldNamingConventions | The field name 'took' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
AvoidFieldNameMatchingTypeName | It is somewhat confusing to have a field name matching the declaring class name | 3 | 47 |
FieldNamingConventions | The field name 'responses' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'Result' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 43–81 |
CommentRequired | Header comments are required | 3 | 43–81 |
FieldNamingConventions | The field name 'total' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'maxScore' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'hits' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'Shard' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 3 | 40–98 |
CommentRequired | Header comments are required | 3 | 40–98 |
FieldNamingConventions | The field name 'total' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'successful' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'skipped' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'failed' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'failures' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
DataClass | The class 'Total' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 39–63 |
CommentRequired | Header comments are required | 3 | 39–63 |
FieldNamingConventions | The field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'relation' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 48–138 |
CommentRequired | Public method and constructor comments are required | 3 | 115–137 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 67–300 |
FieldNamingConventions | The constant name 'propertySize' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 72 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 75–78 |
CommentRequired | Public method and constructor comments are required | 3 | 80–83 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 96–116 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 247 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 54–154 |
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 3 | 54–154 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 54–154 |
FieldNamingConventions | The final field name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
FormalParameterNamingConventions | The method parameter name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
ShortVariable | Avoid variables with short names like s | 3 | 141 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–65 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_attributeChangelistListeners' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
FieldNamingConventions | The final field name '_identityChangeListListeners' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 62 |
InsufficientStringBufferDeclaration | StringBuffer constructor is initialized with size 16, but has at least 50 characters appended. | 3 | 77 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 109–112 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 133 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 138 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 166 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 171 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name 'NETWORK_MAX_RETRY' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 53 |
FieldNamingConventions | The final field name 'NETWORK_DELAY' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
FieldNamingConventions | The final field name 'NETWORK_DELAY_ACTIVATED' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 55 |
FieldNamingConventions | The field name 'nbRetry' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 56 |
CommentRequired | Public method and constructor comments are required | 3 | 58–61 |
CommentRequired | Public method and constructor comments are required | 3 | 63–85 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 81 |
AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 3 | 87 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 98 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 114–147 |
CommentRequired | Enum comments are required | 3 | 155–158 |
FieldNamingConventions | The enum constant name 'info' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 157 |
FieldNamingConventions | The enum constant name 'error' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 157 |
FieldNamingConventions | The enum constant name 'debug' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 157 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 4–6 |
SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 3 | 5 |
CommentRequired | Public method and constructor comments are required | 3 | 5 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 3 | 56–171 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 56–171 |
CommentRequired | Header comments are required | 3 | 56–171 |
MissingOverride | The method 'getQualifiedIdentities(List, int, boolean, List)' is missing an @Override annotation. | 3 | 69–87 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 49–145 |
CommentRequired | Public method and constructor comments are required | 3 | 112–144 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 124–127 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 129–139 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–62 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
CommentRequired | Public method and constructor comments are required | 3 | 44–51 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 46–49 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 58–61 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–80 |
CommentRequired | Public method and constructor comments are required | 3 | 45–49 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 45–49 |
CommentRequired | Public method and constructor comments are required | 3 | 51–54 |
CommentRequired | Public method and constructor comments are required | 3 | 76–79 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–68 |
ClassNamingConventions | The utility class name 'Combinations' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 40–68 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 3 | 41–68 |
CommentRequired | Public method and constructor comments are required | 3 | 42–67 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 44 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 3–7 |
CommentRequired | Public method and constructor comments are required | 3 | 4 |
CommentRequired | Public method and constructor comments are required | 3 | 5 |
CommentRequired | Public method and constructor comments are required | 3 | 6 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortClassName | Avoid short class names like Maps | 4 | 44–62 |
CommentRequired | Header comments are required | 3 | 44–62 |
ClassNamingConventions | The utility class name 'Maps' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 44–62 |
UseUtilityClass | All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 3 | 45–62 |
CommentRequired | Public method and constructor comments are required | 3 | 46–61 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 48 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 48 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.IdentityRequestValidator' | 4 | 40 |
FieldNamingConventions | The final field name '_strApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 58 |
UncommentedEmptyMethodBody | Document empty method body | 3 | 74–75 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 90–97 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
FormalParameterNamingConventions | The method parameter name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 57 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_nServiceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 58 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 94–115 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.application.ClientApplicationHome' | 4 | 36 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 4 | 50 |
UncommentedEmptyMethodBody | Document empty method body | 3 | 74–75 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 57 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 58 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 99–109 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 102–123 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–80 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–54 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 68–76 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–66 |
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 46 |
CommentRequired | Public method and constructor comments are required | 3 | 48–53 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 88–89 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 49 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.identity.IdentityService' | 4 | 38 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseStatus' | 4 | 41 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.IdentitySearchResponse' | 4 | 45 |
CommentRequired | Header comments are required | 3 | 50–77 |
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 53 |
CommentRequired | Public method and constructor comments are required | 3 | 55–60 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor' | 4 | 39 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 57 |
CyclomaticComplexity | The method 'doSpecificRequest()' has a cyclomatic complexity of 11. | 3 | 89–160 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 95–154 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 98 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 104 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 135 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–80 |
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 56 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 92–97 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_identitySearchRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 58 |
CommentRequired | Public method and constructor comments are required | 3 | 60–65 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 99–106 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–75 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–55 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 4 | 54 |
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 62 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 63 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 72 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 104–105 |
Rule | Violation | Priority | Line |
---|---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 3 | 70–71 |
Rule | Violation | Priority | Line |
---|---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 3 | 69–70 |
Rule | Violation | Priority | Line |
---|---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 3 | 72–73 |
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidDuplicateLiterals | The String literal " with explanation message" appears 5 times in this file; the first occurrence is on line 78 | 3 | 78 |
AvoidDuplicateLiterals | The String literal "Failure" appears 5 times in this file; the first occurrence is on line 79 | 3 | 79 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 81–85 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 109–114 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 138–143 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 170–174 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 203–207 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–61 |
CommentRequired | Public method and constructor comments are required | 3 | 49–54 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–490 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.contract.RefAttributeCertificationDefinitionNotFoundException' | 4 | 54 |
ClassNamingConventions | The utility class name 'DtoConverter' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 88–490 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 89–490 |
CommentRequired | Public method and constructor comments are required | 3 | 147–173 |
NcssCount | The method 'convertContractToDto(ServiceContract)' has a NCSS line count of 60. | 3 | 228–311 |
CommentRequired | Public method and constructor comments are required | 3 | 406–414 |
CommentRequired | Public method and constructor comments are required | 3 | 416–424 |
CommentRequired | Public method and constructor comments are required | 3 | 426–438 |
CommentRequired | Public method and constructor comments are required | 3 | 440–461 |
CommentRequired | Public method and constructor comments are required | 3 | 463–466 |
CommentRequired | Public method and constructor comments are required | 3 | 468–489 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 70–135 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 90–95 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 122–126 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–456 |
UnusedImports | Avoid unused imports such as 'javax.ws.rs.QueryParam' | 4 | 79 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 3 | 98–100 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 98–100 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 11 times in this file; the first occurrence is on line 116 | 3 | 116 |
AvoidDuplicateLiterals | The String literal "Failure" appears 10 times in this file; the first occurrence is on line 117 | 3 | 117 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 119–124 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 150–155 |
AvoidDuplicateLiterals | The String literal "Request body" appears 9 times in this file; the first occurrence is on line 151 | 3 | 151 |
AvoidDuplicateLiterals | The String literal "Success" appears 7 times in this file; the first occurrence is on line 185 | 3 | 185 |
AvoidDuplicateLiterals | The String literal "Conflict" appears 5 times in this file; the first occurrence is on line 187 | 3 | 187 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 189–193 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 221–226 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 253–257 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 283–287 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 313–319 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 353–358 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 385–390 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 416–421 |
CommentRequired | Public method and constructor comments are required | 3 | 441–454 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 441–446 |
Rule | Violation | Priority | Line |
---|---|---|---|
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 85–89 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 111–115 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 137–141 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–309 |
AvoidDuplicateLiterals | The String literal "Service contract Found" appears 4 times in this file; the first occurrence is on line 94 | 3 | 94 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 7 times in this file; the first occurrence is on line 95 | 3 | 95 |
AvoidDuplicateLiterals | The String literal "Failure" appears 7 times in this file; the first occurrence is on line 95 | 3 | 95 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 98–102 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 128–133 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 158–163 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 191–196 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 223–227 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 258–263 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 294–299 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 60 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 59 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 51 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 47–49 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassNamingConventions | The utility class name 'SwaggerConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 39–94 |
ShortVariable | Avoid variables with short names like ID | 3 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 49–116 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 115 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 115 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 49–101 |
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
AddEmptyString | Do not add empty strings | 3 | 95 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 53–242 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 108 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 127 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 61–373 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 128 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 197 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 313 |
ShortVariable | Avoid variables with short names like id | 3 | 361 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 66–396 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 135 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 158 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 239 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 247 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 356 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 364 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.AttributeChange' | 4 | 6 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 25–157 |
CommentRequired | Header comments are required | 3 | 25–157 |
UnusedPrivateField | Avoid unused private fields such as '_identity'. | 3 | 51 |
SingularField | Perhaps '_identity' could be replaced by a local variable. | 3 | 51 |
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 52 |
CyclomaticComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has a cyclomatic complexity of 19. | 3 | 56–127 |
CommentRequired | Public method and constructor comments are required | 3 | 56–127 |
NPathComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has an NPath complexity of 3840 | 3 | 56–127 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 58 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 62–63 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 62–63 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 64–65 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 64–65 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 65 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 66–67 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 66–67 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 67 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 68–69 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 68–69 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 70–71 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 70–71 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 70 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 72–73 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 72 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 72–73 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 74–75 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 3 | 83 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 110 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 115 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 131 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–468 |
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 143 |
FieldNamingConventions | The final field name '_searchIdentityServiceDB' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 145 |
FieldNamingConventions | The final field name '_searchIdentityServiceES' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 146 |
NPathComplexity | The method 'getManageIdentitys(HttpServletRequest)' has an NPath complexity of 2053 | 3 | 149–281 |
CyclomaticComplexity | The method 'getManageIdentitys(HttpServletRequest)' has a cyclomatic complexity of 18. | 3 | 149–281 |
NcssCount | The method 'getManageIdentitys(HttpServletRequest)' has a NCSS line count of 76. | 3 | 149–281 |
CommentRequired | Public method and constructor comments are required | 3 | 149–281 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 149–281 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 151 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 160 |
LocalVariableNamingConventions | The final local variable name 'preferred_username' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 161 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 162 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 246 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 316 |
ShortVariable | Avoid variables with short names like i | 3 | 370 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 383 |
ShortVariable | Avoid variables with short names like i | 3 | 434 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 462 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 63–333 |
FieldNamingConventions | The final field name '_listIdentitySearchRules' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 115 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 127 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 196 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 204 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 320 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 328 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 62–166 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 64 |
UnusedPrivateField | Avoid unused private fields such as 'INFO_IDENTITIES_INDEX'. | 3 | 73 |
FieldNamingConventions | The final field name '_fullIndexTask' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 85 |
CommentRequired | Public method and constructor comments are required | 3 | 89–103 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 122 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'PARAMETER_CERTIFIERS_AUTH'. | 3 | 76 |
UnusedPrivateField | Avoid unused private fields such as 'PARAMETER_CERTIFIER_CODE'. | 3 | 77 |
UnusedPrivateField | Avoid unused private fields such as 'PROPERTY_PAGE_TITLE_MODIFY_CLIENTAPPLICATION_CERTIFICATOR'. | 3 | 83 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_SERVICECONTRACTS'. | 3 | 88 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_ACTIVECONTRACT'. | 3 | 89 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CLIENTAPPLICATION_CERTIF_LIST'. | 3 | 90 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CLIENTAPPLICATION_CERTIF_CODE_MAP'. | 3 | 91 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CERTIFIERS'. | 3 | 92 |
UnusedPrivateField | Avoid unused private fields such as 'MARK_CLIENTAPPLICATION_RIGHT_LIST'. | 3 | 93 |
UnusedPrivateField | Avoid unused private fields such as 'VIEW_MANAGE_CLIENTAPPLICATION_CERTIFICATOR'. | 3 | 107 |
UnusedPrivateField | Avoid unused private fields such as 'ACTION_MANAGE_CLIENTAPPLICATION_CERTIFICATOR'. | 3 | 112 |
UnusedPrivateField | Avoid unused private fields such as 'ACTION_REMOVE_CLIENTAPPLICATION_CERTIFICATOR'. | 3 | 115 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 135 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 142 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 144 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 146 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 171 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 174 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 50–248 |
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 80 |
AddEmptyString | Do not add empty strings | 3 | 112 |
CyclomaticComplexity | The method 'getQueryParameters(HttpServletRequest)' has a cyclomatic complexity of 13. | 3 | 119–183 |
NPathComplexity | The method 'getQueryParameters(HttpServletRequest)' has an NPath complexity of 4096 | 3 | 119–183 |
CommentRequired | Protected method constructor comments are required | 3 | 119–183 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 121 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 142 |
LocalVariableNamingConventions | The final local variable name 'preferred_username' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 147 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 152 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 162 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 167 |
CommentRequired | Protected method constructor comments are required | 3 | 185–247 |
NPathComplexity | The method 'clearParameters(HttpServletRequest)' has an NPath complexity of 4096 | 3 | 185–247 |
CyclomaticComplexity | The method 'clearParameters(HttpServletRequest)' has a cyclomatic complexity of 13. | 3 | 185–247 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 207 |
LocalVariableNamingConventions | The final local variable name 'preferred_username' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 212 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 217 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 227 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 232 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 51–156 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 124 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 124 |
CommentRequired | Protected method constructor comments are required | 3 | 126–155 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 128 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 57–300 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 117 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 136–145 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 137–145 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 65–354 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 145–154 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 146–154 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 335 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 335 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.ArrayList' | 4 | 49 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 59–295 |
UnusedPrivateField | Avoid unused private fields such as 'INFO_REFCERTIFICATIONLEVEL_NOT_REMOVED'. | 3 | 101 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 133–141 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 134–141 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 228 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–120 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'attributeKey' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'attributeRight' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'refCertificationLevel' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
CommentRequired | Public method and constructor comments are required | 3 | 56–60 |
LinguisticNaming | Linguistics Antipattern - The setter 'setServiceContract' should not return any type except void linguistically | 3 | 67–71 |
CommentRequired | Public method and constructor comments are required | 3 | 67–71 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeKey' should not return any type except void linguistically | 3 | 78–82 |
CommentRequired | Public method and constructor comments are required | 3 | 78–82 |
LinguisticNaming | Linguistics Antipattern - The setter 'setRefCertificationLevel' should not return any type except void linguistically | 3 | 89–93 |
CommentRequired | Public method and constructor comments are required | 3 | 89–93 |
CommentRequired | Public method and constructor comments are required | 3 | 110–114 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeRight' should not return any type except void linguistically | 3 | 110–114 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–689 |
UnusedImports | Avoid unused imports such as 'java.util.Set' | 4 | 72 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 79–689 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 161 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 186 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 190 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 191 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 198–206 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 224–232 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 225–232 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 294 |
EqualsNull | Avoid using equals() to compare against null | 1 | 307 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 346 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 416–423 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 457 |
EqualsNull | Avoid using equals() to compare against null | 1 | 470 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 482 |
CyclomaticComplexity | The method 'getAttributesRightsFromRequest(HttpServletRequest)' has a cyclomatic complexity of 12. | 3 | 532–601 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 534 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 534 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 553–563 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 570–580 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 587–597 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 625 |
ShortVariable | Avoid variables with short names like p1 | 3 | 675 |
ShortVariable | Avoid variables with short names like p2 | 3 | 676 |