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]*' | 67 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 70 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 72 |
FormalParameterNamingConventions | The method parameter name '_strApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 143 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 163 |
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 |
---|---|---|
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 76 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 78 |
FormalParameterNamingConventions | The method parameter name '_strCommonSearchKeyName' doesn't match '[a-z][a-zA-Z0-9]*' | 150 |
FormalParameterNamingConventions | The method parameter name '_nKeyWeight' doesn't match '[a-z][a-zA-Z0-9]*' | 254 |
FormalParameterNamingConventions | The method parameter name '_bMandatoryForCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 275 |
FormalParameterNamingConventions | The method parameter name '_strValidationRegex' doesn't match '[a-z][a-zA-Z0-9]*' | 296 |
FormalParameterNamingConventions | The method parameter name '_strValidationErrorMessage' doesn't match '[a-z][a-zA-Z0-9]*' | 317 |
FormalParameterNamingConventions | The final method parameter name '_strValidationErrorMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 337 |
FormalParameterNamingConventions | The method parameter name '_listAttributeValues' doesn't match '[a-z][a-zA-Z0-9]*' | 355 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 365 |
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 |
---|---|---|
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 116 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 118 |
FormalParameterNamingConventions | The method parameter name '_strClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 154 |
FormalParameterNamingConventions | The method parameter name '_strMoeEntityName' doesn't match '[a-z][a-zA-Z0-9]*' | 206 |
FormalParameterNamingConventions | The method parameter name '_dateStartingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 279 |
FormalParameterNamingConventions | The method parameter name '_dateEndingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 289 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 299 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedUpdate' doesn't match '[a-z][a-zA-Z0-9]*' | 309 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 319 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedDecertification' doesn't match '[a-z][a-zA-Z0-9]*' | 434 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedAgentHistoryRead' doesn't match '[a-z][a-zA-Z0-9]*' | 444 |
FormalParameterNamingConventions | The method parameter name '_nDataRetentionPeriodInMonths' doesn't match '[a-z][a-zA-Z0-9]*' | 454 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 504 |
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]*' | 89 |
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–71 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 63 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 64 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'changeType' doesn't match '_[a-z][a-zA-Z0-9]*' | 5 |
FieldNamingConventions | The field name 'changeStatus' doesn't match '_[a-z][a-zA-Z0-9]*' | 6 |
FieldNamingConventions | The field name 'authorType' doesn't match '_[a-z][a-zA-Z0-9]*' | 7 |
FieldNamingConventions | The field name 'clientCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 8 |
FieldNamingConventions | The field name 'countActions' doesn't match '_[a-z][a-zA-Z0-9]*' | 9 |
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 |
---|---|---|
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 109 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 111 |
FormalParameterNamingConventions | The method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 145 |
FormalParameterNamingConventions | The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' | 155 |
FormalParameterNamingConventions | The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 165 |
FormalParameterNamingConventions | The method parameter name '_strDescription' doesn't match '[a-z][a-zA-Z0-9]*' | 175 |
FormalParameterNamingConventions | The method parameter name '_listCheckedAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 185 |
FormalParameterNamingConventions | The method parameter name '_nNbFilledAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 195 |
FormalParameterNamingConventions | The method parameter name '_nNbEqualAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 205 |
FormalParameterNamingConventions | The method parameter name '_nNbMissingAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 215 |
FormalParameterNamingConventions | The method parameter name '_listAttributeTreatments' doesn't match '[a-z][a-zA-Z0-9]*' | 225 |
FormalParameterNamingConventions | The method parameter name '_priority' doesn't match '[a-z][a-zA-Z0-9]*' | 235 |
FormalParameterNamingConventions | The method parameter name '_bActive' doesn't match '[a-z][a-zA-Z0-9]*' | 245 |
FormalParameterNamingConventions | The method parameter name '_bDaemon' doesn't match '[a-z][a-zA-Z0-9]*' | 255 |
FormalParameterNamingConventions | The method parameter name '_dateDaemonLastExecDate' doesn't match '[a-z][a-zA-Z0-9]*' | 265 |
FormalParameterNamingConventions | The method parameter name '_nDetectionLimit' doesn't match '[a-z][a-zA-Z0-9]*' | 278 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 288 |
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]*' | 69 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 58–451 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 63 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_attributeKeyCache' 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 |
---|---|---|
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 | 81–777 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 84 |
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 | 49–181 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 52 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 74 |
FormalParameterNamingConventions | The final method parameter name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 76 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityHistoryCache' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
FieldNamingConventions | The final field name 'HISTORY_STATUS_LIST' doesn't match '[a-z][a-zA-Z0-9]*' | 65 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 56–119 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 67 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 71–298 |
FieldNamingConventions | The constant name '_qualityBaseCache' doesn't match '[A-Z][A-Z_0-9]*' | 73 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityStoreNotifyListenerService' doesn't match '[a-z][a-zA-Z0-9]*' | 121 |
FieldNamingConventions | The final field name '_identityAttributeService' doesn't match '[a-z][a-zA-Z0-9]*' | 122 |
FieldNamingConventions | The final field name '_internalUserService' doesn't match '[a-z][a-zA-Z0-9]*' | 123 |
FieldNamingConventions | The final field name '_elasticSearchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 124 |
FieldNamingConventions | The final field name '_notificationStoreService' doesn't match '[a-z][a-zA-Z0-9]*' | 125 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 128 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 36–56 |
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 '_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]*' | 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]*' | 65 |
FieldNamingConventions | The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 66 |
FormalParameterNamingConventions | The final method parameter name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
FormalParameterNamingConventions | The final method parameter name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
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]*' | 67 |
FieldNamingConventions | The final field name 'PROPERTY_COUNT' doesn't match '[a-z][a-zA-Z0-9]*' | 68 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 70 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 71 |
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. | 36–38 |
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 'bool' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
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]*' | 56 |
FieldNamingConventions | The field name 'size' doesn't match '_[a-z][a-zA-Z0-9]*' | 58 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 61 |
FieldNamingConventions | The field name 'sourceFilters' doesn't match '_[a-z][a-zA-Z0-9]*' | 64 |
ConstructorCallsOverridableMethod | Overridable method 'setQuery' called during object construction | 69 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 75 |
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]*' | 73 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 75 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 59–185 |
FieldNamingConventions | The final field name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
FormalParameterNamingConventions | The method parameter name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 66 |
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 'debug' 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 'info' doesn't match '[A-Z][A-Z_0-9]*' | 157 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 50–184 |
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 '_strAppCode' 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]*' | 59 |
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 '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 59 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strTargetApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 63 |
FormalParameterNamingConventions | The final method parameter name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 71 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 63 |
FieldNamingConventions | The field name 'clientApplication' doesn't match '_[a-z][a-zA-Z0-9]*' | 65 |
FieldNamingConventions | The field name 'serviceContractToCreate' doesn't match '_[a-z][a-zA-Z0-9]*' | 66 |
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]*' | 62 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 59 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 60 |
FieldNamingConventions | The field name 'existingContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 62 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 66 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 67 |
FieldNamingConventions | The field name 'clientApplication' doesn't match '_[a-z][a-zA-Z0-9]*' | 69 |
FieldNamingConventions | The field name 'sentServiceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 70 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 59 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 61 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 63 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 59 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 61 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 76 |
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 78 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 81 |
FieldNamingConventions | The field name 'primaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 82 |
FieldNamingConventions | The field name 'secondaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 83 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 79 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 81 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 65 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 67 |
FieldNamingConventions | The field name 'existingIdentityToDelete' doesn't match '_[a-z][a-zA-Z0-9]*' | 68 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 63 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 65 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 64 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 65 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 62 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 65 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 68 |
FieldNamingConventions | The field name 'strictDuplicateCustomerId' doesn't match '_[a-z][a-zA-Z0-9]*' | 69 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 152 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 162 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 77 |
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 79 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 82 |
FieldNamingConventions | The field name 'primaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 83 |
FieldNamingConventions | The field name 'secondaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 84 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identitySearchRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 71 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 73 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 69 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 70 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 73 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 83 |
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 86 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 87 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 90 |
FieldNamingConventions | The field name 'existingIdentityToUpdate' doesn't match '_[a-z][a-zA-Z0-9]*' | 91 |
FormalParameterNamingConventions | The final method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 99 |
FormalParameterNamingConventions | The final method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 105 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 41–74 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 7–26 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 8 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 86 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 52–97 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 54 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 56 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 68–352 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 78 |
FieldNamingConventions | The final field name '_duplicateServiceDatabase' doesn't match '[a-z][a-zA-Z0-9]*' | 80 |
FieldNamingConventions | The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 81 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 46–90 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 55–171 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 57 |
Rule | Violation | Line |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 49–219 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
Rule | Violation | Line |
---|---|---|
ClassNamingConventions | The utility class name 'DtoConverter' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 90–506 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The field name 'fullIndexTask' doesn't match '_[a-z][a-zA-Z0-9]*' | 55 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name 'PROPERTY_CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 70 |
FieldNamingConventions | The constant name 'objectMapper' doesn't match '[A-Z][A-Z_0-9]*' | 72 |
FieldNamingConventions | The field name 'changeType' doesn't match '_[a-z][a-zA-Z0-9]*' | 195 |
FieldNamingConventions | The field name 'changeStatus' doesn't match '_[a-z][a-zA-Z0-9]*' | 196 |
FieldNamingConventions | The field name 'authorType' doesn't match '_[a-z][a-zA-Z0-9]*' | 197 |
FieldNamingConventions | The field name 'clientCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 198 |
FieldNamingConventions | The field name 'countActions' doesn't match '_[a-z][a-zA-Z0-9]*' | 199 |
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]*' | 55 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 71 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 73 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 75 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 152 |
FieldNamingConventions | The final field name '_searchIdentityServiceDB' doesn't match '[a-z][a-zA-Z0-9]*' | 154 |
FieldNamingConventions | The final field name '_searchIdentityServiceES' doesn't match '[a-z][a-zA-Z0-9]*' | 155 |
LocalVariableNamingConventions | The final local variable name 'insee_city' doesn't match '[a-z][a-zA-Z0-9]*' | 167 |
LocalVariableNamingConventions | The final local variable name 'insee_country' doesn't match '[a-z][a-zA-Z0-9]*' | 168 |
LocalVariableNamingConventions | The final local variable name 'common_name' doesn't match '[a-z][a-zA-Z0-9]*' | 171 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 172 |
LocalVariableNamingConventions | The final local variable name '_sortedAttributeKeyList' doesn't match '[a-z][a-zA-Z0-9]*' | 514 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_listIdentitySearchRules' doesn't match '[a-z][a-zA-Z0-9]*' | 115 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_fullIndexTask' doesn't match '[a-z][a-zA-Z0-9]*' | 69 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name 'PROPERTY_CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 30 |
Rule | Violation | Line |
---|---|---|
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 90 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 152 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 157 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 167 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 172 |
LocalVariableNamingConventions | The final local variable name 'insee_city' doesn't match '[a-z][a-zA-Z0-9]*' | 187 |
LocalVariableNamingConventions | The final local variable name 'insee_country' doesn't match '[a-z][a-zA-Z0-9]*' | 192 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 212 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 217 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 222 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 252 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 257 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 267 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 272 |
LocalVariableNamingConventions | The final local variable name 'insee_city' doesn't match '[a-z][a-zA-Z0-9]*' | 287 |
LocalVariableNamingConventions | The final local variable name 'insee_country' doesn't match '[a-z][a-zA-Z0-9]*' | 292 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 307 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 312 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 317 |
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 | 330 |
EqualsNull | Avoid using equals() to compare against null | 500 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 85 |
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. | 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. | 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. | 31 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 41 |
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. | 86 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 91 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 96 |
Rule | Violation | Line |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 96 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 132 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 147 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 138–141 |
CommentRequired | Public method and constructor comments are required | 143–146 |
CommentRequired | Public method and constructor comments are required | 158–161 |
CommentRequired | Public method and constructor comments are required | 163–166 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–371 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 69–81 |
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 | 89 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 112 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 145 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 178 |
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 | 214 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 246 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 267 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 287 |
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 | 349 |
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 |
---|---|---|
TooManyFields | Too many fields | 48–385 |
CommentRequired | Public method and constructor comments are required | 145–148 |
CommentRequired | Public method and constructor comments are required | 150–153 |
CommentRequired | Public method and constructor comments are required | 360–363 |
CommentRequired | Public method and constructor comments are required | 365–368 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 48–453 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 72–87 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 74 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 95 |
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 | 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 | 213 |
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 | 272 |
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 | 332 |
LogicInversion | Use opposite operator instead of the logic complement operator. | 347 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 355 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 375 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 411 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 434 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 447 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 150–153 |
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–164 |
CommentRequired | Public method and constructor comments are required | 159 |
CommentRequired | Public method and constructor comments are required | 161 |
CommentRequired | Public method and constructor comments are required | 163 |
Rule | Violation | Line |
---|---|---|
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 60 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 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 | 71 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 92 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 115 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 172 |
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–148 |
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 |
CommentRequired | Public method and constructor comments are required | 147 |
Rule | Violation | Line |
---|---|---|
ExcessivePublicCount | This class has a bunch of public methods and attributes | 34–525 |
TooManyFields | Too many fields | 51–525 |
CommentRequired | Public method and constructor comments are required | 122–126 |
CommentRequired | Public method and constructor comments are required | 149–152 |
CommentRequired | Public method and constructor comments are required | 154–157 |
CommentRequired | Public method and constructor comments are required | 201–204 |
CommentRequired | Public method and constructor comments are required | 206–209 |
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 |
CommentRequired | Public method and constructor comments are required | 314–317 |
CommentRequired | Public method and constructor comments are required | 319–322 |
CommentRequired | Public method and constructor comments are required | 429–432 |
CommentRequired | Public method and constructor comments are required | 434–437 |
CommentRequired | Public method and constructor comments are required | 439–442 |
CommentRequired | Public method and constructor comments are required | 444–447 |
CommentRequired | Public method and constructor comments are required | 449–452 |
CommentRequired | Public method and constructor comments are required | 454–457 |
CommentRequired | Public method and constructor comments are required | 459–462 |
CommentRequired | Public method and constructor comments are required | 464–467 |
CommentRequired | Public method and constructor comments are required | 469–472 |
CommentRequired | Public method and constructor comments are required | 474–477 |
CommentRequired | Public method and constructor comments are required | 479–482 |
CommentRequired | Public method and constructor comments are required | 484–487 |
CommentRequired | Public method and constructor comments are required | 489–492 |
CommentRequired | Public method and constructor comments are required | 494–497 |
CommentRequired | Public method and constructor comments are required | 499–502 |
CommentRequired | Public method and constructor comments are required | 504–507 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 53–490 |
AvoidDuplicateLiterals | The String literal "SELECT" appears 6 times in this file; the first occurrence is on line 57 | 57 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 87 |
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 | 152 |
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 | 187 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 203 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 230–233 |
MissingBreakInSwitch | A switch statement does not contain a break | 234–272 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 245–250 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 253 |
AvoidDuplicateLiterals | The String literal "%' " appears 4 times in this file; the first occurrence is on line 253 | 253 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 257 |
ShortVariable | Avoid variables with short names like i | 270 |
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 | 304 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 317 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 330 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 370 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 395–398 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 403 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 427 |
CommentRequired | Public method and constructor comments are required | 444–457 |
MissingOverride | The method 'selectAllServiceContractsList(Plugin)' is missing an @Override annotation. | 444–457 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 447 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 56–324 |
CommentRequired | Public method and constructor comments are required | 228–235 |
CommentRequired | Public method and constructor comments are required | 237–244 |
CommentRequired | Public method and constructor comments are required | 246–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–306 |
CommentRequired | Public method and constructor comments are required | 308–312 |
CommentRequired | Public method and constructor comments are required | 314–318 |
CommentRequired | Public method and constructor comments are required | 320–323 |
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–259 |
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 |
CommentRequired | Public method and constructor comments are required | 254 |
CommentRequired | Public method and constructor comments are required | 256 |
CommentRequired | Public method and constructor comments are required | 258 |
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–794 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 103 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 108 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 119 |
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 | 137 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 155–164 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 176 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 195–204 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 220 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 239–248 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 262 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 267 |
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 | 285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 298 |
NPathComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has an NPath complexity of 528 | 323–407 |
CyclomaticComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has a cyclomatic complexity of 14. | 323–407 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 347 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 359 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 376 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 388–397 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 414 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 440 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 470 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 490 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 515–518 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 545–554 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 570 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 579 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 592 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 609 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 624 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 650 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 653 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 671 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 689 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 702 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 714 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 724 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 748 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 758 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 776 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 787 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 55–384 |
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–308 |
CommentRequired | Public method and constructor comments are required | 310–313 |
CommentRequired | Public method and constructor comments are required | 315–318 |
CommentRequired | Public method and constructor comments are required | 320–323 |
NPathComplexity | The method 'manageLock(String, String, String, boolean)' has an NPath complexity of 768 | 325–367 |
CommentRequired | Public method and constructor comments are required | 325–367 |
CyclomaticComplexity | The method 'manageLock(String, String, String, boolean)' has a cyclomatic complexity of 19. | 325–367 |
CommentRequired | Public method and constructor comments are required | 369–372 |
CommentRequired | Public method and constructor comments are required | 374–377 |
CommentRequired | Public method and constructor comments are required | 379–382 |
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 |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 54–384 |
CommentRequired | Public method and constructor comments are required | 127 |
CommentRequired | Public method and constructor comments are required | 151 |
CommentRequired | Public method and constructor comments are required | 153 |
CommentRequired | Public method and constructor comments are required | 209 |
ExcessiveParameterList | Avoid long parameter lists. | 277–278 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 277–278 |
CommentRequired | Public method and constructor comments are required | 374 |
CommentRequired | Public method and constructor comments are required | 376 |
CommentRequired | Public method and constructor comments are required | 383 |
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 |
---|---|---|
ExcessiveClassLength | Avoid really long classes. | 70–1198 |
TooManyMethods | This class has too many methods, consider refactoring it. | 71–1198 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 4 times in this file; the first occurrence is on line 79 | 79 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 180 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 211 |
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 | 265 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 279 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 295 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 308 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 328 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 357 |
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 | 395 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 414 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 433 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 504 |
CyclomaticComplexity | The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has a cyclomatic complexity of 16. | 523–584 |
NPathComplexity | The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has an NPath complexity of 1026 | 523–584 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 526 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 526 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 572 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 588 |
AvoidDuplicateLiterals | The String literal "1=1" appears 10 times in this file; the first occurrence is on line 605 | 605 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 608 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 622 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 645 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 673 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 705 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 732 |
CyclomaticComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has a cyclomatic complexity of 13. | 746–801 |
NPathComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has an NPath complexity of 666 | 746–801 |
AvoidDuplicateLiterals | The String literal " AND " appears 8 times in this file; the first occurrence is on line 752 | 752 |
MissingOverride | The method 'selectUpdatedFromIds(List, Plugin)' is missing an @Override annotation. | 806–826 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 812 |
CyclomaticComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has a cyclomatic complexity of 21. | 832–906 |
ExcessiveParameterList | Avoid long parameter lists. | 832–834 |
NPathComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has an NPath complexity of 20736 | 832–906 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 832–834 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 842 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 843 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 846 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 849–857 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 859–886 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 865–885 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 888 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 915 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 934 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 955 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 973 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 986 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1004 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1021 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1039 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1057 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1075 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 1078 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1093 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1110 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1127 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1147 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 1165 |
CommentRequired | Public method and constructor comments are required | 1177–1189 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 59–532 |
CommentRequired | Public method and constructor comments are required | 115–118 |
CommentRequired | Public method and constructor comments are required | 132–135 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 204–206 |
ExcessiveParameterList | Avoid long parameter lists. | 204–206 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 273 |
CommentRequired | Public method and constructor comments are required | 513–516 |
CommentRequired | Public method and constructor comments are required | 518–521 |
CommentRequired | Public method and constructor comments are required | 523–526 |
CommentRequired | Public method and constructor comments are required | 528–531 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 3–60 |
DataClass | The class 'IndicatorsActionsType' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 3–60 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 47–140 |
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 |
CommentRequired | Public method and constructor comments are required | 139 |
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–424 |
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 | 107 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 131 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 144 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 157 |
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 | 203 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 223 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 248–251 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 256 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 286 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 326 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 364 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 409 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 153–156 |
CommentRequired | Public method and constructor comments are required | 158–161 |
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 |
---|---|---|
TooManyFields | Too many fields | 92–308 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 92–308 |
CommentRequired | Public method and constructor comments are required | 115–133 |
ShortVariable | Avoid variables with short names like i | 117 |
CommentRequired | Public method and constructor comments are required | 140–143 |
CommentRequired | Public method and constructor comments are required | 145–148 |
CommentRequired | Public method and constructor comments are required | 150–153 |
CommentRequired | Public method and constructor comments are required | 155–158 |
CommentRequired | Public method and constructor comments are required | 160–163 |
CommentRequired | Public method and constructor comments are required | 165–168 |
CommentRequired | Public method and constructor comments are required | 170–173 |
CommentRequired | Public method and constructor comments are required | 175–178 |
CommentRequired | Public method and constructor comments are required | 180–183 |
CommentRequired | Public method and constructor comments are required | 185–188 |
CommentRequired | Public method and constructor comments are required | 190–193 |
CommentRequired | Public method and constructor comments are required | 195–198 |
CommentRequired | Public method and constructor comments are required | 200–203 |
CommentRequired | Public method and constructor comments are required | 205–208 |
CommentRequired | Public method and constructor comments are required | 210–213 |
CommentRequired | Public method and constructor comments are required | 215–218 |
CommentRequired | Public method and constructor comments are required | 220–223 |
CommentRequired | Public method and constructor comments are required | 225–228 |
CommentRequired | Public method and constructor comments are required | 230–233 |
CommentRequired | Public method and constructor comments are required | 235–238 |
CommentRequired | Public method and constructor comments are required | 240–243 |
CommentRequired | Public method and constructor comments are required | 245–248 |
CommentRequired | Public method and constructor comments are required | 250–253 |
CommentRequired | Public method and constructor comments are required | 255–258 |
CommentRequired | Public method and constructor comments are required | 260–263 |
CommentRequired | Public method and constructor comments are required | 265–268 |
CommentRequired | Public method and constructor comments are required | 278–281 |
CommentRequired | Public method and constructor comments are required | 283–286 |
CommentRequired | Public method and constructor comments are required | 288–291 |
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. | 53–441 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 4 times in this file; the first occurrence is on line 57 | 57 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 87 |
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 | 144 |
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 | 174 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 192 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 210 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 228 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 266 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 276 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 298 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 331 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 350 |
ShortVariable | Avoid variables with short names like id | 358 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 403 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 414 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 433 |
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 |
CommentRequired | Public method and constructor comments are required | 108 |
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 | 50–151 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 55–58 |
CommentRequired | Public method and constructor comments are required | 55–58 |
CommentRequired | Public method and constructor comments are required | 60–76 |
CommentRequired | Public method and constructor comments are required | 78–86 |
ShortVariable | Avoid variables with short names like id | 93 |
CommentRequired | Public method and constructor comments are required | 111–120 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 131 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–134 |
CommentRequired | Public method and constructor comments are required | 50–53 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 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 |
CommentRequired | Public method and constructor comments are required | 82–106 |
EmptyCatchBlock | Avoid empty catch blocks | 95–98 |
CommentRequired | Public method and constructor comments are required | 108–117 |
CommentRequired | Public method and constructor comments are required | 119–127 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–129 |
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 |
ShortVariable | Avoid variables with short names like id | 86 |
CommentRequired | Public method and constructor comments are required | 104–113 |
CommentRequired | Public method and constructor comments are required | 115–122 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–108 |
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–60 |
CommentRequired | Public method and constructor comments are required | 62–70 |
CommentRequired | Public method and constructor comments are required | 72–80 |
CommentRequired | Public method and constructor comments are required | 82–91 |
CommentRequired | Public method and constructor comments are required | 93–101 |
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 | 9–65 |
CommentRequired | Public method and constructor comments are required | 13–16 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 13–16 |
CommentRequired | Public method and constructor comments are required | 18–22 |
CommentRequired | Public method and constructor comments are required | 24–32 |
CommentRequired | Public method and constructor comments are required | 34–42 |
CommentRequired | Public method and constructor comments are required | 44–53 |
EmptyStatementNotInLoop | An empty statement (semicolon) not part of a loop | 49 |
CommentRequired | Public method and constructor comments are required | 55–58 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 40–83 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 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 |
---|---|---|
CommentRequired | Header comments are required | 65–208 |
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 13. | 85–187 |
ExcessiveMethodLength | Avoid really long methods. | 85–187 |
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. | 158 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 158 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 158 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. | 165 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 165 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 165 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 169 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 169 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 169 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 173 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 173 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 173 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 177 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 180 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–94 |
CommentRequired | Public method and constructor comments are required | 50–57 |
NonThreadSafeSingleton | Singleton is not thread safe | 52–55 |
CommentRequired | Public method and constructor comments are required | 59–75 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 70 |
CommentRequired | Public method and constructor comments are required | 77–93 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 88 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–53 |
CommentRequired | Header comments are required | 39–53 |
Rule | Violation | Line |
---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 54–342 |
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 | 265 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 267 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 270 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 272 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 274 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 277 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 279 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 281 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 322 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 322 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 322 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 58–451 |
GodClass | Possible God Class (WMC=59, ATFD=136, TCC=0.000%) | 58–451 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 63 |
CommentRequired | Public method and constructor comments are required | 65–72 |
NonThreadSafeSingleton | Singleton is not thread safe | 67–70 |
CommentRequired | Public method and constructor comments are required | 78–81 |
CyclomaticComplexity | The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has a cyclomatic complexity of 15. | 83–143 |
CommentRequired | Public method and constructor comments are required | 83–143 |
NPathComplexity | The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has an NPath complexity of 288 | 83–143 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 91–92 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 92 |
CollapsibleIfStatements | These nested if statements could be combined | 107–139 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 128–137 |
ExcessiveMethodLength | Avoid really long methods. | 145–254 |
NcssCount | The method 'adjustCountry(IdentityChangeRequest)' has a NCSS line count of 62. | 145–254 |
CyclomaticComplexity | The method 'adjustCountry(IdentityChangeRequest)' has a cyclomatic complexity of 14. | 145–254 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 202 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 206 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 209–215 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 226 |
ExcessiveMethodLength | Avoid really long methods. | 256–399 |
NcssCount | The method 'adjustFrenchCity(IdentityChangeRequest)' has a NCSS line count of 79. | 256–399 |
CyclomaticComplexity | The method 'adjustFrenchCity(IdentityChangeRequest)' has a cyclomatic complexity of 20. | 256–399 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 269 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 273 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 280–287 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 288–349 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 290 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 306 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 357–358 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 371 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 410–444 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 67–456 |
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 | 155 |
CommentRequired | Public method and constructor comments are required | 190–208 |
CommentRequired | Public method and constructor comments are required | 210–227 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 222 |
CommentRequired | Public method and constructor comments are required | 229–246 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 241 |
CommentRequired | Public method and constructor comments are required | 248–265 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 260 |
CyclomaticComplexity | The method 'updateAttribute(AttributeDto, Identity, String)' has a cyclomatic complexity of 12. | 324–413 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 355–362 |
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 |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–777 |
GodClass | Possible God Class (WMC=117, ATFD=158, TCC=2.646%) | 81–777 |
CyclomaticComplexity | The class 'ServiceContractService' has a total cyclomatic complexity of 117 (highest 17). | 81–777 |
CommentRequired | Header comments are required | 81–777 |
TooManyMethods | This class has too many methods, consider refactoring it. | 82–777 |
CommentRequired | Public method and constructor comments are required | 87–95 |
NonThreadSafeSingleton | Singleton is not thread safe | 89–93 |
CommentRequired | Public method and constructor comments are required | 113–120 |
CommentRequired | Public method and constructor comments are required | 122–126 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 170 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 173 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 207 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 230 |
ShortVariable | Avoid variables with short names like id | 243 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 264 |
NPathComplexity | The method 'validateContractDefinition(ServiceContract, int)' has an NPath complexity of 480 | 278–349 |
CyclomaticComplexity | The method 'validateContractDefinition(ServiceContract, int)' has a cyclomatic complexity of 17. | 278–349 |
CommentRequired | Public method and constructor comments are required | 351–358 |
CyclomaticComplexity | The method 'validateUpdateAuthorization(IdentityChangeRequest, IdentityDto, ServiceContract)' has a cyclomatic complexity of 10. | 524–546 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 739 |
CommentRequired | Public method and constructor comments are required | 751–759 |
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 | 49–181 |
CommentRequired | Public method and constructor comments are required | 55–63 |
NonThreadSafeSingleton | Singleton is not thread safe | 57–61 |
ShortVariable | Avoid variables with short names like id | 175 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–180 |
CommentRequired | Header comments are required | 70–180 |
CommentRequired | Public method and constructor comments are required | 76–78 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 94 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 45–49 |
CommentRequired | Public method and constructor comments are required | 47–48 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 60–147 |
FinalFieldCouldBeStatic | This final field could be made static | 65 |
CommentRequired | Public method and constructor comments are required | 67–75 |
NonThreadSafeSingleton | Singleton is not thread safe | 69–73 |
CommentRequired | Public method and constructor comments are required | 77–94 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 79–80 |
CommentRequired | Public method and constructor comments are required | 96–125 |
CommentRequired | Public method and constructor comments are required | 143–146 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 56–119 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 67 |
CommentRequired | Public method and constructor comments are required | 74–81 |
NonThreadSafeSingleton | Singleton is not thread safe | 76–79 |
CyclomaticComplexity | The method 'export(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. | 92–118 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 95–96 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–298 |
CommentRequired | Header comments are required | 71–298 |
CommentRequired | Public method and constructor comments are required | 77–85 |
NonThreadSafeSingleton | Singleton is not thread safe | 79–83 |
CommentRequired | Public method and constructor comments are required | 91–94 |
CommentRequired | Public method and constructor comments are required | 96–163 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 129–132 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 192–211 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 203 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 204–207 |
CommentRequired | Public method and constructor comments are required | 214–234 |
CyclomaticComplexity | The method 'computeMatchScore(IdentityDto, List)' has a cyclomatic complexity of 10. | 236–297 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 251 |
EmptyCatchBlock | Avoid empty catch blocks | 259–262 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 263–272 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–981 |
GodClass | Possible God Class (WMC=112, ATFD=208, TCC=30.147%) | 99–981 |
CyclomaticComplexity | The class 'IdentityService' has a total cyclomatic complexity of 112 (highest 12). | 99–981 |
CommentRequired | Header comments are required | 99–981 |
TooManyMethods | This class has too many methods, consider refactoring it. | 100–981 |
CommentRequired | Public method and constructor comments are required | 132–139 |
NonThreadSafeSingleton | Singleton is not thread safe | 134–137 |
CyclomaticComplexity | The method 'create(IdentityChangeRequest, RequestAuthor, ServiceContract, List)' has a cyclomatic complexity of 10. | 156–207 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 198 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 201 |
CyclomaticComplexity | The method 'update(String, IdentityChangeRequest, RequestAuthor, ServiceContract, List)' has a cyclomatic complexity of 10. | 240–291 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 249 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 282 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 285 |
CyclomaticComplexity | The method 'merge(Identity, Identity, IdentityDto, String, RequestAuthor, String, List)' has a cyclomatic complexity of 11. | 320–412 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 327 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 390 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 407 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 427 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 429 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 449 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 456 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 464 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 512–518 |
CyclomaticComplexity | The method 'search(String, String, ServiceContract, RequestAuthor)' has a cyclomatic complexity of 11. | 538–576 |
EmptyCatchBlock | Avoid empty catch blocks | 600–603 |
EmptyCatchBlock | Avoid empty catch blocks | 628–631 |
CyclomaticComplexity | The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has a cyclomatic complexity of 12. | 686–733 |
NPathComplexity | The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has an NPath complexity of 432 | 686–733 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 781 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 783 |
CyclomaticComplexity | The method 'uncertifyIdentity(String, List, String, RequestAuthor)' has a cyclomatic complexity of 12. | 798–862 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 803–817 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 853 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 856 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 911 |
CyclomaticComplexity | The method 'searchUpdatedIdentities(UpdatedIdentitySearchRequest)' has a cyclomatic complexity of 12. | 928–979 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 933–978 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 957 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 36–56 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 52–563 |
TooManyMethods | This class has too many methods, consider refactoring it. | 53–563 |
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 |
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 |
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 |
CommentRequired | Public method and constructor comments are required | 516–527 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 542 |
CommentRequired | Public method and constructor comments are required | 548–562 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 555 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–45 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 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 |
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 |
UncommentedEmptyConstructor | Document empty constructor | 46–49 |
CommentRequired | Public method and constructor comments are required | 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 | 60–164 |
CommentRequired | Public method and constructor comments are required | 68–72 |
CyclomaticComplexity | The method 'processIdentityChange(IdentityChangeType, Identity, String, String, RequestAuthor, String, Map)' has a cyclomatic complexity of 12. | 75–110 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 123 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 124 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 125 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 126 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 157 |
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 |
CommentRequired | Public method and constructor comments are required | 65–68 |
UncommentedEmptyConstructor | Document empty constructor | 65–68 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 38–98 |
DataClass | The class 'BulkAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=10) | 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–78 |
TooManyMethods | This class has too many methods, consider refactoring it. | 44–78 |
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 |
CommentRequired | Public method and constructor comments are required | 77 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 65–292 |
TooManyMethods | This class has too many methods, consider refactoring it. | 66–292 |
FinalFieldCouldBeStatic | This final field could be made static | 68 |
CommentRequired | Public method and constructor comments are required | 73–76 |
CommentRequired | Public method and constructor comments are required | 78–81 |
UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 159 |
AvoidDuplicateLiterals | The String literal "Unexpected error occurred while managing ES alias." appears 4 times in this file; the first occurrence is on line 198 | 198 |
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–199 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 63–65 |
CommentRequired | Public method and constructor comments are required | 63–65 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 63–65 |
UncommentedEmptyConstructor | Document empty constructor | 63–65 |
CommentRequired | Public method and constructor comments are required | 67–78 |
CommentRequired | Public method and constructor comments are required | 80–155 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 87–153 |
CommentRequired | Public method and constructor comments are required | 184–198 |
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 | 43–53 |
ShortVariable | Avoid variables with short names like o | 47 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 55–60 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 84 |
CyclomaticComplexity | The method 'handleMultiAttributeSearch(SearchAttribute, InnerSearchRequest)' has a cyclomatic complexity of 11. | 94–136 |
LinguisticNaming | Linguistics Antipattern - The variable 'shouldContainer' indicates linguistically it is a boolean, but it is 'BoolContainer' | 98 |
MissingBreakInSwitch | A switch statement does not contain a break | 121–134 |
CyclomaticComplexity | The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a cyclomatic complexity of 20. | 143–223 |
NcssCount | The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a NCSS line count of 69. | 143–223 |
MissingBreakInSwitch | A switch statement does not contain a break | 148–166 |
MissingBreakInSwitch | A switch statement does not contain a break | 169–186 |
MissingBreakInSwitch | A switch statement does not contain a break | 189–204 |
MissingBreakInSwitch | A switch statement does not contain a break | 207–220 |
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 | 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 | 36–38 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 36–38 |
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 'AbstractMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 40–66 |
Rule | Violation | Line |
---|---|---|
DataClass | The class 'AbstractSpan' 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 |
---|---|---|
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 | 38–55 |
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–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 | 54–305 |
CommentRequired | Public method and constructor comments are required | 66–72 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 75 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 75 |
AvoidDuplicateLiterals | The String literal ".value" appears 5 times in this file; the first occurrence is on line 137 | 137 |
AvoidDuplicateLiterals | The String literal "attributes." appears 7 times in this file; the first occurrence is on line 137 | 137 |
LinguisticNaming | Linguistics Antipattern - The variable 'shouldContainer' indicates linguistically it is a boolean, but it is 'BoolContainer' | 216 |
LinguisticNaming | Linguistics Antipattern - The variable 'shouldContainer' indicates linguistically it is a boolean, but it is 'BoolContainer' | 239 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 258 |
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 |
MissingOverride | The method 'setQuery(String)' is missing an @Override annotation. | 58–61 |
CommentRequired | Public method and constructor comments are required | 58–61 |
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 | 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 |
---|---|---|
CommentRequired | Header comments are required | 43–93 |
DataClass | The class 'SpanNear' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) | 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 |
---|---|---|
DataClass | The class 'SpanTerm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 40–66 |
CommentRequired | Header comments are required | 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 |
---|---|---|
DataClass | The class 'Response' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 44–121 |
CommentRequired | Header comments are required | 44–121 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 60 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 42–68 |
DataClass | The class 'Responses' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 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 |
---|---|---|
CommentRequired | Header comments are required | 39–63 |
DataClass | The class 'Total' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 39–63 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 48–150 |
CommentRequired | Public method and constructor comments are required | 127–149 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–309 |
CommentRequired | Header comments are required | 68–309 |
CommentRequired | Public method and constructor comments are required | 77–80 |
CommentRequired | Public method and constructor comments are required | 82–85 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 98–118 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 256 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 59–185 |
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 59–185 |
ShortVariable | Avoid variables with short names like s | 172 |
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 |
---|---|---|
CommentRequired | Header comments are required | 50–184 |
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 50–184 |
AvoidDuplicateLiterals | The String literal "An error occurred during database search: " appears 4 times in this file; the first occurrence is on line 77 | 77 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 49–156 |
CommentRequired | Public method and constructor comments are required | 123–155 |
EmptyCatchBlock | Avoid empty catch blocks | 135–138 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 140–150 |
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 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 45–49 |
CommentRequired | Public method and constructor comments are required | 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 |
---|---|---|
CommentRequired | Header comments are required | 48–80 |
CommentRequired | Protected method constructor comments are required | 56–61 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 120 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 124 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 127–134 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 57–124 |
CommentRequired | Public method and constructor comments are required | 65–70 |
UncommentedEmptyMethodBody | Document empty method body | 90–92 |
UncommentedEmptyMethodBody | Document empty method body | 96–98 |
UncommentedEmptyMethodBody | Document empty method body | 102–104 |
UncommentedEmptyMethodBody | Document empty method body | 108–110 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 56–117 |
CommentRequired | Public method and constructor comments are required | 63–68 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–195 |
ShortVariable | Avoid variables with short names like md | 126 |
UnusedLocalVariable | Avoid unused local variables such as 'status'. | 186 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 186 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–171 |
CommentRequired | Public method and constructor comments are required | 95–102 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 60–123 |
CommentRequired | Public method and constructor comments are required | 67–72 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 63–179 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 169 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 171 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–213 |
CollapsibleIfStatements | These nested if statements could be combined | 137–140 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Public method and constructor comments are required | 75–81 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 67–146 |
CommentRequired | Public method and constructor comments are required | 75–81 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–221 |
CommentRequired | Public method and constructor comments are required | 105–113 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 119 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 119 |
Rule | Violation | Line |
---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 122 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 41–74 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 43 |
CommentRequired | Public method and constructor comments are required | 45–52 |
NonThreadSafeSingleton | Singleton is not thread safe | 47–50 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 7–26 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 8 |
CommentRequired | Public method and constructor comments are required | 10–15 |
NonThreadSafeSingleton | Singleton is not thread safe | 11–13 |
CommentRequired | Public method and constructor comments are required | 20–25 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–539 |
GodClass | Possible God Class (WMC=69, ATFD=138, TCC=3.571%) | 80–539 |
CommentRequired | Public method and constructor comments are required | 91–99 |
NonThreadSafeSingleton | Singleton is not thread safe | 93–97 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 141 |
CyclomaticComplexity | The method 'validateIdentityAttributeValues(IdentityDto)' has a cyclomatic complexity of 14. | 153–202 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 165–171 |
CollapsibleIfStatements | These nested if statements could be combined | 167–170 |
EmptyCatchBlock | Avoid empty catch blocks | 173–176 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 182–190 |
CyclomaticComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a cyclomatic complexity of 32. | 238–410 |
NcssCount | The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a NCSS line count of 70. | 238–410 |
ExcessiveMethodLength | Avoid really long methods. | 238–410 |
NPathComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has an NPath complexity of 677376 | 238–410 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 257 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 310–318 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 329–337 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 343 |
ExcessiveMethodLength | Avoid really long methods. | 431–537 |
CyclomaticComplexity | The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has a cyclomatic complexity of 14. | 431–537 |
NPathComplexity | The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has an NPath complexity of 544 | 431–537 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 440–441 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 442–443 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 445–446 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 52–97 |
UnusedPrivateField | Avoid unused private fields such as '_identityDtoCache'. | 54 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 56 |
CommentRequired | Public method and constructor comments are required | 58–65 |
NonThreadSafeSingleton | Singleton is not thread safe | 60–63 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–352 |
CommentRequired | Header comments are required | 68–352 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 78 |
CommentRequired | Public method and constructor comments are required | 83–90 |
NonThreadSafeSingleton | Singleton is not thread safe | 85–88 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 204 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 260 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 263 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 315 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 318 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 46–90 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 50 |
CommentRequired | Public method and constructor comments are required | 52–59 |
NonThreadSafeSingleton | Singleton is not thread safe | 54–57 |
CommentRequired | Public method and constructor comments are required | 65–88 |
CyclomaticComplexity | The method 'validateExportRequest(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. | 65–88 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 55–171 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 57 |
CommentRequired | Public method and constructor comments are required | 59–66 |
NonThreadSafeSingleton | Singleton is not thread safe | 61–64 |
CyclomaticComplexity | The method 'checkRequiredAttributes(IdentitySearchRequest)' has a cyclomatic complexity of 14. | 79–141 |
CollapsibleIfStatements | These nested if statements could be combined | 104–107 |
ShortVariable | Avoid variables with short names like sb | 113 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 123 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 126 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 129 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 156–166 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 49–219 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 52 |
CommentRequired | Public method and constructor comments are required | 54–61 |
NonThreadSafeSingleton | Singleton is not thread safe | 56–59 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 81 |
CollapsibleIfStatements | These nested if statements could be combined | 210–214 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–213 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 5 times in this file; the first occurrence is on line 86 | 86 |
AvoidDuplicateLiterals | The String literal "Failure" appears 5 times in this file; the first occurrence is on line 87 | 87 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 89–93 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 115–120 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 142–147 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 172–176 |
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–506 |
TooManyMethods | This class has too many methods, consider refactoring it. | 91–506 |
CommentRequired | Public method and constructor comments are required | 150–176 |
NcssCount | The method 'convertContractToDto(ServiceContract)' has a NCSS line count of 64. | 231–318 |
CommentRequired | Public method and constructor comments are required | 419–427 |
CommentRequired | Public method and constructor comments are required | 429–437 |
CommentRequired | Public method and constructor comments are required | 439–451 |
CommentRequired | Public method and constructor comments are required | 453–474 |
CommentRequired | Public method and constructor comments are required | 476–479 |
CommentRequired | Public method and constructor comments are required | 481–497 |
CommentRequired | Public method and constructor comments are required | 499–505 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 67–131 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 87–92 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 118–123 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 41–47 |
CommentRequired | Public method and constructor comments are required | 43–46 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–493 |
TooManyMethods | This class has too many methods, consider refactoring it. | 92–493 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 96–98 |
UncommentedEmptyConstructor | Document empty constructor | 96–98 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 13 times in this file; the first occurrence is on line 114 | 114 |
AvoidDuplicateLiterals | The String literal "Forbidden" appears 12 times in this file; the first occurrence is on line 115 | 115 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 117–122 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 145–150 |
AvoidDuplicateLiterals | The String literal "Request body" appears 11 times in this file; the first occurrence is on line 146 | 146 |
AvoidDuplicateLiterals | The String literal "Success" appears 9 times in this file; the first occurrence is on line 178 | 178 |
AvoidDuplicateLiterals | The String literal "Conflict" appears 7 times in this file; the first occurrence is on line 180 | 180 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 182–186 |
AvoidDuplicateLiterals | The String literal "An Identity Change Request" appears 5 times in this file; the first occurrence is on line 182 | 182 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 213–217 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 243–248 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 275–280 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 305–309 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 333–337 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 361–366 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 398–403 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 428–433 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 457–463 |
CommentRequired | Public method and constructor comments are required | 480–491 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 480–485 |
Rule | Violation | Line |
---|---|---|
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the objectMapper field if you want a default access modifier | 72 |
DefaultPackage | Use explicit scoping instead of the default package private level | 72 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 183 |
EmptyCatchBlock | Avoid empty catch blocks | 187–189 |
DataClass | The class 'Action' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 193–240 |
CommentRequired | Header comments are required | 193–240 |
Rule | Violation | Line |
---|---|---|
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 82–86 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 106–110 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 130–134 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–293 |
AvoidDuplicateLiterals | The String literal "Service contract Found" appears 4 times in this file; the first occurrence is on line 92 | 92 |
AvoidDuplicateLiterals | The String literal "Failure" appears 7 times in this file; the first occurrence is on line 93 | 93 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 7 times in this file; the first occurrence is on line 93 | 93 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 96–100 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 124–129 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 153–158 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 184–189 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 214–218 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 246–251 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 280–285 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 57 |
ShortVariable | Avoid variables with short names like e | 67 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 57 |
ShortVariable | Avoid variables with short names like e | 67 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 60 |
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 | 57 |
ShortVariable | Avoid variables with short names like e | 67 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 57 |
ShortVariable | Avoid variables with short names like e | 67 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 15–44 |
ShortVariable | Avoid variables with short names like e | 20 |
ShortVariable | Avoid variables with short names like e | 29 |
Rule | Violation | Line |
---|---|---|
ShortVariable | Avoid variables with short names like e | 57 |
ShortVariable | Avoid variables with short names like e | 67 |
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 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 115 |
DefaultPackage | Use explicit scoping instead of the default package private level | 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–375 |
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. | 198 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 315 |
ShortVariable | Avoid variables with short names like id | 363 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–471 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 73–471 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 144 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 167 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 249 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 257 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 367 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 375 |
CommentRequired | Public method and constructor comments are required | 381–407 |
ShortVariable | Avoid variables with short names like i | 389 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 402 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 461 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 32–195 |
CommentRequired | Header comments are required | 32–195 |
UnusedPrivateField | Avoid unused private fields such as 'PROPERTY_FEATURE_HISTORY_SEARCH'. | 40 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the _historyList field if you want a default access modifier | 56 |
DefaultPackage | Use explicit scoping instead of the default package private level | 56 |
ImmutableField | Private field '_listQuery' could be made final; it is only initialized in the declaration or constructor. | 57 |
CyclomaticComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has a cyclomatic complexity of 20. | 60–139 |
NPathComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has an NPath complexity of 7680 | 60–139 |
CommentRequired | Public method and constructor comments are required | 60–139 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 65–66 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 65–66 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 67–68 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 67–68 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 68 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 69–70 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 69–70 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 71–72 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 71–72 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 73–74 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 73–74 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 75–76 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 75–76 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 77–78 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 86 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 94 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 95 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 114 |
ShortVariable | Avoid variables with short names like i | 159 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 172 |
UnusedPrivateMethod | Avoid unused private methods such as 'getHisotryQueryParameters(HttpServletRequest)'. | 179 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 181 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–531 |
NcssCount | The method 'getManageIdentitys(HttpServletRequest)' has a NCSS line count of 88. | 158–314 |
CyclomaticComplexity | The method 'getManageIdentitys(HttpServletRequest)' has a cyclomatic complexity of 23. | 158–314 |
ExcessiveMethodLength | Avoid really long methods. | 158–314 |
CommentRequired | Public method and constructor comments are required | 158–314 |
NPathComplexity | The method 'getManageIdentitys(HttpServletRequest)' has an NPath complexity of 4105 | 158–314 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 160 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 278 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 358 |
ShortVariable | Avoid variables with short names like i | 412 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 425 |
ShortVariable | Avoid variables with short names like i | 476 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 503 |
ShortVariable | Avoid variables with short names like i1 | 519 |
ShortVariable | Avoid variables with short names like i2 | 520 |
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 | 52–111 |
CommentRequired | Public method and constructor comments are required | 73–87 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 106 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 21–69 |
CommentRequired | Header comments are required | 21–69 |
CommentRequired | Public method and constructor comments are required | 47–68 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 60 |
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. | 138 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 143 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 143 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 145 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 145 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 147 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 147 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 172 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 175 |
Rule | Violation | Line |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 50–323 |
AddEmptyString | Do not add empty strings | 122 |
CommentRequired | Protected method constructor comments are required | 129–228 |
NcssCount | The method 'getQueryParameters(HttpServletRequest)' has a NCSS line count of 60. | 129–228 |
NPathComplexity | The method 'getQueryParameters(HttpServletRequest)' has an NPath complexity of 524288 | 129–228 |
CyclomaticComplexity | The method 'getQueryParameters(HttpServletRequest)' has a cyclomatic complexity of 20. | 129–228 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 131 |
CyclomaticComplexity | The method 'clearParameters(HttpServletRequest)' has a cyclomatic complexity of 19. | 230–322 |
NPathComplexity | The method 'clearParameters(HttpServletRequest)' has an NPath complexity of 262144 | 230–322 |
CommentRequired | Protected method constructor comments are required | 230–322 |
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 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 335 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 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 |
CommentRequired | Public method and constructor comments are required | 67–71 |
LinguisticNaming | Linguistics Antipattern - The setter 'setServiceContract' should not return any type except void linguistically | 67–71 |
CommentRequired | Public method and constructor comments are required | 78–82 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeKey' should not return any type except void linguistically | 78–82 |
CommentRequired | Public method and constructor comments are required | 89–93 |
LinguisticNaming | Linguistics Antipattern - The setter 'setRefCertificationLevel' should not return any type except void linguistically | 89–93 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeRight' should not return any type except void linguistically | 110–114 |
CommentRequired | Public method and constructor comments are required | 110–114 |
Rule | Violation | Line |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–820 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 87–820 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 176 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 203 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 207–212 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 213 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 220–228 |
DefaultPackage | Use explicit scoping instead of the default package private level | 246–254 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 247–254 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 317 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 370 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 440–447 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 487 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 512 |
CommentRequired | Public method and constructor comments are required | 556–588 |
ShortVariable | Avoid variables with short names like i | 570 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 583 |
CyclomaticComplexity | The method 'getAttributesRightsFromRequest(HttpServletRequest)' has a cyclomatic complexity of 12. | 597–666 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 599 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 599 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 618–628 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 635–645 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 652–662 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 690 |
ShortVariable | Avoid variables with short names like p1 | 740 |
ShortVariable | Avoid variables with short names like p2 | 741 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 759 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 774–784 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 786–792 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 794–800 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 802–808 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 810–816 |
Rule | Violation | Line |
---|---|---|
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 202–205 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 223–226 |
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() | 294–297 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 304–307 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 314–317 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 329–332 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 350–353 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 371–374 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 392–395 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 413–416 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 429–432 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 439–442 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 459–462 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' | 40 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 49 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientChangeResponse' | 40 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityAttribute' | 39 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityAttributeHome' | 40 |
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 56 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportRequest' | 54 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportResponse' | 55 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.attribute.AttributeKeyHome' | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.utils.Maps' | 44 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 46 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' | 49 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' | 52 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 53 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.tuple.Pair' | 56 |
UnusedImports | Avoid unused imports such as 'java.util.Collections' | 59 |
UnusedImports | Avoid unused imports such as 'java.util.HashSet' | 62 |
UnusedImports | Avoid unused imports such as 'java.util.Set' | 67 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' | 38 |
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 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.contract.ServiceContractService' | 40 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportResponse' | 44 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 46 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' | 50 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' | 36 |
Rule | Violation | Line |
---|---|---|
ShortClassName | Avoid short class names like Bool | 43–97 |
Rule | Violation | Line |
---|---|---|
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 193 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 213 |
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.v3.web.rs.AbstractIdentityStoreRequest' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 41 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 43 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityHome' | 44 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto' | 48 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntity' | 62 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntityHome' | 63 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 64 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 65 |
UnusedImports | Avoid unused imports such as 'java.util.Arrays' | 69 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.identity.IdentityService' | 39 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 43 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Objects' | 56 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Objects' | 63 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 45 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeChangeStatus' | 47 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 49 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto' | 48 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntity' | 61 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntityHome' | 62 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 68 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 69 |
UnusedImports | Avoid unused imports such as 'java.util.Arrays' | 73 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest' | 49 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 50 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.util.sql.TransactionManager' | 55 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.collections4.CollectionUtils' | 56 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 42 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException' | 72 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.sql.Date' | 75 |
UnusedImports | Avoid unused imports such as 'java.time.LocalDate' | 78 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IndicatorsActionsType' | 4 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType' | 8 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.util.mvc.commons.annotations.Action' | 12 |
UnusedImports | Avoid unused imports such as 'java.util.List' | 17 |
Rule | Violation | Line |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.ArrayList' | 49 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'serviceContracts' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 67 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 70 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 72 |
CommentRequired | Public method and constructor comments are required | 3 | 138–141 |
CommentRequired | Public method and constructor comments are required | 3 | 143–146 |
FormalParameterNamingConventions | The method parameter name '_strApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 143 |
CommentRequired | Public method and constructor comments are required | 3 | 158–161 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 163 |
CommentRequired | Public method and constructor comments are required | 3 | 163–166 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–371 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 69–81 |
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 | 89 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 112 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 145 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 178 |
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 | 214 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 246 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 267 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 287 |
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 | 349 |
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 |
---|---|---|---|
TooManyFields | Too many fields | 3 | 48–385 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 76 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 78 |
CommentRequired | Public method and constructor comments are required | 3 | 145–148 |
CommentRequired | Public method and constructor comments are required | 3 | 150–153 |
FormalParameterNamingConventions | The method parameter name '_strCommonSearchKeyName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 150 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 202–205 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 223–226 |
FormalParameterNamingConventions | The method parameter name '_nKeyWeight' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 254 |
FormalParameterNamingConventions | The method parameter name '_bMandatoryForCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 275 |
FormalParameterNamingConventions | The method parameter name '_strValidationRegex' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 296 |
FormalParameterNamingConventions | The method parameter name '_strValidationErrorMessage' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 317 |
FormalParameterNamingConventions | The final method parameter name '_strValidationErrorMessageKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 337 |
FormalParameterNamingConventions | The method parameter name '_listAttributeValues' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 355 |
CommentRequired | Public method and constructor comments are required | 3 | 360–363 |
CommentRequired | Public method and constructor comments are required | 3 | 365–368 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 365 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–453 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 72–87 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 74 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 95 |
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 | 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 | 213 |
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 | 272 |
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 | 332 |
LogicInversion | Use opposite operator instead of the logic complement operator. | 3 | 347 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 355 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 375 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 411 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 434 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 447 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 150–153 |
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 |
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 | 66–69 |
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–164 |
CommentRequired | Public method and constructor comments are required | 3 | 159 |
CommentRequired | Public method and constructor comments are required | 3 | 161 |
CommentRequired | Public method and constructor comments are required | 3 | 163 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 4 | 44 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 60 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 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 | 71 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 92 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 115 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 172 |
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–148 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 147 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessivePublicCount | This class has a bunch of public methods and attributes | 3 | 34–525 |
TooManyFields | Too many fields | 3 | 51–525 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 116 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 118 |
CommentRequired | Public method and constructor comments are required | 3 | 122–126 |
CommentRequired | Public method and constructor comments are required | 3 | 149–152 |
FormalParameterNamingConventions | The method parameter name '_strClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 154 |
CommentRequired | Public method and constructor comments are required | 3 | 154–157 |
CommentRequired | Public method and constructor comments are required | 3 | 201–204 |
CommentRequired | Public method and constructor comments are required | 3 | 206–209 |
FormalParameterNamingConventions | The method parameter name '_strMoeEntityName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 206 |
CommentRequired | Public method and constructor comments are required | 3 | 274–277 |
FormalParameterNamingConventions | The method parameter name '_dateStartingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 279 |
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 |
FormalParameterNamingConventions | The method parameter name '_dateEndingDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 289 |
CommentRequired | Public method and constructor comments are required | 3 | 294–297 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 294–297 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedCreation' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 299 |
CommentRequired | Public method and constructor comments are required | 3 | 299–302 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 304–307 |
CommentRequired | Public method and constructor comments are required | 3 | 304–307 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedUpdate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 309 |
CommentRequired | Public method and constructor comments are required | 3 | 309–312 |
CommentRequired | Public method and constructor comments are required | 3 | 314–317 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 314–317 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 319 |
CommentRequired | Public method and constructor comments are required | 3 | 319–322 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 329–332 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 350–353 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 371–374 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 392–395 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 413–416 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 429–432 |
CommentRequired | Public method and constructor comments are required | 3 | 429–432 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedDecertification' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 434 |
CommentRequired | Public method and constructor comments are required | 3 | 434–437 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 439–442 |
CommentRequired | Public method and constructor comments are required | 3 | 439–442 |
CommentRequired | Public method and constructor comments are required | 3 | 444–447 |
FormalParameterNamingConventions | The method parameter name '_bAuthorizedAgentHistoryRead' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 444 |
CommentRequired | Public method and constructor comments are required | 3 | 449–452 |
FormalParameterNamingConventions | The method parameter name '_nDataRetentionPeriodInMonths' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 454 |
CommentRequired | Public method and constructor comments are required | 3 | 454–457 |
CommentRequired | Public method and constructor comments are required | 3 | 459–462 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 459–462 |
CommentRequired | Public method and constructor comments are required | 3 | 464–467 |
CommentRequired | Public method and constructor comments are required | 3 | 469–472 |
CommentRequired | Public method and constructor comments are required | 3 | 474–477 |
CommentRequired | Public method and constructor comments are required | 3 | 479–482 |
CommentRequired | Public method and constructor comments are required | 3 | 484–487 |
CommentRequired | Public method and constructor comments are required | 3 | 489–492 |
CommentRequired | Public method and constructor comments are required | 3 | 494–497 |
CommentRequired | Public method and constructor comments are required | 3 | 499–502 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 504 |
CommentRequired | Public method and constructor comments are required | 3 | 504–507 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 53–490 |
AvoidDuplicateLiterals | The String literal "SELECT" appears 6 times in this file; the first occurrence is on line 57 | 3 | 57 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 87 |
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 | 152 |
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 | 187 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 203 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 230–233 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 234–272 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 245–250 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 253 |
AvoidDuplicateLiterals | The String literal "%' " appears 4 times in this file; the first occurrence is on line 253 | 3 | 253 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 257 |
ShortVariable | Avoid variables with short names like i | 3 | 270 |
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 | 304 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 317 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 330 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 370 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 395–398 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 403 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 427 |
CommentRequired | Public method and constructor comments are required | 3 | 444–457 |
MissingOverride | The method 'selectAllServiceContractsList(Plugin)' is missing an @Override annotation. | 3 | 444–457 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 447 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 56–324 |
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 | 228–235 |
CommentRequired | Public method and constructor comments are required | 3 | 237–244 |
CommentRequired | Public method and constructor comments are required | 3 | 246–275 |
CommentRequired | Public method and constructor comments are required | 3 | 277–280 |
CommentRequired | Public method and constructor comments are required | 3 | 282–285 |
CommentRequired | Public method and constructor comments are required | 3 | 287–290 |
CommentRequired | Public method and constructor comments are required | 3 | 292–295 |
CommentRequired | Public method and constructor comments are required | 3 | 297–300 |
CommentRequired | Public method and constructor comments are required | 3 | 302–306 |
CommentRequired | Public method and constructor comments are required | 3 | 308–312 |
CommentRequired | Public method and constructor comments are required | 3 | 314–318 |
CommentRequired | Public method and constructor comments are required | 3 | 320–323 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 71–74 |
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 | 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 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 91 |
CommentRequired | Public method and constructor comments are required | 3 | 91–94 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 48–259 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 254 |
CommentRequired | Public method and constructor comments are required | 3 | 256 |
CommentRequired | Public method and constructor comments are required | 3 | 258 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'lock' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 61 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 62 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 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–794 |
FieldNamingConventions | The constant name 'SQL_QUERY_SELECT_BY_CUSTOMER_IDs' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 89 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 103 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 108 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 119 |
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 | 137 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 155–164 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 176 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 195–204 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 220 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 239–248 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 262 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 267 |
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 | 285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 298 |
NPathComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has an NPath complexity of 528 | 3 | 323–407 |
CyclomaticComplexity | The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has a cyclomatic complexity of 14. | 3 | 323–407 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 347 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 359 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 376 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 388–397 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 414 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 440 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 470 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 490 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 515–518 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 545–554 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 570 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 579 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 592 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 609 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 624 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 650 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 653 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 671 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 689 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 702 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 714 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 724 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 748 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 758 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 776 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 787 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' | 4 | 40 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 55–384 |
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–308 |
CommentRequired | Public method and constructor comments are required | 3 | 310–313 |
CommentRequired | Public method and constructor comments are required | 3 | 315–318 |
CommentRequired | Public method and constructor comments are required | 3 | 320–323 |
NPathComplexity | The method 'manageLock(String, String, String, boolean)' has an NPath complexity of 768 | 3 | 325–367 |
CommentRequired | Public method and constructor comments are required | 3 | 325–367 |
CyclomaticComplexity | The method 'manageLock(String, String, String, boolean)' has a cyclomatic complexity of 19. | 3 | 325–367 |
CommentRequired | Public method and constructor comments are required | 3 | 369–372 |
CommentRequired | Public method and constructor comments are required | 3 | 374–377 |
CommentRequired | Public method and constructor comments are required | 3 | 379–382 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–84 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
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 | 50–53 |
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 '_dateLockEndDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
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 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 80 |
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 | 54–384 |
CommentRequired | Public method and constructor comments are required | 3 | 127 |
CommentRequired | Public method and constructor comments are required | 3 | 151 |
CommentRequired | Public method and constructor comments are required | 3 | 153 |
CommentRequired | Public method and constructor comments are required | 3 | 209 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 277–278 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 277–278 |
CommentRequired | Public method and constructor comments are required | 3 | 374 |
CommentRequired | Public method and constructor comments are required | 3 | 376 |
CommentRequired | Public method and constructor comments are required | 3 | 383 |
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 |
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 | 271–274 |
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–71 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 4 | 49 |
ExcessiveClassLength | Avoid really long classes. | 3 | 70–1198 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 71–1198 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 4 times in this file; the first occurrence is on line 79 | 3 | 79 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 180 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 211 |
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 | 265 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 279 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 295 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 308 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 328 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 357 |
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 | 395 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 414 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 433 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 504 |
CyclomaticComplexity | The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has a cyclomatic complexity of 16. | 3 | 523–584 |
NPathComplexity | The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has an NPath complexity of 1026 | 3 | 523–584 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 526 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 526 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 572 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 588 |
AvoidDuplicateLiterals | The String literal "1=1" appears 10 times in this file; the first occurrence is on line 605 | 3 | 605 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 608 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 622 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 645 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 673 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 705 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 732 |
CyclomaticComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has a cyclomatic complexity of 13. | 3 | 746–801 |
NPathComplexity | The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has an NPath complexity of 666 | 3 | 746–801 |
AvoidDuplicateLiterals | The String literal " AND " appears 8 times in this file; the first occurrence is on line 752 | 3 | 752 |
MissingOverride | The method 'selectUpdatedFromIds(List, Plugin)' is missing an @Override annotation. | 3 | 806–826 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 812 |
CyclomaticComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has a cyclomatic complexity of 21. | 3 | 832–906 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 832–834 |
NPathComplexity | The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has an NPath complexity of 20736 | 3 | 832–906 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 832–834 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 842 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 843 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 846 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 849–857 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 859–886 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 865–885 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 888 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 915 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 934 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 955 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 973 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 986 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1004 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1021 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1039 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1057 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1075 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 1078 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1093 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1110 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1127 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1147 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 1165 |
CommentRequired | Public method and constructor comments are required | 3 | 1177–1189 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 59–532 |
FieldNamingConventions | The constant name '_dao' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 63 |
FieldNamingConventions | The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 64 |
CommentRequired | Public method and constructor comments are required | 3 | 115–118 |
CommentRequired | Public method and constructor comments are required | 3 | 132–135 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 204–206 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 204–206 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 273 |
CommentRequired | Public method and constructor comments are required | 3 | 513–516 |
CommentRequired | Public method and constructor comments are required | 3 | 518–521 |
CommentRequired | Public method and constructor comments are required | 3 | 523–526 |
CommentRequired | Public method and constructor comments are required | 3 | 528–531 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 3–60 |
DataClass | The class 'IndicatorsActionsType' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 3 | 3–60 |
FieldNamingConventions | The field name 'changeType' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 5 |
FieldNamingConventions | The field name 'changeStatus' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 6 |
FieldNamingConventions | The field name 'authorType' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 7 |
FieldNamingConventions | The field name 'clientCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 8 |
FieldNamingConventions | The field name 'countActions' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 9 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 47–140 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 139 |
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 |
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 'refCertificationLevel' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 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 |
FieldNamingConventions | The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 73 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 73 |
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 52–424 |
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 | 107 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 131 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 144 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 157 |
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 | 203 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 223 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 248–251 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 256 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 286 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 326 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 364 |
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 | 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 |
CommentRequired | Public method and constructor comments are required | 3 | 158–161 |
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 |
---|---|---|---|
TooManyFields | Too many fields | 3 | 92–308 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 92–308 |
FieldNamingConventions | The field name 'creationDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 109 |
FieldNamingConventions | The field name 'lastUpdateDate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 111 |
CommentRequired | Public method and constructor comments are required | 3 | 115–133 |
ShortVariable | Avoid variables with short names like i | 3 | 117 |
CommentRequired | Public method and constructor comments are required | 3 | 140–143 |
CommentRequired | Public method and constructor comments are required | 3 | 145–148 |
FormalParameterNamingConventions | The method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 145 |
CommentRequired | Public method and constructor comments are required | 3 | 150–153 |
CommentRequired | Public method and constructor comments are required | 3 | 155–158 |
FormalParameterNamingConventions | The method parameter name '_strName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 155 |
CommentRequired | Public method and constructor comments are required | 3 | 160–163 |
FormalParameterNamingConventions | The method parameter name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 165 |
CommentRequired | Public method and constructor comments are required | 3 | 165–168 |
CommentRequired | Public method and constructor comments are required | 3 | 170–173 |
CommentRequired | Public method and constructor comments are required | 3 | 175–178 |
FormalParameterNamingConventions | The method parameter name '_strDescription' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 175 |
CommentRequired | Public method and constructor comments are required | 3 | 180–183 |
CommentRequired | Public method and constructor comments are required | 3 | 185–188 |
FormalParameterNamingConventions | The method parameter name '_listCheckedAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 185 |
CommentRequired | Public method and constructor comments are required | 3 | 190–193 |
CommentRequired | Public method and constructor comments are required | 3 | 195–198 |
FormalParameterNamingConventions | The method parameter name '_nNbFilledAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 195 |
CommentRequired | Public method and constructor comments are required | 3 | 200–203 |
CommentRequired | Public method and constructor comments are required | 3 | 205–208 |
FormalParameterNamingConventions | The method parameter name '_nNbEqualAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 205 |
CommentRequired | Public method and constructor comments are required | 3 | 210–213 |
CommentRequired | Public method and constructor comments are required | 3 | 215–218 |
FormalParameterNamingConventions | The method parameter name '_nNbMissingAttributes' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 215 |
CommentRequired | Public method and constructor comments are required | 3 | 220–223 |
FormalParameterNamingConventions | The method parameter name '_listAttributeTreatments' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 225 |
CommentRequired | Public method and constructor comments are required | 3 | 225–228 |
CommentRequired | Public method and constructor comments are required | 3 | 230–233 |
FormalParameterNamingConventions | The method parameter name '_priority' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 235 |
CommentRequired | Public method and constructor comments are required | 3 | 235–238 |
CommentRequired | Public method and constructor comments are required | 3 | 240–243 |
FormalParameterNamingConventions | The method parameter name '_bActive' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 245 |
CommentRequired | Public method and constructor comments are required | 3 | 245–248 |
CommentRequired | Public method and constructor comments are required | 3 | 250–253 |
FormalParameterNamingConventions | The method parameter name '_bDaemon' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 255 |
CommentRequired | Public method and constructor comments are required | 3 | 255–258 |
CommentRequired | Public method and constructor comments are required | 3 | 260–263 |
FormalParameterNamingConventions | The method parameter name '_dateDaemonLastExecDate' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 265 |
CommentRequired | Public method and constructor comments are required | 3 | 265–268 |
FormalParameterNamingConventions | The method parameter name '_nDetectionLimit' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 278 |
CommentRequired | Public method and constructor comments are required | 3 | 278–281 |
CommentRequired | Public method and constructor comments are required | 3 | 283–286 |
CommentRequired | Public method and constructor comments are required | 3 | 288–291 |
FormalParameterNamingConventions | The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 288 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
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 | 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 | 53–441 |
AvoidDuplicateLiterals | The String literal "SELECT " appears 4 times in this file; the first occurrence is on line 57 | 3 | 57 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 87 |
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 | 144 |
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 | 174 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 192 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 210 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 228 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 266 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 276 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 285 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 298 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 331 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 350 |
ShortVariable | Avoid variables with short names like id | 3 | 358 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 403 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 414 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final | 3 | 433 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 108 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 54–57 |
FormalParameterNamingConventions | The final method parameter name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
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 |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' | 4 | 42 |
CommentRequired | Header comments are required | 3 | 50–151 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 55–58 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
CommentRequired | Public method and constructor comments are required | 3 | 60–76 |
CommentRequired | Public method and constructor comments are required | 3 | 78–86 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 85 |
ShortVariable | Avoid variables with short names like id | 3 | 93 |
CommentRequired | Public method and constructor comments are required | 3 | 111–120 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 131 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–134 |
CommentRequired | Public method and constructor comments are required | 3 | 50–53 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 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 |
CommentRequired | Public method and constructor comments are required | 3 | 82–106 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 95–98 |
CommentRequired | Public method and constructor comments are required | 3 | 108–117 |
CommentRequired | Public method and constructor comments are required | 3 | 119–127 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–129 |
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 |
ShortVariable | Avoid variables with short names like id | 3 | 86 |
CommentRequired | Public method and constructor comments are required | 3 | 104–113 |
CommentRequired | Public method and constructor comments are required | 3 | 115–122 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–108 |
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–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 |
CommentRequired | Public method and constructor comments are required | 3 | 82–91 |
CommentRequired | Public method and constructor comments are required | 3 | 93–101 |
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 | 9–65 |
CommentRequired | Public method and constructor comments are required | 3 | 13–16 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 13–16 |
CommentRequired | Public method and constructor comments are required | 3 | 18–22 |
CommentRequired | Public method and constructor comments are required | 3 | 24–32 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 31 |
CommentRequired | Public method and constructor comments are required | 3 | 34–42 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 41 |
CommentRequired | Public method and constructor comments are required | 3 | 44–53 |
EmptyStatementNotInLoop | An empty statement (semicolon) not part of a loop | 3 | 49 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–83 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 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 |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 65–208 |
FieldNamingConventions | The final field name '_notificationStoreService' 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 13. | 3 | 85–187 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 85–187 |
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 | 158 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 158 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 158 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. | 3 | 165 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 165 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 165 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 169 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 169 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 169 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 173 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 173 |
ConsecutiveLiteralAppends | StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. | 3 | 173 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 177 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 180 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientChangeResponse' | 4 | 40 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 4 | 42 |
CommentRequired | Header comments are required | 3 | 46–94 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 52–55 |
CommentRequired | Public method and constructor comments are required | 3 | 59–75 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 70 |
CommentRequired | Public method and constructor comments are required | 3 | 77–93 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 88 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–53 |
CommentRequired | Header comments are required | 3 | 39–53 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute' | 4 | 42 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 54–342 |
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 | 265 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 267 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 270 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 272 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 274 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 277 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 279 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 281 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 322 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 322 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 322 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityAttribute' | 4 | 39 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityAttributeHome' | 4 | 40 |
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 4 | 56 |
CommentRequired | Header comments are required | 3 | 58–451 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 58–451 |
GodClass | Possible God Class (WMC=59, ATFD=136, TCC=0.000%) | 3 | 58–451 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 63 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 63 |
CommentRequired | Public method and constructor comments are required | 3 | 65–72 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 67–70 |
CommentRequired | Public method and constructor comments are required | 3 | 78–81 |
CyclomaticComplexity | The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has a cyclomatic complexity of 15. | 3 | 83–143 |
CommentRequired | Public method and constructor comments are required | 3 | 83–143 |
NPathComplexity | The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has an NPath complexity of 288 | 3 | 83–143 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 91–92 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 92 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 107–139 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 128–137 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 145–254 |
NcssCount | The method 'adjustCountry(IdentityChangeRequest)' has a NCSS line count of 62. | 3 | 145–254 |
CyclomaticComplexity | The method 'adjustCountry(IdentityChangeRequest)' has a cyclomatic complexity of 14. | 3 | 145–254 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 202 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 206 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 209–215 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 226 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 256–399 |
NcssCount | The method 'adjustFrenchCity(IdentityChangeRequest)' has a NCSS line count of 79. | 3 | 256–399 |
CyclomaticComplexity | The method 'adjustFrenchCity(IdentityChangeRequest)' has a cyclomatic complexity of 20. | 3 | 256–399 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 269 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 273 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 280–287 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 288–349 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 290 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 306 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 357–358 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 371 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 410–444 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 67–456 |
FieldNamingConventions | The final field name '_attributeKeyCache' 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 | 155 |
CommentRequired | Public method and constructor comments are required | 3 | 190–208 |
CommentRequired | Public method and constructor comments are required | 3 | 210–227 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 222 |
CommentRequired | Public method and constructor comments are required | 3 | 229–246 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 241 |
CommentRequired | Public method and constructor comments are required | 3 | 248–265 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 260 |
CyclomaticComplexity | The method 'updateAttribute(AttributeDto, Identity, String)' has a cyclomatic complexity of 12. | 3 | 324–413 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 355–362 |
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 |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–777 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportRequest' | 4 | 54 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportResponse' | 4 | 55 |
GodClass | Possible God Class (WMC=117, ATFD=158, TCC=2.646%) | 3 | 81–777 |
CyclomaticComplexity | The class 'ServiceContractService' has a total cyclomatic complexity of 117 (highest 17). | 3 | 81–777 |
CommentRequired | Header comments are required | 3 | 81–777 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 81–777 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 82–777 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 84 |
CommentRequired | Public method and constructor comments are required | 3 | 87–95 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 89–93 |
CommentRequired | Public method and constructor comments are required | 3 | 113–120 |
CommentRequired | Public method and constructor comments are required | 3 | 122–126 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 170 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 173 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 207 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 230 |
ShortVariable | Avoid variables with short names like id | 3 | 243 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 264 |
NPathComplexity | The method 'validateContractDefinition(ServiceContract, int)' has an NPath complexity of 480 | 3 | 278–349 |
CyclomaticComplexity | The method 'validateContractDefinition(ServiceContract, int)' has a cyclomatic complexity of 17. | 3 | 278–349 |
CommentRequired | Public method and constructor comments are required | 3 | 351–358 |
CyclomaticComplexity | The method 'validateUpdateAuthorization(IdentityChangeRequest, IdentityDto, ServiceContract)' has a cyclomatic complexity of 10. | 3 | 524–546 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 739 |
CommentRequired | Public method and constructor comments are required | 3 | 751–759 |
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 |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 49–181 |
CommentRequired | Header comments are required | 3 | 49–181 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 52 |
CommentRequired | Public method and constructor comments are required | 3 | 55–63 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 57–61 |
ShortVariable | Avoid variables with short names like id | 3 | 175 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–180 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.attribute.AttributeKeyHome' | 4 | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.utils.Maps' | 4 | 44 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 4 | 46 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' | 4 | 49 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' | 4 | 52 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 4 | 53 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.tuple.Pair' | 4 | 56 |
UnusedImports | Avoid unused imports such as 'java.util.Collections' | 4 | 59 |
UnusedImports | Avoid unused imports such as 'java.util.HashSet' | 4 | 62 |
UnusedImports | Avoid unused imports such as 'java.util.Set' | 4 | 67 |
CommentRequired | Header comments are required | 3 | 70–180 |
FieldNamingConventions | The final field name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 74 |
FormalParameterNamingConventions | The final method parameter name '_searchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 76 |
CommentRequired | Public method and constructor comments are required | 3 | 76–78 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 94 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 4 | 37 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' | 4 | 38 |
CommentRequired | Header comments are required | 3 | 45–49 |
CommentRequired | Public method and constructor comments are required | 3 | 47–48 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 60–147 |
FieldNamingConventions | The final field name '_identityHistoryCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
FieldNamingConventions | The final field name 'HISTORY_STATUS_LIST' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
FinalFieldCouldBeStatic | This final field could be made static | 3 | 65 |
CommentRequired | Public method and constructor comments are required | 3 | 67–75 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 69–73 |
CommentRequired | Public method and constructor comments are required | 3 | 77–94 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 79–80 |
CommentRequired | Public method and constructor comments are required | 3 | 96–125 |
CommentRequired | Public method and constructor comments are required | 3 | 143–146 |
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 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.contract.ServiceContractService' | 4 | 40 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.exporting.IdentityExportResponse' | 4 | 44 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 4 | 46 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 56–119 |
CommentRequired | Header comments are required | 3 | 56–119 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 67 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 67 |
CommentRequired | Public method and constructor comments are required | 3 | 74–81 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 76–79 |
CyclomaticComplexity | The method 'export(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. | 3 | 92–118 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 95–96 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–298 |
CommentRequired | Header comments are required | 3 | 71–298 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 71–298 |
FieldNamingConventions | The constant name '_qualityBaseCache' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 77–85 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 79–83 |
CommentRequired | Public method and constructor comments are required | 3 | 91–94 |
CommentRequired | Public method and constructor comments are required | 3 | 96–163 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 129–132 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 192–211 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 203 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 204–207 |
CommentRequired | Public method and constructor comments are required | 3 | 214–234 |
CyclomaticComplexity | The method 'computeMatchScore(IdentityDto, List)' has a cyclomatic complexity of 10. | 3 | 236–297 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 251 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 259–262 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 263–272 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–981 |
GodClass | Possible God Class (WMC=112, ATFD=208, TCC=30.147%) | 3 | 99–981 |
CyclomaticComplexity | The class 'IdentityService' has a total cyclomatic complexity of 112 (highest 12). | 3 | 99–981 |
CommentRequired | Header comments are required | 3 | 99–981 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 100–981 |
FieldNamingConventions | The final field name '_identityStoreNotifyListenerService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 121 |
FieldNamingConventions | The final field name '_identityAttributeService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 122 |
FieldNamingConventions | The final field name '_internalUserService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 123 |
FieldNamingConventions | The final field name '_elasticSearchIdentityService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 124 |
FieldNamingConventions | The final field name '_notificationStoreService' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 125 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 128 |
CommentRequired | Public method and constructor comments are required | 3 | 132–139 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 134–137 |
CyclomaticComplexity | The method 'create(IdentityChangeRequest, RequestAuthor, ServiceContract, List)' has a cyclomatic complexity of 10. | 3 | 156–207 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 198 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 201 |
CyclomaticComplexity | The method 'update(String, IdentityChangeRequest, RequestAuthor, ServiceContract, List)' has a cyclomatic complexity of 10. | 3 | 240–291 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 249 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 282 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 285 |
CyclomaticComplexity | The method 'merge(Identity, Identity, IdentityDto, String, RequestAuthor, String, List)' has a cyclomatic complexity of 11. | 3 | 320–412 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 327 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 390 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 407 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 427 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 429 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 449 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 456 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 464 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 512–518 |
CyclomaticComplexity | The method 'search(String, String, ServiceContract, RequestAuthor)' has a cyclomatic complexity of 11. | 3 | 538–576 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 600–603 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 628–631 |
CyclomaticComplexity | The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has a cyclomatic complexity of 12. | 3 | 686–733 |
NPathComplexity | The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has an NPath complexity of 432 | 3 | 686–733 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 781 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 783 |
CyclomaticComplexity | The method 'uncertifyIdentity(String, List, String, RequestAuthor)' has a cyclomatic complexity of 12. | 3 | 798–862 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 803–817 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 853 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 856 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 911 |
CyclomaticComplexity | The method 'searchUpdatedIdentities(UpdatedIdentitySearchRequest)' has a cyclomatic complexity of 12. | 3 | 928–979 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 933–978 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 957 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 36–56 |
CommentRequired | Header comments are required | 3 | 36–56 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 52–563 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 53–563 |
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 |
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 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 516–527 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 542 |
CommentRequired | Public method and constructor comments are required | 3 | 548–562 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 555 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–45 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 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 |
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 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 46–49 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
FormalParameterNamingConventions | The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
FormalParameterNamingConventions | The method parameter name '_enumActionType' 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 |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' | 4 | 50 |
CommentRequired | Header comments are required | 3 | 60–164 |
FieldNamingConventions | The final field name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
FieldNamingConventions | The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 66 |
CommentRequired | Public method and constructor comments are required | 3 | 68–72 |
FormalParameterNamingConventions | The final method parameter name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
FormalParameterNamingConventions | The final method parameter name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
CyclomaticComplexity | The method 'processIdentityChange(IdentityChangeType, Identity, String, String, RequestAuthor, String, Map)' has a cyclomatic complexity of 12. | 3 | 75–110 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 86 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 91 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 96 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 123 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 124 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 125 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 126 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 157 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 65–68 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 65–68 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–98 |
DataClass | The class 'BulkAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=10) | 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–78 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 44–78 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 77 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 65–292 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 66–292 |
FieldNamingConventions | The final field name 'CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 67 |
FinalFieldCouldBeStatic | This final field could be made static | 3 | 68 |
FieldNamingConventions | The final field name 'PROPERTY_COUNT' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 68 |
FieldNamingConventions | The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 70 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 71 |
CommentRequired | Public method and constructor comments are required | 3 | 73–76 |
CommentRequired | Public method and constructor comments are required | 3 | 78–81 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 96 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 132 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 147 |
UseProperClassLoader | In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. | 3 | 159 |
AvoidDuplicateLiterals | The String literal "Unexpected error occurred while managing ES alias." appears 4 times in this file; the first occurrence is on line 198 | 3 | 198 |
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–199 |
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 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 3 | 63–65 |
CommentRequired | Public method and constructor comments are required | 3 | 63–65 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 63–65 |
UncommentedEmptyConstructor | Document empty 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–155 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 87–153 |
CommentRequired | Public method and constructor comments are required | 3 | 184–198 |
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 |
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 | 53–56 |
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 | 43–53 |
ShortVariable | Avoid variables with short names like o | 3 | 47 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 55–60 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 84 |
CyclomaticComplexity | The method 'handleMultiAttributeSearch(SearchAttribute, InnerSearchRequest)' has a cyclomatic complexity of 11. | 3 | 94–136 |
LinguisticNaming | Linguistics Antipattern - The variable 'shouldContainer' indicates linguistically it is a boolean, but it is 'BoolContainer' | 3 | 98 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 121–134 |
CyclomaticComplexity | The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a cyclomatic complexity of 20. | 3 | 143–223 |
NcssCount | The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a NCSS line count of 69. | 3 | 143–223 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 148–166 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 169–186 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 189–204 |
MissingBreakInSwitch | A switch statement does not contain a break | 3 | 207–220 |
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 | 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 |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 36–38 |
AbstractClassWithoutAbstractMethod | This abstract class does not have any abstract methods | 3 | 36–38 |
AbstractClassWithoutAnyMethod | No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. | 1 | 36–38 |
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 'AbstractMatch' 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 'AbstractSpan' 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 |
---|---|---|---|
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 | 38–55 |
FieldNamingConventions | The field name 'bool' 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–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 | 54–305 |
FieldNamingConventions | The field name 'from' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 56 |
FieldNamingConventions | The field name 'size' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 58 |
FieldNamingConventions | The field name 'query' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 61 |
FieldNamingConventions | The field name 'sourceFilters' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 64 |
CommentRequired | Public method and constructor comments are required | 3 | 66–72 |
ConstructorCallsOverridableMethod | Overridable method 'setQuery' called during object construction | 1 | 69 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 75 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 75 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 75 |
AvoidDuplicateLiterals | The String literal ".value" appears 5 times in this file; the first occurrence is on line 137 | 3 | 137 |
AvoidDuplicateLiterals | The String literal "attributes." appears 7 times in this file; the first occurrence is on line 137 | 3 | 137 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 193 |
UseVarargs | Consider using varargs for methods or constructors which take an array the last parameter. | 4 | 213 |
LinguisticNaming | Linguistics Antipattern - The variable 'shouldContainer' indicates linguistically it is a boolean, but it is 'BoolContainer' | 3 | 216 |
LinguisticNaming | Linguistics Antipattern - The variable 'shouldContainer' indicates linguistically it is a boolean, but it is 'BoolContainer' | 3 | 239 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 258 |
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 |
MissingOverride | The method 'setQuery(String)' is missing an @Override annotation. | 3 | 58–61 |
CommentRequired | Public method and constructor comments are required | 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 |
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 | 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 |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–93 |
DataClass | The class 'SpanNear' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) | 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 |
---|---|---|---|
DataClass | The class 'SpanTerm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 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 | 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 |
---|---|---|---|
DataClass | The class 'Hit' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 3 | 43–108 |
ShortClassName | Avoid short class names like Hit | 4 | 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 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
ShortVariable | Avoid variables with short names like id | 3 | 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 |
---|---|---|---|
DataClass | The class 'Response' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 3 | 44–121 |
CommentRequired | Header comments are required | 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 |
FieldNamingConventions | The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 60 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 60 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–68 |
DataClass | The class 'Responses' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 42–68 |
FieldNamingConventions | The field name 'took' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'responses' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
AvoidFieldNameMatchingTypeName | It is somewhat confusing to have a field name matching the declaring class name | 3 | 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 |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–63 |
DataClass | The class 'Total' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 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–150 |
CommentRequired | Public method and constructor comments are required | 3 | 127–149 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–309 |
CommentRequired | Header comments are required | 3 | 68–309 |
FieldNamingConventions | The constant name 'propertySize' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 73 |
FieldNamingConventions | The final field name '_elasticClient' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 75 |
CommentRequired | Public method and constructor comments are required | 3 | 77–80 |
CommentRequired | Public method and constructor comments are required | 3 | 82–85 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 98–118 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 256 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 59–185 |
CommentRequired | Header comments are required | 3 | 59–185 |
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 3 | 59–185 |
FieldNamingConventions | The final field name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
FormalParameterNamingConventions | The method parameter name '_identitySearcher' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 66 |
ShortVariable | Avoid variables with short names like s | 3 | 172 |
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 'debug' 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 'info' 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 |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 50–184 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 50–184 |
MissingStaticMethodInNonInstantiatableClass | Class cannot be instantiated and does not provide any static methods or fields | 3 | 50–184 |
AvoidDuplicateLiterals | The String literal "An error occurred during database search: " appears 4 times in this file; the first occurrence is on line 77 | 3 | 77 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 49–156 |
CommentRequired | Public method and constructor comments are required | 3 | 123–155 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 135–138 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 140–150 |
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 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 45–49 |
CommentRequired | Public method and constructor comments are required | 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 |
---|---|---|---|
ClassNamingConventions | The utility class name 'Combinations' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 40–68 |
CommentRequired | Header comments are required | 3 | 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 |
---|---|---|---|
ClassNamingConventions | The utility class name 'Maps' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 44–62 |
CommentRequired | Header comments are required | 3 | 44–62 |
ShortClassName | Avoid short class names like Maps | 4 | 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 |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 48–80 |
FieldNamingConventions | The final field name '_strAppCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
CommentRequired | Protected method constructor comments are required | 3 | 56–61 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 120 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
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 '_strTargetApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 124 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 127–134 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 4 | 42 |
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 63 |
FormalParameterNamingConventions | The final method parameter name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 71 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 63 |
FieldNamingConventions | The field name 'clientApplication' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 65 |
FieldNamingConventions | The field name 'serviceContractToCreate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 66 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_nServiceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 58 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 60 |
FieldNamingConventions | The field name 'existingContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_serviceContractDto' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 66 |
FieldNamingConventions | The final field name '_serviceContractId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 67 |
FieldNamingConventions | The field name 'clientApplication' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 69 |
FieldNamingConventions | The field name 'sentServiceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 70 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 4 | 41 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 4 | 43 |
CommentRequired | Header comments are required | 3 | 57–124 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 61 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 63 |
CommentRequired | Public method and constructor comments are required | 3 | 65–70 |
UncommentedEmptyMethodBody | Document empty method body | 3 | 90–92 |
UncommentedEmptyMethodBody | Document empty method body | 3 | 96–98 |
UncommentedEmptyMethodBody | Document empty method body | 3 | 102–104 |
UncommentedEmptyMethodBody | Document empty method body | 3 | 108–110 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 56–117 |
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 59 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 61 |
CommentRequired | Public method and constructor comments are required | 3 | 63–68 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–195 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityHome' | 4 | 44 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 76 |
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 78 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 81 |
FieldNamingConventions | The field name 'primaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 82 |
FieldNamingConventions | The field name 'secondaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 83 |
ShortVariable | Avoid variables with short names like md | 3 | 126 |
UnusedLocalVariable | Avoid unused local variables such as 'status'. | 3 | 186 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 186 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–171 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto' | 4 | 48 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntity' | 4 | 62 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntityHome' | 4 | 63 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 4 | 64 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 4 | 65 |
UnusedImports | Avoid unused imports such as 'java.util.Arrays' | 4 | 69 |
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 79 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 81 |
CommentRequired | Public method and constructor comments are required | 3 | 95–102 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 67 |
FieldNamingConventions | The field name 'existingIdentityToDelete' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 68 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.service.identity.IdentityService' | 4 | 39 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 4 | 43 |
CommentRequired | Header comments are required | 3 | 60–123 |
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 63 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 65 |
CommentRequired | Public method and constructor comments are required | 3 | 67–72 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Objects' | 4 | 56 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 64 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 65 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 62 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 63–179 |
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 65 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 68 |
FieldNamingConventions | The field name 'strictDuplicateCustomerId' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 69 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 152 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 162 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 169 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 171 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–213 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 77 |
FieldNamingConventions | The final field name '_identityMergeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 79 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 82 |
FieldNamingConventions | The field name 'primaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 83 |
FieldNamingConventions | The field name 'secondaryIdentity' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 84 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 137–140 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Objects' | 4 | 63 |
FieldNamingConventions | The final field name '_identitySearchRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 71 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 75–81 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' | 4 | 45 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeChangeStatus' | 4 | 47 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto' | 4 | 49 |
CommentRequired | Header comments are required | 3 | 67–146 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 69 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 70 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 73 |
CommentRequired | Public method and constructor comments are required | 3 | 75–81 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–221 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.AttributeDto' | 4 | 48 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntity' | 4 | 61 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.business.datastore.DataEntityHome' | 4 | 62 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 4 | 68 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' | 4 | 69 |
UnusedImports | Avoid unused imports such as 'java.util.Arrays' | 4 | 73 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 83 |
FieldNamingConventions | The final field name '_identityChangeRequest' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 86 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 87 |
FieldNamingConventions | The field name 'serviceContract' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 90 |
FieldNamingConventions | The field name 'existingIdentityToUpdate' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 91 |
FormalParameterNamingConventions | The final method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 99 |
CommentRequired | Public method and constructor comments are required | 3 | 105–113 |
FormalParameterNamingConventions | The final method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 105 |
Rule | Violation | Priority | Line |
---|---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 119 |
Rule | Violation | Priority | Line |
---|---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 119 |
Rule | Violation | Priority | Line |
---|---|---|---|
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 122 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 41–74 |
CommentRequired | Header comments are required | 3 | 41–74 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 43 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–52 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 47–50 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 7–26 |
CommentRequired | Header comments are required | 3 | 7–26 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 8 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 8 |
CommentRequired | Public method and constructor comments are required | 3 | 10–15 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 11–13 |
CommentRequired | Public method and constructor comments are required | 3 | 20–25 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–539 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest' | 4 | 49 |
GodClass | Possible God Class (WMC=69, ATFD=138, TCC=3.571%) | 3 | 80–539 |
FieldNamingConventions | The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 86 |
CommentRequired | Public method and constructor comments are required | 3 | 91–99 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 93–97 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 141 |
CyclomaticComplexity | The method 'validateIdentityAttributeValues(IdentityDto)' has a cyclomatic complexity of 14. | 3 | 153–202 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 165–171 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 167–170 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 173–176 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 182–190 |
CyclomaticComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a cyclomatic complexity of 32. | 3 | 238–410 |
NcssCount | The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a NCSS line count of 70. | 3 | 238–410 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 238–410 |
NPathComplexity | The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has an NPath complexity of 677376 | 3 | 238–410 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 257 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 310–318 |
AvoidDeeplyNestedIfStmts | Deeply nested if..then statements are hard to read | 3 | 329–337 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 343 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 431–537 |
CyclomaticComplexity | The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has a cyclomatic complexity of 14. | 3 | 431–537 |
NPathComplexity | The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has an NPath complexity of 544 | 3 | 431–537 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 440–441 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 442–443 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 445–446 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 52–97 |
CommentRequired | Header comments are required | 3 | 52–97 |
UnusedPrivateField | Avoid unused private fields such as '_identityDtoCache'. | 3 | 54 |
FieldNamingConventions | The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 54 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 56 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 56 |
CommentRequired | Public method and constructor comments are required | 3 | 58–65 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 60–63 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–352 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 4 | 50 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.util.sql.TransactionManager' | 4 | 55 |
UnusedImports | Avoid unused imports such as 'org.apache.commons.collections4.CollectionUtils' | 4 | 56 |
CommentRequired | Header comments are required | 3 | 68–352 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 68–352 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 78 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 78 |
FieldNamingConventions | The final field name '_duplicateServiceDatabase' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 80 |
FieldNamingConventions | The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 81 |
CommentRequired | Public method and constructor comments are required | 3 | 83–90 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 85–88 |
AvoidLiteralsInIfCondition | Avoid using Literals in Conditional Statements | 3 | 204 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 260 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 263 |
AvoidInstanceofChecksInCatchClause | An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 3 | 315 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 318 |
Rule | Violation | Priority | Line |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 46–90 |
CommentRequired | Header comments are required | 3 | 46–90 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 50 |
CommentRequired | Public method and constructor comments are required | 3 | 52–59 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 54–57 |
CommentRequired | Public method and constructor comments are required | 3 | 65–88 |
CyclomaticComplexity | The method 'validateExportRequest(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. | 3 | 65–88 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 55–171 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 55–171 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 57 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 57 |
CommentRequired | Public method and constructor comments are required | 3 | 59–66 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 61–64 |
CyclomaticComplexity | The method 'checkRequiredAttributes(IdentitySearchRequest)' has a cyclomatic complexity of 14. | 3 | 79–141 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 104–107 |
ShortVariable | Avoid variables with short names like sb | 3 | 113 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 123 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 126 |
AppendCharacterWithChar | Avoid appending characters as strings in StringBuffer.append. | 3 | 129 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 156–166 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' | 4 | 42 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 49–219 |
CommentRequired | Header comments are required | 3 | 49–219 |
AvoidFieldNameMatchingMethodName | Field instance has the same name as a method | 3 | 52 |
FieldNamingConventions | The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
CommentRequired | Public method and constructor comments are required | 3 | 54–61 |
NonThreadSafeSingleton | Singleton is not thread safe | 3 | 56–59 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 3 | 81 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 210–214 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–213 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 5 times in this file; the first occurrence is on line 86 | 3 | 86 |
AvoidDuplicateLiterals | The String literal "Failure" appears 5 times in this file; the first occurrence is on line 87 | 3 | 87 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 89–93 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 115–120 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 142–147 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 172–176 |
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–506 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException' | 4 | 72 |
ClassNamingConventions | The utility class name 'DtoConverter' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 90–506 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 91–506 |
CommentRequired | Public method and constructor comments are required | 3 | 150–176 |
NcssCount | The method 'convertContractToDto(ServiceContract)' has a NCSS line count of 64. | 3 | 231–318 |
CommentRequired | Public method and constructor comments are required | 3 | 419–427 |
CommentRequired | Public method and constructor comments are required | 3 | 429–437 |
CommentRequired | Public method and constructor comments are required | 3 | 439–451 |
CommentRequired | Public method and constructor comments are required | 3 | 453–474 |
CommentRequired | Public method and constructor comments are required | 3 | 476–479 |
CommentRequired | Public method and constructor comments are required | 3 | 481–497 |
CommentRequired | Public method and constructor comments are required | 3 | 499–505 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 67–131 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 87–92 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 118–123 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–47 |
CommentRequired | Public method and constructor comments are required | 3 | 43–46 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–493 |
TooManyMethods | This class has too many methods, consider refactoring it. | 3 | 92–493 |
UnnecessaryConstructor | Avoid unnecessary constructors - the compiler will generate these for you | 3 | 96–98 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 96–98 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 13 times in this file; the first occurrence is on line 114 | 3 | 114 |
AvoidDuplicateLiterals | The String literal "Forbidden" appears 12 times in this file; the first occurrence is on line 115 | 3 | 115 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 117–122 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 145–150 |
AvoidDuplicateLiterals | The String literal "Request body" appears 11 times in this file; the first occurrence is on line 146 | 3 | 146 |
AvoidDuplicateLiterals | The String literal "Success" appears 9 times in this file; the first occurrence is on line 178 | 3 | 178 |
AvoidDuplicateLiterals | The String literal "Conflict" appears 7 times in this file; the first occurrence is on line 180 | 3 | 180 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 182–186 |
AvoidDuplicateLiterals | The String literal "An Identity Change Request" appears 5 times in this file; the first occurrence is on line 182 | 3 | 182 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 213–217 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 243–248 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 275–280 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 305–309 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 333–337 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 361–366 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 398–403 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 428–433 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 457–463 |
CommentRequired | Public method and constructor comments are required | 3 | 480–491 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 480–485 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The field name 'fullIndexTask' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 55 |
Rule | Violation | Priority | Line |
---|---|---|---|
FieldNamingConventions | The final field name 'PROPERTY_CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 70 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the objectMapper field if you want a default access modifier | 3 | 72 |
FieldNamingConventions | The constant name 'objectMapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 72 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 72 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 183 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 187–189 |
DataClass | The class 'Action' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 3 | 193–240 |
CommentRequired | Header comments are required | 3 | 193–240 |
FieldNamingConventions | The field name 'changeType' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 195 |
FieldNamingConventions | The field name 'changeStatus' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 196 |
FieldNamingConventions | The field name 'authorType' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 197 |
FieldNamingConventions | The field name 'clientCode' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 198 |
FieldNamingConventions | The field name 'countActions' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 199 |
Rule | Violation | Priority | Line |
---|---|---|---|
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 82–86 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 106–110 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 130–134 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–293 |
AvoidDuplicateLiterals | The String literal "Service contract Found" appears 4 times in this file; the first occurrence is on line 92 | 3 | 92 |
AvoidDuplicateLiterals | The String literal "Failure" appears 7 times in this file; the first occurrence is on line 93 | 3 | 93 |
AvoidDuplicateLiterals | The String literal " with explanation message" appears 7 times in this file; the first occurrence is on line 93 | 3 | 93 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 96–100 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 124–129 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 153–158 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 184–189 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 214–218 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 246–251 |
UseObjectForClearerAPI | Rather than using a lot of String arguments, consider using a container object for those values. | 3 | 280–285 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 57 |
ShortVariable | Avoid variables with short names like e | 3 | 67 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 57 |
ShortVariable | Avoid variables with short names like e | 3 | 67 |
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 | 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 | 57 |
ShortVariable | Avoid variables with short names like e | 3 | 67 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 57 |
ShortVariable | Avoid variables with short names like e | 3 | 67 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 15–44 |
ShortVariable | Avoid variables with short names like e | 3 | 20 |
ShortVariable | Avoid variables with short names like e | 3 | 29 |
Rule | Violation | Priority | Line |
---|---|---|---|
ShortVariable | Avoid variables with short names like e | 3 | 57 |
ShortVariable | Avoid variables with short names like e | 3 | 67 |
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 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 115 |
DefaultPackage | Use explicit scoping instead of the default package private level | 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–375 |
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 | 198 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 315 |
ShortVariable | Avoid variables with short names like id | 3 | 363 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–471 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 73–471 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 144 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 167 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 249 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 257 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 367 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 375 |
CommentRequired | Public method and constructor comments are required | 3 | 381–407 |
ShortVariable | Avoid variables with short names like i | 3 | 389 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 402 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 461 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 32–195 |
CommentRequired | Header comments are required | 3 | 32–195 |
UnusedPrivateField | Avoid unused private fields such as 'PROPERTY_FEATURE_HISTORY_SEARCH'. | 3 | 40 |
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 55 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the _historyList field if you want a default access modifier | 3 | 56 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 56 |
ImmutableField | Private field '_listQuery' could be made final; it is only initialized in the declaration or constructor. | 3 | 57 |
CyclomaticComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has a cyclomatic complexity of 20. | 3 | 60–139 |
NPathComplexity | The method 'getIdentitiesHistory(HttpServletRequest)' has an NPath complexity of 7680 | 3 | 60–139 |
CommentRequired | Public method and constructor comments are required | 3 | 60–139 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 65–66 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 65–66 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 67–68 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 67–68 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 68 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 69–70 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 69–70 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 71–72 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 71–72 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 71 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 73–74 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 73–74 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 73 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 75 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 75–76 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 75–76 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 77–78 |
SimpleDateFormatNeedsLocale | When instantiating a SimpleDateFormat object, specify a Locale | 3 | 86 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 94 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 95 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 114 |
ShortVariable | Avoid variables with short names like i | 3 | 159 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 172 |
UnusedPrivateMethod | Avoid unused private methods such as 'getHisotryQueryParameters(HttpServletRequest)'. | 3 | 179 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 181 |
Rule | Violation | Priority | Line |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–531 |
UnusedImports | Avoid unused imports such as 'java.sql.Date' | 4 | 75 |
UnusedImports | Avoid unused imports such as 'java.time.LocalDate' | 4 | 78 |
FieldNamingConventions | The final field name '_identities' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 152 |
FieldNamingConventions | The final field name '_searchIdentityServiceDB' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 154 |
FieldNamingConventions | The final field name '_searchIdentityServiceES' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 155 |
NcssCount | The method 'getManageIdentitys(HttpServletRequest)' has a NCSS line count of 88. | 3 | 158–314 |
CyclomaticComplexity | The method 'getManageIdentitys(HttpServletRequest)' has a cyclomatic complexity of 23. | 3 | 158–314 |
ExcessiveMethodLength | Avoid really long methods. | 3 | 158–314 |
CommentRequired | Public method and constructor comments are required | 3 | 158–314 |
NPathComplexity | The method 'getManageIdentitys(HttpServletRequest)' has an NPath complexity of 4105 | 3 | 158–314 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 160 |
LocalVariableNamingConventions | The final local variable name 'insee_city' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 167 |
LocalVariableNamingConventions | The final local variable name 'insee_country' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 168 |
LocalVariableNamingConventions | The final local variable name 'common_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 171 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 172 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 278 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 358 |
ShortVariable | Avoid variables with short names like i | 3 | 412 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 425 |
ShortVariable | Avoid variables with short names like i | 3 | 476 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 503 |
LocalVariableNamingConventions | The final local variable name '_sortedAttributeKeyList' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 514 |
ShortVariable | Avoid variables with short names like i1 | 3 | 519 |
ShortVariable | Avoid variables with short names like i2 | 3 | 520 |
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 | 52–111 |
FieldNamingConventions | The final field name '_fullIndexTask' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 69 |
CommentRequired | Public method and constructor comments are required | 3 | 73–87 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 106 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IndicatorsActionsType' | 4 | 4 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType' | 4 | 8 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.util.mvc.commons.annotations.Action' | 4 | 12 |
UnusedImports | Avoid unused imports such as 'java.util.List' | 4 | 17 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 21–69 |
CommentRequired | Header comments are required | 3 | 21–69 |
FieldNamingConventions | The final field name 'PROPERTY_CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 30 |
CommentRequired | Public method and constructor comments are required | 3 | 47–68 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 60 |
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 | 138 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 143 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 143 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 145 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 145 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 147 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 147 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 172 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 175 |
Rule | Violation | Priority | Line |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 50–323 |
FieldNamingConventions | The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 90 |
AddEmptyString | Do not add empty strings | 3 | 122 |
CommentRequired | Protected method constructor comments are required | 3 | 129–228 |
NcssCount | The method 'getQueryParameters(HttpServletRequest)' has a NCSS line count of 60. | 3 | 129–228 |
NPathComplexity | The method 'getQueryParameters(HttpServletRequest)' has an NPath complexity of 524288 | 3 | 129–228 |
CyclomaticComplexity | The method 'getQueryParameters(HttpServletRequest)' has a cyclomatic complexity of 20. | 3 | 129–228 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 131 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 152 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 157 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 167 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 172 |
LocalVariableNamingConventions | The final local variable name 'insee_city' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 187 |
LocalVariableNamingConventions | The final local variable name 'insee_country' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 192 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 212 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 217 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 222 |
CyclomaticComplexity | The method 'clearParameters(HttpServletRequest)' has a cyclomatic complexity of 19. | 3 | 230–322 |
NPathComplexity | The method 'clearParameters(HttpServletRequest)' has an NPath complexity of 262144 | 3 | 230–322 |
CommentRequired | Protected method constructor comments are required | 3 | 230–322 |
LocalVariableNamingConventions | The final local variable name 'family_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 252 |
LocalVariableNamingConventions | The final local variable name 'first_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 257 |
LocalVariableNamingConventions | The final local variable name 'insee_birthplace_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 267 |
LocalVariableNamingConventions | The final local variable name 'insee_birthcountry_label' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 272 |
LocalVariableNamingConventions | The final local variable name 'insee_city' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 287 |
LocalVariableNamingConventions | The final local variable name 'insee_country' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 292 |
LocalVariableNamingConventions | The final local variable name 'author_type' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 307 |
LocalVariableNamingConventions | The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 312 |
LocalVariableNamingConventions | The final local variable name 'client_code' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 317 |
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 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 335 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 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 |
CommentRequired | Public method and constructor comments are required | 3 | 67–71 |
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 | 78–82 |
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 | 89–93 |
LinguisticNaming | Linguistics Antipattern - The setter 'setRefCertificationLevel' should not return any type except void linguistically | 3 | 89–93 |
LinguisticNaming | Linguistics Antipattern - The setter 'setAttributeRight' should not return any type except void linguistically | 3 | 110–114 |
CommentRequired | Public method and constructor comments are required | 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–820 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 87–820 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 176 |
UnnecessaryAnnotationValueElement | Avoid the use of value in annotations when its the only element | 3 | 203 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 207–212 |
NullAssignment | Assigning an Object to null is a code smell. Consider refactoring. | 3 | 213 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 220–228 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 246–254 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier | 3 | 247–254 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 317 |
EqualsNull | Avoid using equals() to compare against null | 1 | 330 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 370 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 440–447 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 487 |
EqualsNull | Avoid using equals() to compare against null | 1 | 500 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 512 |
CommentRequired | Public method and constructor comments are required | 3 | 556–588 |
ShortVariable | Avoid variables with short names like i | 3 | 570 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 583 |
CyclomaticComplexity | The method 'getAttributesRightsFromRequest(HttpServletRequest)' has a cyclomatic complexity of 12. | 3 | 597–666 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 599 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 599 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 618–628 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 635–645 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 652–662 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 690 |
ShortVariable | Avoid variables with short names like p1 | 3 | 740 |
ShortVariable | Avoid variables with short names like p2 | 3 | 741 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 759 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 774–784 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 786–792 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 794–800 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 802–808 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 810–816 |