Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/identitystore/business/application/ClientApplication.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/application/ClientApplicationHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificateHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKey.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKeyHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeValue.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/KeyType.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertification.java

Rule Violation Ligne
FieldNamingConventions The field name 'refAttributeCertificationProcessus' doesn't match '_[a-z][a-zA-Z0-9]*' 54

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertificationHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRequirementHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRight.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_bMandatory' doesn't match '[a-z][a-zA-Z0-9]*' 127

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContract.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContractHome.java

Rule Violation Ligne
FieldNamingConventions The constant name '_serviceContractDAO' doesn't match '[A-Z][A-Z_0-9]*' 63
FieldNamingConventions The constant name '_refCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' 64
FieldNamingConventions The constant name '_refAttributeCertificationProcessusDAO' doesn't match '[A-Z][A-Z_0-9]*' 65
FieldNamingConventions The constant name '_refAttributeCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' 67
FieldNamingConventions The constant name '_attributeRequirementDAO' doesn't match '[A-Z][A-Z_0-9]*' 69
FieldNamingConventions The constant name '_attributeCertificationDAO' doesn't match '[A-Z][A-Z_0-9]*' 70
FieldNamingConventions The constant name '_attributeRightDAO' doesn't match '[A-Z][A-Z_0-9]*' 71
FieldNamingConventions The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' 72

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/ExcludedIdentities.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentity.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityDAO.java

Rule Violation Ligne
FieldNamingConventions The constant name 'SQL_QUERY_SELECT_BY_CUSTOMER_IDs' doesn't match '[A-Z][A-Z_0-9]*' 89

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityLock.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/identity/Identity.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/identity/IdentityAttributeHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/identity/IdentityConstants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'IdentityConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 4171

fr/paris/lutece/plugins/identitystore/business/identity/IdentityHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/identity/IndicatorsActionsType.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefAttributeCertificationLevelDAO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 130

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefAttributeCertificationProcessusDAO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 126

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefCertificationLevelDAO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 126

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevel.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevelHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessus.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessusHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefCertificationLevelHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRule.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleAttributeTreatment.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRule.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRuleHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/PurgeIdentityService.java

Rule Violation Ligne
FieldNamingConventions The final field name '_notificationStoreService' doesn't match '[a-z][a-zA-Z0-9]*' 70

fr/paris/lutece/plugins/identitystore/service/application/ClientApplicationService.java

Rule Violation Ligne
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 53

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeGeocodesAdjustmentService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 58451
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 63

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/contract/AttributeCertificationDefinitionService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 44100
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/plugins/identitystore/service/contract/ServiceContractService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 79797
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 82

fr/paris/lutece/plugins/identitystore/service/daemon/LoggingDaemon.java

Rule Violation Ligne
FieldNamingConventions The field name 'logs' doesn't match '_[a-z][a-zA-Z0-9]*' 42

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateRuleService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 49181
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 52

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/history/IdentityHistoryService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/identity/IdentityExportService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 56119
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

fr/paris/lutece/plugins/identitystore/service/identity/IdentityQualityService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 74301
FieldNamingConventions The constant name '_qualityBaseCache' doesn't match '[A-Z][A-Z_0-9]*' 76

fr/paris/lutece/plugins/identitystore/service/identity/IdentityService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/Constants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3656

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticClient.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticConnexion.java

Rule Violation Ligne
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]*' 113123
MethodNamingConventions The instance method name 'HEAD' doesn't match '[a-z][a-zA-Z0-9]*' 132142
MethodNamingConventions The instance method name 'PUT' doesn't match '[a-z][a-zA-Z0-9]*' 153169
MethodNamingConventions The instance method name 'POST' doesn't match '[a-z][a-zA-Z0-9]*' 180196
MethodNamingConventions The instance method name 'SEARCH' doesn't match '[a-z][a-zA-Z0-9]*' 207224
MethodNamingConventions The instance method name 'MSEARCH' doesn't match '[a-z][a-zA-Z0-9]*' 235261
MethodNamingConventions The instance method name 'DELETE' doesn't match '[a-z][a-zA-Z0-9]*' 270285

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexAction.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_enumActionType' doesn't match '[a-z][a-zA-Z0-9]*' 51
FormalParameterNamingConventions The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 51
FormalParameterNamingConventions The method parameter name '_enumActionType' doesn't match '[a-z][a-zA-Z0-9]*' 72
FormalParameterNamingConventions The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 82
FormalParameterNamingConventions The method parameter name '_dateIndex' doesn't match '[a-z][a-zA-Z0-9]*' 92

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionHome.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 4373
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/listener/IdentityIndexListener.java

Rule Violation Ligne
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 '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' 68
FormalParameterNamingConventions The final method parameter name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' 68

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/AttributeObject.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/IdentityObject.java

Rule Violation Ligne
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 'deleteDate' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The field name 'monParisActive' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The field name 'attributes' doesn't match '_[a-z][a-zA-Z0-9]*' 52

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/BulkAction.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/alias/AliasAction.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/alias/AliasActions.java

Rule Violation Ligne
FieldNamingConventions The field name 'actions' doesn't match '_[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityIndexer.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityObjectHome.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/AbstractIndexTask.java

Rule Violation Ligne
FieldNamingConventions The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/FullIndexTask.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/IndexStatus.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/MissingIndexTask.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractContainer.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3638

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractMatch.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractSpan.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Bool.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/BoolContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'bool' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Exists.java

Rule Violation Ligne
FieldNamingConventions The field name 'field' doesn't match '_[a-z][a-zA-Z0-9]*' 38

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/ExistsContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'exists' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/InnerSearchRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Match.java

Rule Violation Ligne
FieldNamingConventions The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' 38

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' 44

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchPhraseContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'matchPhrase' doesn't match '_[a-z][a-zA-Z0-9]*' 44

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiMatch.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiMatchContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'multiMatch' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiSearchAction.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Query.java

Rule Violation Ligne
FieldNamingConventions The field name 'bool' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMulti.java

Rule Violation Ligne
FieldNamingConventions The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' 43

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'spanMulti' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiFuzzyMatch.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiFuzzyMatchContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'fuzzy' doesn't match '_[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanNear.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanNearContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'spanNear' doesn't match '_[a-z][a-zA-Z0-9]*' 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanTerm.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanTermContainer.java

Rule Violation Ligne
FieldNamingConventions The field name 'spanTerm' doesn't match '_[a-z][a-zA-Z0-9]*' 44

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Hit.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Response.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Responses.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Result.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Shard.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Total.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/service/IdentitySearcher.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/search/ElasticSearchIdentityService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 59186
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

fr/paris/lutece/plugins/identitystore/service/listeners/IdentityStoreNotifyListenerService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/network/DelayedNetworkService.java

Rule Violation Ligne
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 '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
FieldNamingConventions The enum constant name 'debug' doesn't match '[A-Z][A-Z_0-9]*' 157

fr/paris/lutece/plugins/identitystore/service/search/DatabaseSearchIdentityService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 50184

fr/paris/lutece/plugins/identitystore/service/user/InternalUserService.java

Rule Violation Ligne
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 42

fr/paris/lutece/plugins/identitystore/utils/Combinations.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Combinations' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 4068

fr/paris/lutece/plugins/identitystore/utils/Maps.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Maps' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 4462

fr/paris/lutece/plugins/identitystore/v3/web/request/AbstractIdentityStoreAppCodeRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_strAppCode' doesn't match '[a-z][a-zA-Z0-9]*' 59

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientCreateRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' 59

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientGetRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientUpdateRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' 59

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientsGetRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_strTargetApplicationCode' doesn't match '[a-z][a-zA-Z0-9]*' 64

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ActiveServiceContractGetRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractCreateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractGetRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_nServiceContractId' doesn't match '[a-z][a-zA-Z0-9]*' 58

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractListGetRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' 62

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractListSearchRequest.java

Rule Violation Ligne
FieldNamingConventions The field name 'loadDetails' doesn't match '_[a-z][a-zA-Z0-9]*' 27
FieldNamingConventions The field name 'minEndDate' doesn't match '_[a-z][a-zA-Z0-9]*' 28

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractPutEndDateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractUpdateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistoryGetRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistorySearchRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCancelMergeRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCreateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreDeleteRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreExportRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreGetRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreGetUpdatedIdentitiesRequest.java

Rule Violation Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 62

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreImportRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreMergeRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreSearchRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUncertifyRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUpdateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/ClientValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 4174
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 43

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/DuplicateRuleValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 726
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 8

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityAttributeValidator.java

Rule Violation Ligne
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 86

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityChangeRequestValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 5297
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

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityDuplicateValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 70413
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 80
FieldNamingConventions The final field name '_duplicateServiceDatabase' doesn't match '[a-z][a-zA-Z0-9]*' 82
FieldNamingConventions The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' 83

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityExportValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 4690
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 50

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentitySearchRequestValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 55171
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 57

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 49219
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 52

fr/paris/lutece/plugins/identitystore/v3/web/rs/DtoConverter.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'DtoConverter' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 90506

fr/paris/lutece/plugins/identitystore/v3/web/rs/IndexingRestService.java

Rule Violation Ligne
FieldNamingConventions The field name 'fullIndexTask' doesn't match '_[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/identitystore/v3/web/rs/IndicatorsRestService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/rs/swagger/SwaggerConstants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'SwaggerConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3996

fr/paris/lutece/plugins/identitystore/web/AdminIdentitiesJspBean.java

Rule Violation Ligne
FieldNamingConventions The final field name '_nDefaultItemsPerPage' doesn't match '[a-z][a-zA-Z0-9]*' 65

fr/paris/lutece/plugins/identitystore/web/IdentitiesHistoryJspBean.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/web/IdentityJspBean.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/web/IdentitySearchRuleJspBean.java

Rule Violation Ligne
FieldNamingConventions The final field name '_listIdentitySearchRules' doesn't match '[a-z][a-zA-Z0-9]*' 115

fr/paris/lutece/plugins/identitystore/web/IndexIdentityJspBean.java

Rule Violation Ligne
FieldNamingConventions The final field name '_fullIndexTask' doesn't match '[a-z][a-zA-Z0-9]*' 69

fr/paris/lutece/plugins/identitystore/web/IndicatorsJspBean.java

Rule Violation Ligne
FieldNamingConventions The final field name 'PROPERTY_CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' 30

fr/paris/lutece/plugins/identitystore/web/ManageIdentitiesJspBean.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/web/ServiceContractAttributeDefinitionDto.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/web/ServiceContractJspBean.java

Rule Violation Ligne
EqualsNull Avoid using equals() to compare against null 330
EqualsNull Avoid using equals() to compare against null 500

Priority 2

fr/paris/lutece/plugins/identitystore/cache/ActiveServiceContractCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 85

fr/paris/lutece/plugins/identitystore/cache/AttributeKeyCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 69
GuardLogStatement Logger calls should be surrounded by log level guards. 79

fr/paris/lutece/plugins/identitystore/cache/ClientApplicationCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 80

fr/paris/lutece/plugins/identitystore/cache/DuplicateRulesCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 68
GuardLogStatement Logger calls should be surrounded by log level guards. 78

fr/paris/lutece/plugins/identitystore/cache/IdentityAttributeValidationCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 69
GuardLogStatement Logger calls should be surrounded by log level guards. 79

fr/paris/lutece/plugins/identitystore/cache/IdentityDtoCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 88
GuardLogStatement Logger calls should be surrounded by log level guards. 97

fr/paris/lutece/plugins/identitystore/cache/IdentityHistoryStatusCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 31
GuardLogStatement Logger calls should be surrounded by log level guards. 41

fr/paris/lutece/plugins/identitystore/cache/QualityBaseCache.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 64

fr/paris/lutece/plugins/identitystore/cache/RefAttributeCertificationDefinitionCache.java

Rule Violation Ligne
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. 113114

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IdentityObjectDAO.java

Rule Violation Ligne
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 117

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/listener/IdentityIndexListener.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 86
GuardLogStatement Logger calls should be surrounded by log level guards. 92
GuardLogStatement Logger calls should be surrounded by log level guards. 97

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityIndexer.java

Rule Violation Ligne
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

Priority 3

fr/paris/lutece/plugins/identitystore/business/application/ClientApplication.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 138141
CommentRequired Public method and constructor comments are required 143146
CommentRequired Public method and constructor comments are required 158161
CommentRequired Public method and constructor comments are required 163166

fr/paris/lutece/plugins/identitystore/business/application/ClientApplicationDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 48371
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6981
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

fr/paris/lutece/plugins/identitystore/business/application/ClientApplicationHome.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 183186

fr/paris/lutece/plugins/identitystore/business/application/IClientApplicationDAO.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 68
CommentRequired Public method and constructor comments are required 143

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificate.java

Rule Violation Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 96103
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 102
ConfusingTernary Avoid if (x != y) ..; else ..; 128135
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 134

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificateDAO.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificateHome.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 127

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKey.java

Rule Violation Ligne
TooManyFields Too many fields 48385
CommentRequired Public method and constructor comments are required 145148
CommentRequired Public method and constructor comments are required 150153
CommentRequired Public method and constructor comments are required 360363
CommentRequired Public method and constructor comments are required 365368

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKeyDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 48453
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 7287
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKeyHome.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 150153

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeValue.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 5154
CommentRequired Public method and constructor comments are required 5659
CommentRequired Public method and constructor comments are required 6164
CommentRequired Public method and constructor comments are required 6669
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679

fr/paris/lutece/plugins/identitystore/business/attribute/IAttributeKeyDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 45164
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

fr/paris/lutece/plugins/identitystore/business/attribute/KeyType.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 60
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 60

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertification.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 97101

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertificationDAO.java

Rule Violation Ligne
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 236239
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRequirementDAO.java

Rule Violation Ligne
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 228231
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRight.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 122125
CommentRequired Public method and constructor comments are required 127130

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRightDAO.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/IAttributeCertificationDAO.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 57
CommentRequired Public method and constructor comments are required 131

fr/paris/lutece/plugins/identitystore/business/contract/IAttributeRequirementDAO.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/IServiceContractDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 48156
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 149
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 155

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContract.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 34525
TooManyFields Too many fields 51525
CommentRequired Public method and constructor comments are required 122126
CommentRequired Public method and constructor comments are required 149152
CommentRequired Public method and constructor comments are required 154157
CommentRequired Public method and constructor comments are required 201204
CommentRequired Public method and constructor comments are required 206209
CommentRequired Public method and constructor comments are required 274277
CommentRequired Public method and constructor comments are required 279282
CommentRequired Public method and constructor comments are required 284287
CommentRequired Public method and constructor comments are required 289292
CommentRequired Public method and constructor comments are required 294297
CommentRequired Public method and constructor comments are required 299302
CommentRequired Public method and constructor comments are required 304307
CommentRequired Public method and constructor comments are required 309312
CommentRequired Public method and constructor comments are required 314317
CommentRequired Public method and constructor comments are required 319322
CommentRequired Public method and constructor comments are required 429432
CommentRequired Public method and constructor comments are required 434437
CommentRequired Public method and constructor comments are required 439442
CommentRequired Public method and constructor comments are required 444447
CommentRequired Public method and constructor comments are required 449452
CommentRequired Public method and constructor comments are required 454457
CommentRequired Public method and constructor comments are required 459462
CommentRequired Public method and constructor comments are required 464467
CommentRequired Public method and constructor comments are required 469472
CommentRequired Public method and constructor comments are required 474477
CommentRequired Public method and constructor comments are required 479482
CommentRequired Public method and constructor comments are required 484487
CommentRequired Public method and constructor comments are required 489492
CommentRequired Public method and constructor comments are required 494497
CommentRequired Public method and constructor comments are required 499502
CommentRequired Public method and constructor comments are required 504507

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContractDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 53509
AvoidDuplicateLiterals The String literal "SELECT" appears 7 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 88
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 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 188
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 204
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 231234
MissingBreakInSwitch A switch statement does not contain a break 235273
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 246251
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 254
AvoidDuplicateLiterals The String literal "%' " appears 4 times in this file; the first occurrence is on line 254 254
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 258
ShortVariable Avoid variables with short names like i 271
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 278
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 305
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 318
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 371
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 396399
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 404
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 428
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 449
MissingOverride The method 'selectAllServiceContractsList(Plugin)' is missing an @Override annotation. 463476
CommentRequired Public method and constructor comments are required 463476
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 466

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContractHome.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 61339
CommentRequired Public method and constructor comments are required 243250
CommentRequired Public method and constructor comments are required 252259
CommentRequired Public method and constructor comments are required 261290
CommentRequired Public method and constructor comments are required 292295
CommentRequired Public method and constructor comments are required 297300
CommentRequired Public method and constructor comments are required 302305
CommentRequired Public method and constructor comments are required 307310
CommentRequired Public method and constructor comments are required 312315
CommentRequired Public method and constructor comments are required 317321
CommentRequired Public method and constructor comments are required 323327
CommentRequired Public method and constructor comments are required 329333
CommentRequired Public method and constructor comments are required 335338

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/ExcludedIdentities.java

Rule Violation Ligne
CommentRequired Header comments are required 3895
CommentRequired Public method and constructor comments are required 4649
CommentRequired Public method and constructor comments are required 5154
CommentRequired Public method and constructor comments are required 5659
CommentRequired Public method and constructor comments are required 6164
CommentRequired Public method and constructor comments are required 6669
CommentRequired Public method and constructor comments are required 7174
CommentRequired Public method and constructor comments are required 7679
CommentRequired Public method and constructor comments are required 8184
CommentRequired Public method and constructor comments are required 8689
CommentRequired Public method and constructor comments are required 9194

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/ISuspiciousIdentityDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 48259
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 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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentity.java

Rule Violation Ligne
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 148151
CommentRequired Public method and constructor comments are required 153156
CommentRequired Public method and constructor comments are required 158161
CommentRequired Public method and constructor comments are required 163166
CommentRequired Public method and constructor comments are required 168171

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 62794
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 ..; 155164
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 176
ConfusingTernary Avoid if (x != y) ..; else ..; 195204
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 220
ConfusingTernary Avoid if (x != y) ..; else ..; 239248
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 323407
CyclomaticComplexity The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has a cyclomatic complexity of 14. 323407
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 ..; 388397
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 515518
ConfusingTernary Avoid if (x != y) ..; else ..; 545554
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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityHome.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 55384
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 234237
CommentRequired Public method and constructor comments are required 239242
CommentRequired Public method and constructor comments are required 288291
CommentRequired Public method and constructor comments are required 293296
CommentRequired Public method and constructor comments are required 298308
CommentRequired Public method and constructor comments are required 310313
CommentRequired Public method and constructor comments are required 315318
CommentRequired Public method and constructor comments are required 320323
CyclomaticComplexity The method 'manageLock(String, String, String, boolean)' has a cyclomatic complexity of 19. 325367
CommentRequired Public method and constructor comments are required 325367
NPathComplexity The method 'manageLock(String, String, String, boolean)' has an NPath complexity of 768 325367
CommentRequired Public method and constructor comments are required 369372
CommentRequired Public method and constructor comments are required 374377
CommentRequired Public method and constructor comments are required 379382

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityLock.java

Rule Violation Ligne
CommentRequired Header comments are required 3884
CommentRequired Public method and constructor comments are required 4548
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 7073
CommentRequired Public method and constructor comments are required 7578
CommentRequired Public method and constructor comments are required 8083

fr/paris/lutece/plugins/identitystore/business/identity/IIdentityDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 54385
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. 277278
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 277278
CommentRequired Public method and constructor comments are required 375
CommentRequired Public method and constructor comments are required 377
CommentRequired Public method and constructor comments are required 384

fr/paris/lutece/plugins/identitystore/business/identity/Identity.java

Rule Violation Ligne
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 216219
CommentRequired Public method and constructor comments are required 221224
CommentRequired Public method and constructor comments are required 226229
CommentRequired Public method and constructor comments are required 231234
CommentRequired Public method and constructor comments are required 236239
CommentRequired Public method and constructor comments are required 241244
CommentRequired Public method and constructor comments are required 246249
CommentRequired Public method and constructor comments are required 251254
CommentRequired Public method and constructor comments are required 256259
CommentRequired Public method and constructor comments are required 261264
CommentRequired Public method and constructor comments are required 266269
CommentRequired Public method and constructor comments are required 271274
CommentRequired Public method and constructor comments are required 276279
CommentRequired Public method and constructor comments are required 281284
CommentRequired Public method and constructor comments are required 286289
CommentRequired Public method and constructor comments are required 291294

fr/paris/lutece/plugins/identitystore/business/identity/IdentityAttribute.java

Rule Violation Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 202209
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 208

fr/paris/lutece/plugins/identitystore/business/identity/IdentityAttributeDAO.java

Rule Violation Ligne
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 228254
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 300335
CommentRequired Public method and constructor comments are required 337367
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 357

fr/paris/lutece/plugins/identitystore/business/identity/IdentityDAO.java

Rule Violation Ligne
ExcessiveClassLength Avoid really long classes. 701211
TooManyMethods This class has too many methods, consider refactoring it. 711211
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 182
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 254
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 281
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 288
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 311
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 360
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 379
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 398
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 417
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 436
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 507
CyclomaticComplexity The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has a cyclomatic complexity of 16. 526587
NPathComplexity The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has an NPath complexity of 1026 526587
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 529
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 529
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 575
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 591
AvoidDuplicateLiterals The String literal "1=1" appears 10 times in this file; the first occurrence is on line 608 608
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 611
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 625
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 648
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 676
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 708
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 735
NPathComplexity The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has an NPath complexity of 666 749804
CyclomaticComplexity The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has a cyclomatic complexity of 13. 749804
AvoidDuplicateLiterals The String literal " AND " appears 8 times in this file; the first occurrence is on line 755 755
MissingOverride The method 'selectUpdatedFromIds(List, Plugin)' is missing an @Override annotation. 809829
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 815
NPathComplexity The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has an NPath complexity of 20736 835909
CyclomaticComplexity The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has a cyclomatic complexity of 21. 835909
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 835837
ExcessiveParameterList Avoid long parameter lists. 835837
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 845
ConfusingTernary Avoid if (x != y) ..; else ..; 846
ConfusingTernary Avoid if (x != y) ..; else ..; 849
ConfusingTernary Avoid if (x != y) ..; else ..; 852860
ConfusingTernary Avoid if (x != y) ..; else ..; 862889
ConfusingTernary Avoid if (x != y) ..; else ..; 868888
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 891
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 922
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 925
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 927
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 947
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 968
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 999
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1017
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1034
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1052
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1070
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1088
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 1091
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1106
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1123
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1140
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1160
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 1178
CommentRequired Public method and constructor comments are required 11901202

fr/paris/lutece/plugins/identitystore/business/identity/IdentityHome.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 59532
CommentRequired Public method and constructor comments are required 115118
CommentRequired Public method and constructor comments are required 132135
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 204206
ExcessiveParameterList Avoid long parameter lists. 204206
ConfusingTernary Avoid if (x != y) ..; else ..; 273
CommentRequired Public method and constructor comments are required 513516
CommentRequired Public method and constructor comments are required 518521
CommentRequired Public method and constructor comments are required 523526
CommentRequired Public method and constructor comments are required 528531

fr/paris/lutece/plugins/identitystore/business/identity/IndicatorsActionsType.java

Rule Violation Ligne
DataClass The class 'IndicatorsActionsType' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 360
CommentRequired Header comments are required 360

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefAttributeCertificationLevelDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 47140
CommentRequired Public method and constructor comments are required 58
CommentRequired Public method and constructor comments are required 132133
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevel.java

Rule Violation Ligne
DataClass The class 'RefAttributeCertificationLevel' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) 43104
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevelDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 52424
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 248251
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevelHome.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 153156
CommentRequired Public method and constructor comments are required 158161

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessus.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 8386
CommentRequired Public method and constructor comments are required 8891
CommentRequired Public method and constructor comments are required 9396
CommentRequired Public method and constructor comments are required 98101
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 114

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessusDAO.java

Rule Violation Ligne
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 215218
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessusHome.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 167170
CommentRequired Public method and constructor comments are required 172175
CommentRequired Public method and constructor comments are required 177183
CommentRequired Public method and constructor comments are required 185188

fr/paris/lutece/plugins/identitystore/business/referentiel/RefCertificationLevelDAO.java

Rule Violation Ligne
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 220223
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 228

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRule.java

Rule Violation Ligne
TooManyFields Too many fields 92308
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 92308
CommentRequired Public method and constructor comments are required 115133
ShortVariable Avoid variables with short names like i 117
CommentRequired Public method and constructor comments are required 140143
CommentRequired Public method and constructor comments are required 145148
CommentRequired Public method and constructor comments are required 150153
CommentRequired Public method and constructor comments are required 155158
CommentRequired Public method and constructor comments are required 160163
CommentRequired Public method and constructor comments are required 165168
CommentRequired Public method and constructor comments are required 170173
CommentRequired Public method and constructor comments are required 175178
CommentRequired Public method and constructor comments are required 180183
CommentRequired Public method and constructor comments are required 185188
CommentRequired Public method and constructor comments are required 190193
CommentRequired Public method and constructor comments are required 195198
CommentRequired Public method and constructor comments are required 200203
CommentRequired Public method and constructor comments are required 205208
CommentRequired Public method and constructor comments are required 210213
CommentRequired Public method and constructor comments are required 215218
CommentRequired Public method and constructor comments are required 220223
CommentRequired Public method and constructor comments are required 225228
CommentRequired Public method and constructor comments are required 230233
CommentRequired Public method and constructor comments are required 235238
CommentRequired Public method and constructor comments are required 240243
CommentRequired Public method and constructor comments are required 245248
CommentRequired Public method and constructor comments are required 250253
CommentRequired Public method and constructor comments are required 255258
CommentRequired Public method and constructor comments are required 260263
CommentRequired Public method and constructor comments are required 265268
CommentRequired Public method and constructor comments are required 278281
CommentRequired Public method and constructor comments are required 283286
CommentRequired Public method and constructor comments are required 288291

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleAttributeTreatment.java

Rule Violation Ligne
CommentRequired Header comments are required 4484
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 4484
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 8083

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 53441
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleHome.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like id 101

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/IDuplicateRuleDAO.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/search/IIdentitySearchRuleDAO.java

Rule Violation Ligne
CommentRequired Header comments are required 4097

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRule.java

Rule Violation Ligne
CommentRequired Header comments are required 4278
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 4278
CommentRequired Public method and constructor comments are required 4952
CommentRequired Public method and constructor comments are required 5457
CommentRequired Public method and constructor comments are required 6972
CommentRequired Public method and constructor comments are required 7477

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRuleDAO.java

Rule Violation Ligne
CommentRequired Header comments are required 46222
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

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRuleHome.java

Rule Violation Ligne
CommentRequired Header comments are required 43124
ShortVariable Avoid variables with short names like id 99

fr/paris/lutece/plugins/identitystore/business/rules/search/SearchRuleType.java

Rule Violation Ligne
CommentRequired Enum comments are required 3640

fr/paris/lutece/plugins/identitystore/business/security/SecureMode.java

Rule Violation Ligne
CommentRequired Enum comments are required 3640

fr/paris/lutece/plugins/identitystore/business/user/InternalUser.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 46125
CommentRequired Header comments are required 46125
CommentRequired Public method and constructor comments are required 5562
CloneThrowsCloneNotSupportedException clone() method should throw CloneNotSupportedException 113124
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 122

fr/paris/lutece/plugins/identitystore/cache/ActiveServiceContractCache.java

Rule Violation Ligne
CommentRequired Header comments are required 50151
CommentRequired Public method and constructor comments are required 5558
CallSuperInConstructor It is a good practice to call super() in a constructor 5558
CommentRequired Public method and constructor comments are required 6076
CommentRequired Public method and constructor comments are required 7886
ShortVariable Avoid variables with short names like id 93
CommentRequired Public method and constructor comments are required 111120
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 131

fr/paris/lutece/plugins/identitystore/cache/AttributeKeyCache.java

Rule Violation Ligne
CommentRequired Header comments are required 46134
CallSuperInConstructor It is a good practice to call super() in a constructor 5053
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5560
CommentRequired Public method and constructor comments are required 6270
CommentRequired Public method and constructor comments are required 7280
CommentRequired Public method and constructor comments are required 82106
EmptyCatchBlock Avoid empty catch blocks 9598
CommentRequired Public method and constructor comments are required 108117
CommentRequired Public method and constructor comments are required 119127

fr/paris/lutece/plugins/identitystore/cache/ClientApplicationCache.java

Rule Violation Ligne
CommentRequired Header comments are required 51123
CommentRequired Public method and constructor comments are required 5659
CallSuperInConstructor It is a good practice to call super() in a constructor 5659
CommentRequired Public method and constructor comments are required 6165

fr/paris/lutece/plugins/identitystore/cache/DuplicateRulesCache.java

Rule Violation Ligne
CommentRequired Header comments are required 45129
CallSuperInConstructor It is a good practice to call super() in a constructor 4952
CommentRequired Public method and constructor comments are required 4952
CommentRequired Public method and constructor comments are required 5459
CommentRequired Public method and constructor comments are required 6169
CommentRequired Public method and constructor comments are required 7179
ShortVariable Avoid variables with short names like id 86
CommentRequired Public method and constructor comments are required 104113
CommentRequired Public method and constructor comments are required 115122

fr/paris/lutece/plugins/identitystore/cache/IdentityAttributeValidationCache.java

Rule Violation Ligne
CommentRequired Header comments are required 45108
CommentRequired Public method and constructor comments are required 4952
CallSuperInConstructor It is a good practice to call super() in a constructor 4952
CommentRequired Public method and constructor comments are required 5460
CommentRequired Public method and constructor comments are required 6270
CommentRequired Public method and constructor comments are required 7280
CommentRequired Public method and constructor comments are required 8291
CommentRequired Public method and constructor comments are required 93101

fr/paris/lutece/plugins/identitystore/cache/IdentityDtoCache.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 6972
CommentRequired Public method and constructor comments are required 6972
CommentRequired Public method and constructor comments are required 7478
CommentRequired Public method and constructor comments are required 8089
CommentRequired Public method and constructor comments are required 9198
CommentRequired Public method and constructor comments are required 100112
CommentRequired Public method and constructor comments are required 114126
CommentRequired Public method and constructor comments are required 146154

fr/paris/lutece/plugins/identitystore/cache/IdentityHistoryStatusCache.java

Rule Violation Ligne
CommentRequired Header comments are required 965
CallSuperInConstructor It is a good practice to call super() in a constructor 1316
CommentRequired Public method and constructor comments are required 1316
CommentRequired Public method and constructor comments are required 1822
CommentRequired Public method and constructor comments are required 2432
CommentRequired Public method and constructor comments are required 3442
CommentRequired Public method and constructor comments are required 4453
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 49
CommentRequired Public method and constructor comments are required 5558

fr/paris/lutece/plugins/identitystore/cache/QualityBaseCache.java

Rule Violation Ligne
CommentRequired Header comments are required 4083
CallSuperInConstructor It is a good practice to call super() in a constructor 4548
CommentRequired Public method and constructor comments are required 4548
CommentRequired Public method and constructor comments are required 5055
CommentRequired Public method and constructor comments are required 5765
CommentRequired Public method and constructor comments are required 6776

fr/paris/lutece/plugins/identitystore/cache/RefAttributeCertificationDefinitionCache.java

Rule Violation Ligne
CommentRequired Header comments are required 43124
CommentRequired Public method and constructor comments are required 4750
CallSuperInConstructor It is a good practice to call super() in a constructor 4750
CommentRequired Public method and constructor comments are required 5258
CommentRequired Public method and constructor comments are required 7180
CommentRequired Public method and constructor comments are required 8290
CommentRequired Public method and constructor comments are required 92105
CommentRequired Public method and constructor comments are required 107117

fr/paris/lutece/plugins/identitystore/service/IdentityChangeListener.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 7290

fr/paris/lutece/plugins/identitystore/service/IdentityManagementResourceIdService.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 6770
ShortVariable Avoid variables with short names like rt 78
ShortVariable Avoid variables with short names like p 84

fr/paris/lutece/plugins/identitystore/service/IdentityStorePlugin.java

Rule Violation Ligne
UncommentedEmptyMethodBody Document empty method body 5051

fr/paris/lutece/plugins/identitystore/service/PurgeIdentityService.java

Rule Violation Ligne
CommentRequired Header comments are required 66210
CommentRequired Public method and constructor comments are required 7279
NonThreadSafeSingleton Singleton is not thread safe 7477
CyclomaticComplexity The method 'purge(RequestAuthor, String, List, int)' has a cyclomatic complexity of 13. 86189
ExcessiveMethodLength Avoid really long methods. 86189
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 73 characters appended. 88
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 95
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 95
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 160
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 160
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 160
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 167
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 167
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 167
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 171
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 171
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 171
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 175
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 175
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 175
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 179
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 182

fr/paris/lutece/plugins/identitystore/service/application/ClientApplicationService.java

Rule Violation Ligne
CommentRequired Header comments are required 51112
CommentRequired Public method and constructor comments are required 5764
NonThreadSafeSingleton Singleton is not thread safe 5962
CommentRequired Public method and constructor comments are required 6682
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 77
CommentRequired Public method and constructor comments are required 84101
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 96

fr/paris/lutece/plugins/identitystore/service/application/ClientNotFoundException.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3953
CommentRequired Header comments are required 3953

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeComparatorService.java

Rule Violation Ligne
CommentRequired Header comments are required 999
TooManyMethods This class has too many methods, consider refactoring it. 999
CommentRequired Public method and constructor comments are required 1320
NonThreadSafeSingleton Singleton is not thread safe 1518
CyclomaticComplexity The method 'attributeValuesAreEqualAccordingToIndexMapping(String, String, String)' has a cyclomatic complexity of 10. 2248
CommentRequired Public method and constructor comments are required 2248
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
ConfusingTernary Avoid if (x != y) ..; else ..; 67
CommentRequired Public method and constructor comments are required 7073
ConfusingTernary Avoid if (x != y) ..; else ..; 72
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 72
CommentRequired Public method and constructor comments are required 7578
ConfusingTernary Avoid if (x != y) ..; else ..; 77
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 77
CommentRequired Public method and constructor comments are required 8083
ConfusingTernary Avoid if (x != y) ..; else ..; 82
CommentRequired Public method and constructor comments are required 8588
ConfusingTernary Avoid if (x != y) ..; else ..; 87
CommentRequired Public method and constructor comments are required 9093
ConfusingTernary Avoid if (x != y) ..; else ..; 92
CommentRequired Public method and constructor comments are required 9598
ConfusingTernary Avoid if (x != y) ..; else ..; 97

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeFormatterService.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 54342
CommentRequired Public method and constructor comments are required 6370
NonThreadSafeSingleton Singleton is not thread safe 6568
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
ConfusingTernary Avoid if (x != y) ..; else ..; 322
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 322
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 322

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeGeocodesAdjustmentService.java

Rule Violation Ligne
CommentRequired Header comments are required 58451
GodClass Possible God Class (WMC=59, ATFD=136, TCC=0.000%) 58451
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 63
CommentRequired Public method and constructor comments are required 6572
NonThreadSafeSingleton Singleton is not thread safe 6770
CommentRequired Public method and constructor comments are required 7881
CommentRequired Public method and constructor comments are required 83143
NPathComplexity The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has an NPath complexity of 288 83143
CyclomaticComplexity The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has a cyclomatic complexity of 15. 83143
ConfusingTernary Avoid if (x != y) ..; else ..; 9192
ConfusingTernary Avoid if (x != y) ..; else ..; 92
CollapsibleIfStatements These nested if statements could be combined 107139
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 128137
NcssCount The method 'adjustCountry(IdentityChangeRequest)' has a NCSS line count of 62. 145254
CyclomaticComplexity The method 'adjustCountry(IdentityChangeRequest)' has a cyclomatic complexity of 14. 145254
ExcessiveMethodLength Avoid really long methods. 145254
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 ..; 209215
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 226
ExcessiveMethodLength Avoid really long methods. 256399
CyclomaticComplexity The method 'adjustFrenchCity(IdentityChangeRequest)' has a cyclomatic complexity of 20. 256399
NcssCount The method 'adjustFrenchCity(IdentityChangeRequest)' has a NCSS line count of 79. 256399
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 ..; 280287
ConfusingTernary Avoid if (x != y) ..; else ..; 288349
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 290
ConfusingTernary Avoid if (x != y) ..; else ..; 306
ConfusingTernary Avoid if (x != y) ..; else ..; 357358
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 371
ConfusingTernary Avoid if (x != y) ..; else ..; 410444

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeService.java

Rule Violation Ligne
CommentRequired Header comments are required 67456
CommentRequired Public method and constructor comments are required 7785
NonThreadSafeSingleton Singleton is not thread safe 7983
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 155
CommentRequired Public method and constructor comments are required 190208
CommentRequired Public method and constructor comments are required 210227
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 222
CommentRequired Public method and constructor comments are required 229246
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 241
CommentRequired Public method and constructor comments are required 248265
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. 324413
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 355362

fr/paris/lutece/plugins/identitystore/service/contract/AttributeCertificationDefinitionService.java

Rule Violation Ligne
CommentRequired Header comments are required 44100
CommentRequired Public method and constructor comments are required 5058
NonThreadSafeSingleton Singleton is not thread safe 5256
CommentRequired Public method and constructor comments are required 6467
CommentRequired Public method and constructor comments are required 6972
CommentRequired Public method and constructor comments are required 7482
CommentRequired Public method and constructor comments are required 8488

fr/paris/lutece/plugins/identitystore/service/contract/RefAttributeCertificationDefinitionNotFoundException.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 4256

fr/paris/lutece/plugins/identitystore/service/contract/ServiceContractService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34797
CommentRequired Header comments are required 79797
CyclomaticComplexity The class 'ServiceContractService' has a total cyclomatic complexity of 123 (highest 17). 79797
GodClass Possible God Class (WMC=123, ATFD=164, TCC=2.463%) 79797
TooManyMethods This class has too many methods, consider refactoring it. 80797
CommentRequired Public method and constructor comments are required 8593
NonThreadSafeSingleton Singleton is not thread safe 8791
CommentRequired Public method and constructor comments are required 111118
CommentRequired Public method and constructor comments are required 120124
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 168
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 171
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 205
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 228
ShortVariable Avoid variables with short names like id 241
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 262
CyclomaticComplexity The method 'validateContractDefinition(ServiceContract, int)' has a cyclomatic complexity of 17. 276347
NPathComplexity The method 'validateContractDefinition(ServiceContract, int)' has an NPath complexity of 480 276347
CommentRequired Public method and constructor comments are required 349356
CyclomaticComplexity The method 'validateUpdateAuthorization(IdentityChangeRequest, IdentityDto, ServiceContract)' has a cyclomatic complexity of 10. 522544
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 737
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 760
CommentRequired Public method and constructor comments are required 771779

fr/paris/lutece/plugins/identitystore/service/daemon/LoggingDaemon.java

Rule Violation Ligne
CommentRequired Header comments are required 4076
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

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateRuleService.java

Rule Violation Ligne
CommentRequired Header comments are required 49181
CommentRequired Public method and constructor comments are required 5563
NonThreadSafeSingleton Singleton is not thread safe 5761
ShortVariable Avoid variables with short names like id 175

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34184
CommentRequired Header comments are required 70184
CommentRequired Public method and constructor comments are required 7678
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 94

fr/paris/lutece/plugins/identitystore/service/duplicate/IDuplicateService.java

Rule Violation Ligne
CommentRequired Header comments are required 4549
CommentRequired Public method and constructor comments are required 4748

fr/paris/lutece/plugins/identitystore/service/history/IdentityHistoryService.java

Rule Violation Ligne
CommentRequired Header comments are required 60147
FinalFieldCouldBeStatic This final field could be made static 65
CommentRequired Public method and constructor comments are required 6775
NonThreadSafeSingleton Singleton is not thread safe 6973
CommentRequired Public method and constructor comments are required 7794
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7980
CommentRequired Public method and constructor comments are required 96125
CommentRequired Public method and constructor comments are required 143146

fr/paris/lutece/plugins/identitystore/service/identity/IdentityExportService.java

Rule Violation Ligne
CommentRequired Header comments are required 56119
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 67
CommentRequired Public method and constructor comments are required 7481
NonThreadSafeSingleton Singleton is not thread safe 7679
CyclomaticComplexity The method 'export(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. 92118
ConfusingTernary Avoid if (x != y) ..; else ..; 9596

fr/paris/lutece/plugins/identitystore/service/identity/IdentityQualityService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34301
CommentRequired Header comments are required 74301
CommentRequired Public method and constructor comments are required 8088
NonThreadSafeSingleton Singleton is not thread safe 8286
CommentRequired Public method and constructor comments are required 9497
CommentRequired Public method and constructor comments are required 99166
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 132135
ConfusingTernary Avoid if (x != y) ..; else ..; 195214
ConfusingTernary Avoid if (x != y) ..; else ..; 206
ConfusingTernary Avoid if (x != y) ..; else ..; 207210
CommentRequired Public method and constructor comments are required 217237
CyclomaticComplexity The method 'computeMatchScore(IdentityDto, List)' has a cyclomatic complexity of 10. 239300
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 254
EmptyCatchBlock Avoid empty catch blocks 262265
ConfusingTernary Avoid if (x != y) ..; else ..; 266275

fr/paris/lutece/plugins/identitystore/service/identity/IdentityService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34992
GodClass Possible God Class (WMC=113, ATFD=209, TCC=30.147%) 99992
CommentRequired Header comments are required 99992
CyclomaticComplexity The class 'IdentityService' has a total cyclomatic complexity of 113 (highest 12). 99992
TooManyMethods This class has too many methods, consider refactoring it. 100992
CommentRequired Public method and constructor comments are required 132139
NonThreadSafeSingleton Singleton is not thread safe 134137
CyclomaticComplexity The method 'create(IdentityChangeRequest, RequestAuthor, ServiceContract, List)' has a cyclomatic complexity of 10. 156207
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. 240291
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
ExcessiveMethodLength Avoid really long methods. 320422
CyclomaticComplexity The method 'merge(Identity, Identity, IdentityDto, String, RequestAuthor, String, boolean, List)' has a cyclomatic complexity of 12. 320422
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 329
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 400
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 417
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 437
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 439
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 459
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 466
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 474
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 522528
CyclomaticComplexity The method 'search(String, String, ServiceContract, RequestAuthor)' has a cyclomatic complexity of 11. 548586
EmptyCatchBlock Avoid empty catch blocks 610613
EmptyCatchBlock Avoid empty catch blocks 638641
NPathComplexity The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has an NPath complexity of 432 696743
CyclomaticComplexity The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has a cyclomatic complexity of 12. 696743
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 791
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 793
CyclomaticComplexity The method 'uncertifyIdentity(String, List, String, RequestAuthor)' has a cyclomatic complexity of 12. 808872
ConfusingTernary Avoid if (x != y) ..; else ..; 813827
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 863
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 866
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 922
CyclomaticComplexity The method 'searchUpdatedIdentities(UpdatedIdentitySearchRequest)' has a cyclomatic complexity of 12. 939990
ConfusingTernary Avoid if (x != y) ..; else ..; 944989
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 968

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/Constants.java

Rule Violation Ligne
CommentRequired Header comments are required 3656

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticClient.java

Rule Violation Ligne
CommentRequired Header comments are required 52563
TooManyMethods This class has too many methods, consider refactoring it. 53563
AvoidDuplicateLiterals The String literal "_doc" appears 4 times in this file; the first occurrence is on line 115 115
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. 139
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 143
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 144
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 158
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 267
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 375
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 376
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 380
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 380
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 380
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 467
CommentRequired Public method and constructor comments are required 516527
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 542
CommentRequired Public method and constructor comments are required 548562
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 555

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticClientException.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3845
CommentRequired Header comments are required 3845
CommentRequired Public method and constructor comments are required 4044

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticConnexion.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34356
TooManyMethods This class has too many methods, consider refactoring it. 74356
UncommentedEmptyConstructor Document empty constructor 102104
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticConnexionException.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3851
CommentRequired Header comments are required 3851
CommentRequired Public method and constructor comments are required 4044
CommentRequired Public method and constructor comments are required 4650

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IIndexActionDao.java

Rule Violation Ligne
CommentRequired Header comments are required 4051
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IdentityObjectDAO.java

Rule Violation Ligne
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 140
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 163

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexAction.java

Rule Violation Ligne
CommentRequired Header comments are required 3896
CommentRequired Public method and constructor comments are required 4649
UncommentedEmptyConstructor Document empty constructor 4649
CommentRequired Public method and constructor comments are required 5155
CommentRequired Public method and constructor comments are required 5760
CommentRequired Public method and constructor comments are required 6265
CommentRequired Public method and constructor comments are required 6770
CommentRequired Public method and constructor comments are required 7275
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8285

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionDao.java

Rule Violation Ligne
CommentRequired Header comments are required 46125
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionHome.java

Rule Violation Ligne
CommentRequired Header comments are required 4373
CommentRequired Public method and constructor comments are required 5257
CommentRequired Public method and constructor comments are required 5962
CommentRequired Public method and constructor comments are required 6467
CommentRequired Public method and constructor comments are required 6972

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionType.java

Rule Violation Ligne
CommentRequired Enum comments are required 3641

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/listener/IdentityIndexListener.java

Rule Violation Ligne
CommentRequired Header comments are required 60165
CommentRequired Public method and constructor comments are required 6872
CyclomaticComplexity The method 'processIdentityChange(IdentityChangeType, Identity, String, String, RequestAuthor, String, Map)' has a cyclomatic complexity of 13. 75111
ConfusingTernary Avoid if (x != y) ..; else ..; 124
ConfusingTernary Avoid if (x != y) ..; else ..; 125
ConfusingTernary Avoid if (x != y) ..; else ..; 126
ConfusingTernary Avoid if (x != y) ..; else ..; 127
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 158

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/AttributeObject.java

Rule Violation Ligne
DataClass The class 'AttributeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=22, WMC=24) 38182
CommentRequired Header comments are required 38182
ExcessiveParameterList Avoid long parameter lists. 5253
CommentRequired Public method and constructor comments are required 5266
CommentRequired Public method and constructor comments are required 6871
UncommentedEmptyConstructor Document empty constructor 6871

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/IdentityObject.java

Rule Violation Ligne
DataClass The class 'IdentityObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=16, WMC=18) 43147
CommentRequired Header comments are required 43147
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 52
CommentRequired Public method and constructor comments are required 5465
CommentRequired Public method and constructor comments are required 6770
UncommentedEmptyConstructor Document empty constructor 6770

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/BulkAction.java

Rule Violation Ligne
DataClass The class 'BulkAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=10) 3898
CommentRequired Header comments are required 3898
CommentRequired Public method and constructor comments are required 4652
CommentRequired Public method and constructor comments are required 5459

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/BulkActionType.java

Rule Violation Ligne
CommentRequired Enum comments are required 3661

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/CustomSerializer.java

Rule Violation Ligne
CommentRequired Header comments are required 4462
ShortVariable Avoid variables with short names like o 48

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/alias/AliasAction.java

Rule Violation Ligne
DataClass The class 'AliasAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 4076
CommentRequired Header comments are required 4076

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/alias/AliasActions.java

Rule Violation Ligne
CommentRequired Header comments are required 4261
CommentRequired Public method and constructor comments are required 4750

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IIdentityIndexer.java

Rule Violation Ligne
CommentRequired Header comments are required 4378
TooManyMethods This class has too many methods, consider refactoring it. 4478
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityIndexer.java

Rule Violation Ligne
CommentRequired Header comments are required 65292
TooManyMethods This class has too many methods, consider refactoring it. 66292
FinalFieldCouldBeStatic This final field could be made static 68
CommentRequired Public method and constructor comments are required 7376
CommentRequired Public method and constructor comments are required 7881
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityObjectHome.java

Rule Violation Ligne
CommentRequired Header comments are required 4586
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. 4686

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/AbstractIndexTask.java

Rule Violation Ligne
CommentRequired Header comments are required 3992
CommentRequired Protected method constructor comments are required 4353
CommentRequired Protected method constructor comments are required 5561

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/FullIndexTask.java

Rule Violation Ligne
CommentRequired Header comments are required 57199
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 6365
CommentRequired Public method and constructor comments are required 6365
CallSuperInConstructor It is a good practice to call super() in a constructor 6365
UncommentedEmptyConstructor Document empty constructor 6365
CommentRequired Public method and constructor comments are required 6778
CommentRequired Public method and constructor comments are required 80155
ConfusingTernary Avoid if (x != y) ..; else ..; 87153
CommentRequired Public method and constructor comments are required 184198

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/IndexStatus.java

Rule Violation Ligne
CommentRequired Header comments are required 41110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 41110
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 4851
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5861
CommentRequired Public method and constructor comments are required 6366
CommentRequired Public method and constructor comments are required 6871
CommentRequired Public method and constructor comments are required 7380
CommentRequired Public method and constructor comments are required 8285
ConfusingTernary Avoid if (x != y) ..; else ..; 84
CommentRequired Public method and constructor comments are required 8790
CommentRequired Public method and constructor comments are required 9295
CommentRequired Public method and constructor comments are required 97100
CommentRequired Protected method constructor comments are required 102109
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 108

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/MissingIndexTask.java

Rule Violation Ligne
CommentRequired Header comments are required 57133
CyclomaticComplexity The method 'doTask()' has a cyclomatic complexity of 10. 64130

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/UsingElasticConnection.java

Rule Violation Ligne
CommentRequired Header comments are required 927
CommentRequired Public method and constructor comments are required 1426

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/ASearchRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 4379
CommentRequired Public method and constructor comments are required 4952
CommentRequired Public method and constructor comments are required 5466
CommentRequired Protected method constructor comments are required 68

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/AbstractMatchSerializer.java

Rule Violation Ligne
CommentRequired Header comments are required 4353
ShortVariable Avoid variables with short names like o 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/ComplexSearchRequest.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 5560
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 84
CyclomaticComplexity The method 'handleMultiAttributeSearch(SearchAttribute, InnerSearchRequest)' has a cyclomatic complexity of 11. 94136
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 121134
CyclomaticComplexity The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a cyclomatic complexity of 20. 143223
NcssCount The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a NCSS line count of 69. 143223
MissingBreakInSwitch A switch statement does not contain a break 148166
MissingBreakInSwitch A switch statement does not contain a break 169186
MissingBreakInSwitch A switch statement does not contain a break 189204
MissingBreakInSwitch A switch statement does not contain a break 207220

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/ConnectionIdSearchRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 4270
CommentRequired Public method and constructor comments are required 4650

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/CustomerIdSearchRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 4270
CommentRequired Public method and constructor comments are required 4650

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/SpanMultiSerializer.java

Rule Violation Ligne
CommentRequired Header comments are required 4353
ShortVariable Avoid variables with short names like o 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/SpanTermSerializer.java

Rule Violation Ligne
CommentRequired Header comments are required 4353
ShortVariable Avoid variables with short names like o 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractContainer.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3638
CommentRequired Header comments are required 3638

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractMatch.java

Rule Violation Ligne
CommentRequired Header comments are required 4066
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4066
DataClass The class 'AbstractMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 4066

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractSpan.java

Rule Violation Ligne
DataClass The class 'AbstractSpan' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 4066
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4066
CommentRequired Header comments are required 4066

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Bool.java

Rule Violation Ligne
CommentRequired Header comments are required 4397
DataClass The class 'Bool' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 4397

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/BoolContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 3855
CommentRequired Public method and constructor comments are required 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Exists.java

Rule Violation Ligne
CommentRequired Header comments are required 3649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/ExistsContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 3857
CommentRequired Public method and constructor comments are required 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/InnerSearchRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 54305
CommentRequired Public method and constructor comments are required 6672
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 75
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 75
AvoidDuplicateLiterals The String literal "attributes." appears 7 times in this file; the first occurrence is on line 137 137
AvoidDuplicateLiterals The String literal ".value" appears 5 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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Match.java

Rule Violation Ligne
CommentRequired Header comments are required 3649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 4060
CallSuperInConstructor It is a good practice to call super() in a constructor 4649
CommentRequired Public method and constructor comments are required 4649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchPhrase.java

Rule Violation Ligne
CommentRequired Header comments are required 3639

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchPhraseContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 4060
CommentRequired Public method and constructor comments are required 4649
CallSuperInConstructor It is a good practice to call super() in a constructor 4649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiMatch.java

Rule Violation Ligne
CommentRequired Header comments are required 3872
MissingOverride The method 'getQuery()' is missing an @Override annotation. 5356
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5861
MissingOverride The method 'setQuery(String)' is missing an @Override annotation. 5861

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiMatchContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 3857
CommentRequired Public method and constructor comments are required 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiSearchAction.java

Rule Violation Ligne
CommentRequired Header comments are required 3678
DataClass The class 'MultiSearchAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) 3678
CommentRequired Public method and constructor comments are required 4247

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiSearchActionType.java

Rule Violation Ligne
CommentRequired Enum comments are required 3652

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Query.java

Rule Violation Ligne
CommentRequired Header comments are required 3853

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMulti.java

Rule Violation Ligne
CommentRequired Header comments are required 4059
CommentRequired Public method and constructor comments are required 4548

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 3857
CommentRequired Public method and constructor comments are required 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiFuzzyMatch.java

Rule Violation Ligne
CommentRequired Header comments are required 4076
DataClass The class 'SpanMultiFuzzyMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 4076

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiFuzzyMatchContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 4262
CommentRequired Public method and constructor comments are required 4851

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanNear.java

Rule Violation Ligne
DataClass The class 'SpanNear' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) 4393
CommentRequired Header comments are required 4393
ControlStatementBraces This statement should have braces 55

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanNearContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 3857
CallSuperInConstructor It is a good practice to call super() in a constructor 4346
CommentRequired Public method and constructor comments are required 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanTerm.java

Rule Violation Ligne
CommentRequired Header comments are required 4066
DataClass The class 'SpanTerm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 4066

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanTermContainer.java

Rule Violation Ligne
CommentRequired Header comments are required 4060
CommentRequired Public method and constructor comments are required 4649
CallSuperInConstructor It is a good practice to call super() in a constructor 4649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Hit.java

Rule Violation Ligne
CommentRequired Header comments are required 43108
DataClass The class 'Hit' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 43108
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Response.java

Rule Violation Ligne
DataClass The class 'Response' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 44121
CommentRequired Header comments are required 44121
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 60

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Responses.java

Rule Violation Ligne
DataClass The class 'Responses' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 4268
CommentRequired Header comments are required 4268
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Result.java

Rule Violation Ligne
CommentRequired Header comments are required 4381
DataClass The class 'Result' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 4381

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Shard.java

Rule Violation Ligne
DataClass The class 'Shard' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 4098
CommentRequired Header comments are required 4098

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Total.java

Rule Violation Ligne
DataClass The class 'Total' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3963
CommentRequired Header comments are required 3963

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/service/IIdentitySearcher.java

Rule Violation Ligne
CommentRequired Header comments are required 48150
CommentRequired Public method and constructor comments are required 127149

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/service/IdentitySearcher.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34309
CommentRequired Header comments are required 68309
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8285
ConfusingTernary Avoid if (x != y) ..; else ..; 98118
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 256

fr/paris/lutece/plugins/identitystore/service/indexer/search/ElasticSearchIdentityService.java

Rule Violation Ligne
CommentRequired Header comments are required 59186
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 59186
ShortVariable Avoid variables with short names like s 173

fr/paris/lutece/plugins/identitystore/service/listeners/IdentityHistoryListener.java

Rule Violation Ligne
CommentRequired Header comments are required 4665

fr/paris/lutece/plugins/identitystore/service/listeners/IdentityStoreNotifyListenerService.java

Rule Violation Ligne
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 50 characters appended. 77
NonThreadSafeSingleton Singleton is not thread safe 109112
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

fr/paris/lutece/plugins/identitystore/service/network/DelayedNetworkService.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 5861
CommentRequired Public method and constructor comments are required 6385
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 ..; 114147
CommentRequired Enum comments are required 155158

fr/paris/lutece/plugins/identitystore/service/network/NetworkSupplier.java

Rule Violation Ligne
CommentRequired Header comments are required 46
CommentRequired Public method and constructor comments are required 5
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 5

fr/paris/lutece/plugins/identitystore/service/search/DatabaseSearchIdentityService.java

Rule Violation Ligne
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 50184
CommentRequired Header comments are required 50184
AvoidDuplicateLiterals The String literal "An error occurred during database search: " appears 4 times in this file; the first occurrence is on line 77 77

fr/paris/lutece/plugins/identitystore/service/search/ISearchIdentityService.java

Rule Violation Ligne
CommentRequired Header comments are required 49156
CommentRequired Public method and constructor comments are required 123155
EmptyCatchBlock Avoid empty catch blocks 135138
ConfusingTernary Avoid if (x != y) ..; else ..; 140150

fr/paris/lutece/plugins/identitystore/service/user/InternalUserService.java

Rule Violation Ligne
CommentRequired Header comments are required 3962
CommentRequired Public method and constructor comments are required 4451
NonThreadSafeSingleton Singleton is not thread safe 4649
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5861

fr/paris/lutece/plugins/identitystore/utils/Batch.java

Rule Violation Ligne
CommentRequired Header comments are required 4080
CommentRequired Public method and constructor comments are required 4549
CallSuperInConstructor It is a good practice to call super() in a constructor 4549
CommentRequired Public method and constructor comments are required 5154
CommentRequired Public method and constructor comments are required 7679

fr/paris/lutece/plugins/identitystore/utils/Combinations.java

Rule Violation Ligne
CommentRequired Header comments are required 4068
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. 4168
CommentRequired Public method and constructor comments are required 4267
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 44

fr/paris/lutece/plugins/identitystore/utils/LoggingTask.java

Rule Violation Ligne
CommentRequired Header comments are required 37
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

fr/paris/lutece/plugins/identitystore/utils/Maps.java

Rule Violation Ligne
CommentRequired Header comments are required 4462
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. 4562
CommentRequired Public method and constructor comments are required 4661

fr/paris/lutece/plugins/identitystore/v3/web/request/AbstractIdentityStoreAppCodeRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 51104
CommentRequired Protected method constructor comments are required 6166

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientGetRequest.java

Rule Violation Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 120

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientsGetRequest.java

Rule Violation Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 124
ConfusingTernary Avoid if (x != y) ..; else ..; 127134

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractListSearchRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 2279
CommentRequired Public method and constructor comments are required 3035

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistoryGetRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 57124
CommentRequired Public method and constructor comments are required 6570
UncommentedEmptyMethodBody Document empty method body 9092
UncommentedEmptyMethodBody Document empty method body 9698
UncommentedEmptyMethodBody Document empty method body 102104
UncommentedEmptyMethodBody Document empty method body 108110

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistorySearchRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 56117
CommentRequired Public method and constructor comments are required 6368

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCancelMergeRequest.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34195
ShortVariable Avoid variables with short names like md 126
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 186
UnusedLocalVariable Avoid unused local variables such as 'status'. 186

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCreateRequest.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34172
CommentRequired Public method and constructor comments are required 95102

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreExportRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 60123
CommentRequired Public method and constructor comments are required 6772

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreImportRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 63179
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreMergeRequest.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34214
CollapsibleIfStatements These nested if statements could be combined 137140

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreSearchRequest.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 7581

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUncertifyRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 67146
CommentRequired Public method and constructor comments are required 7581

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUpdateRequest.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34222
CommentRequired Public method and constructor comments are required 105113

fr/paris/lutece/plugins/identitystore/v3/web/request/referentiel/AttributeKeyListGetRequest.java

Rule Violation Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 119

fr/paris/lutece/plugins/identitystore/v3/web/request/referentiel/LevelListGetRequest.java

Rule Violation Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 119

fr/paris/lutece/plugins/identitystore/v3/web/request/referentiel/ProcessusListGetRequest.java

Rule Violation Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 122

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/ClientValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 4174
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 43
CommentRequired Public method and constructor comments are required 4552
NonThreadSafeSingleton Singleton is not thread safe 4750

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/DuplicateRuleValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 726
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 8
CommentRequired Public method and constructor comments are required 1015
NonThreadSafeSingleton Singleton is not thread safe 1113
CommentRequired Public method and constructor comments are required 2025

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityAttributeValidator.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34539
GodClass Possible God Class (WMC=69, ATFD=138, TCC=3.571%) 80539
CommentRequired Public method and constructor comments are required 9199
NonThreadSafeSingleton Singleton is not thread safe 9397
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. 153202
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 165171
CollapsibleIfStatements These nested if statements could be combined 167170
EmptyCatchBlock Avoid empty catch blocks 173176
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 182190
CyclomaticComplexity The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a cyclomatic complexity of 32. 238410
NcssCount The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a NCSS line count of 70. 238410
ExcessiveMethodLength Avoid really long methods. 238410
NPathComplexity The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has an NPath complexity of 677376 238410
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 310318
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 329337
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 343
NPathComplexity The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has an NPath complexity of 544 431537
CyclomaticComplexity The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has a cyclomatic complexity of 14. 431537
ExcessiveMethodLength Avoid really long methods. 431537
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 440441
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 442443
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 445446

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityChangeRequestValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 5297
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 5865
NonThreadSafeSingleton Singleton is not thread safe 6063

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityDuplicateValidator.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34413
CommentRequired Header comments are required 70413
GodClass Possible God Class (WMC=51, ATFD=90, TCC=1.515%) 70413
TooManyMethods This class has too many methods, consider refactoring it. 71413
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 80
CommentRequired Public method and constructor comments are required 8592
NonThreadSafeSingleton Singleton is not thread safe 8790
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 265
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 321
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 324
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 376
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 379

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityExportValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 4690
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 50
CommentRequired Public method and constructor comments are required 5259
NonThreadSafeSingleton Singleton is not thread safe 5457
CommentRequired Public method and constructor comments are required 6588
CyclomaticComplexity The method 'validateExportRequest(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. 6588

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentitySearchRequestValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 55171
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 57
CommentRequired Public method and constructor comments are required 5966
NonThreadSafeSingleton Singleton is not thread safe 6164
CyclomaticComplexity The method 'checkRequiredAttributes(IdentitySearchRequest)' has a cyclomatic complexity of 14. 79141
CollapsibleIfStatements These nested if statements could be combined 104107
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 ..; 156166

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 49219
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 52
CommentRequired Public method and constructor comments are required 5461
NonThreadSafeSingleton Singleton is not thread safe 5659
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 81
CollapsibleIfStatements These nested if statements could be combined 210214

fr/paris/lutece/plugins/identitystore/v3/web/rs/ClientRestService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34213
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. 8993
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 115120
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 142147
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 172176
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 203207

fr/paris/lutece/plugins/identitystore/v3/web/rs/CustomMapper.java

Rule Violation Ligne
CommentRequired Header comments are required 4461
CommentRequired Public method and constructor comments are required 4954

fr/paris/lutece/plugins/identitystore/v3/web/rs/DtoConverter.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34506
TooManyMethods This class has too many methods, consider refactoring it. 91506
CommentRequired Public method and constructor comments are required 150176
NcssCount The method 'convertContractToDto(ServiceContract)' has a NCSS line count of 64. 231318
CommentRequired Public method and constructor comments are required 419427
CommentRequired Public method and constructor comments are required 429437
CommentRequired Public method and constructor comments are required 439451
CommentRequired Public method and constructor comments are required 453474
CommentRequired Public method and constructor comments are required 476479
CommentRequired Public method and constructor comments are required 481497
CommentRequired Public method and constructor comments are required 499505

fr/paris/lutece/plugins/identitystore/v3/web/rs/HistoryRestService.java

Rule Violation Ligne
CommentRequired Header comments are required 67131
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 8792
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 118123

fr/paris/lutece/plugins/identitystore/v3/web/rs/IRestService.java

Rule Violation Ligne
CommentRequired Header comments are required 4147
CommentRequired Public method and constructor comments are required 4346

fr/paris/lutece/plugins/identitystore/v3/web/rs/IdentityStoreRestService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34493
TooManyMethods This class has too many methods, consider refactoring it. 92493
UncommentedEmptyConstructor Document empty constructor 9698
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 9698
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. 117122
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 145150
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
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. 182186
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 213217
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 243248
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 275280
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 305309
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 333337
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 361366
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 398403
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 428433
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 457463
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 480485
CommentRequired Public method and constructor comments are required 480491

fr/paris/lutece/plugins/identitystore/v3/web/rs/IndicatorsRestService.java

Rule Violation Ligne
DefaultPackage Use explicit scoping instead of the default package private level 72
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the objectMapper field if you want a default access modifier 72
ConfusingTernary Avoid if (x != y) ..; else ..; 183
EmptyCatchBlock Avoid empty catch blocks 187189
CommentRequired Header comments are required 193240
DataClass The class 'Action' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 193240

fr/paris/lutece/plugins/identitystore/v3/web/rs/ReferentielRestService.java

Rule Violation Ligne
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 8286
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 106110
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 130134

fr/paris/lutece/plugins/identitystore/v3/web/rs/ServiceContractRestService.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34324
AvoidDuplicateLiterals The String literal "Service contract Found" appears 5 times in this file; the first occurrence is on line 94 94
AvoidDuplicateLiterals The String literal " with explanation message" appears 8 times in this file; the first occurrence is on line 95 95
AvoidDuplicateLiterals The String literal "Failure" appears 8 times in this file; the first occurrence is on line 95 95
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 98102
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 126132
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 155160
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 184189
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 215220
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 245249
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 277282
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 311316

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtClientAuthorizationExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 57
ShortVariable Avoid variables with short names like e 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtDuplicatesConsistencyExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 57
ShortVariable Avoid variables with short names like e 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 60

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtIdentityStoreExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 59

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtJerseyExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 51

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtRequestContentFormattingExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 57
ShortVariable Avoid variables with short names like e 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtRequestFormatExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 57
ShortVariable Avoid variables with short names like e 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtResourceConsistencyExceptionMapper.java

Rule Violation Ligne
CommentRequired Header comments are required 1544
ShortVariable Avoid variables with short names like e 20
ShortVariable Avoid variables with short names like e 29

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtResourceNotFoundExceptionMapper.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like e 57
ShortVariable Avoid variables with short names like e 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/swagger/SwaggerConfig.java

Rule Violation Ligne
CommentRequired Header comments are required 4749

fr/paris/lutece/plugins/identitystore/v3/web/rs/swagger/SwaggerConstants.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like ID 47

fr/paris/lutece/plugins/identitystore/web/AbstractManageProcessusRefJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 49116
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

fr/paris/lutece/plugins/identitystore/web/AdminIdentitiesJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 49101
AddEmptyString Do not add empty strings 95

fr/paris/lutece/plugins/identitystore/web/AttributeCertificateJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 53242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 108
ConfusingTernary Avoid if (x != y) ..; else ..; 127

fr/paris/lutece/plugins/identitystore/web/AttributeKeyJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 61375
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

fr/paris/lutece/plugins/identitystore/web/DuplicateRulesJspBean.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34471
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 73471
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 381407
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

fr/paris/lutece/plugins/identitystore/web/IdentitiesHistoryJspBean.java

Rule Violation Ligne
CommentRequired Header comments are required 32195
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 32195
UnusedPrivateField Avoid unused private fields such as 'PROPERTY_FEATURE_HISTORY_SEARCH'. 40
DefaultPackage Use explicit scoping instead of the default package private level 56
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _historyList field if you want a default access modifier 56
ImmutableField Private field '_listQuery' could be made final; it is only initialized in the declaration or constructor. 57
CommentRequired Public method and constructor comments are required 60139
CyclomaticComplexity The method 'getIdentitiesHistory(HttpServletRequest)' has a cyclomatic complexity of 20. 60139
NPathComplexity The method 'getIdentitiesHistory(HttpServletRequest)' has an NPath complexity of 7680 60139
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 6566
ConfusingTernary Avoid if (x != y) ..; else ..; 6566
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 6768
ConfusingTernary Avoid if (x != y) ..; else ..; 6768
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. 6970
ConfusingTernary Avoid if (x != y) ..; else ..; 6970
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7172
ConfusingTernary Avoid if (x != y) ..; else ..; 7172
ConfusingTernary Avoid if (x != y) ..; else ..; 7374
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7374
ConfusingTernary Avoid if (x != y) ..; else ..; 7576
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 7576
ConfusingTernary Avoid if (x != y) ..; else ..; 7778
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

fr/paris/lutece/plugins/identitystore/web/IdentityJspBean.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34531
ExcessiveMethodLength Avoid really long methods. 158314
NPathComplexity The method 'getManageIdentitys(HttpServletRequest)' has an NPath complexity of 4105 158314
CyclomaticComplexity The method 'getManageIdentitys(HttpServletRequest)' has a cyclomatic complexity of 23. 158314
NcssCount The method 'getManageIdentitys(HttpServletRequest)' has a NCSS line count of 88. 158314
CommentRequired Public method and constructor comments are required 158314
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

fr/paris/lutece/plugins/identitystore/web/IdentitySearchRuleJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 63333
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

fr/paris/lutece/plugins/identitystore/web/IndexIdentityJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 52111
CommentRequired Public method and constructor comments are required 7387
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 106

fr/paris/lutece/plugins/identitystore/web/IndicatorsJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 2169
CommentRequired Header comments are required 2169
CommentRequired Public method and constructor comments are required 4768
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 60

fr/paris/lutece/plugins/identitystore/web/ManageClientApplicationJspBean.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/web/ManageIdentitiesJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 50323
AddEmptyString Do not add empty strings 122
NcssCount The method 'getQueryParameters(HttpServletRequest)' has a NCSS line count of 60. 129228
NPathComplexity The method 'getQueryParameters(HttpServletRequest)' has an NPath complexity of 524288 129228
CommentRequired Protected method constructor comments are required 129228
CyclomaticComplexity The method 'getQueryParameters(HttpServletRequest)' has a cyclomatic complexity of 20. 129228
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 131
NPathComplexity The method 'clearParameters(HttpServletRequest)' has an NPath complexity of 262144 230322
CyclomaticComplexity The method 'clearParameters(HttpServletRequest)' has a cyclomatic complexity of 19. 230322
CommentRequired Protected method constructor comments are required 230322

fr/paris/lutece/plugins/identitystore/web/ManageServiceContractJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 51156
DefaultPackage Use explicit scoping instead of the default package private level 124
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 124
CommentRequired Protected method constructor comments are required 126155
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 128

fr/paris/lutece/plugins/identitystore/web/RefAttributeCertificationLevelJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 57300
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 117
DefaultPackage Use explicit scoping instead of the default package private level 136145
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 137145

fr/paris/lutece/plugins/identitystore/web/RefAttributeCertificationProcessusJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 65354
DefaultPackage Use explicit scoping instead of the default package private level 145154
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 146154
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

fr/paris/lutece/plugins/identitystore/web/RefCertificationLevelJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 59295
UnusedPrivateField Avoid unused private fields such as 'INFO_REFCERTIFICATIONLEVEL_NOT_REMOVED'. 101
DefaultPackage Use explicit scoping instead of the default package private level 133141
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 134141
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 228

fr/paris/lutece/plugins/identitystore/web/ServiceContractAttributeDefinitionDto.java

Rule Violation Ligne
CommentRequired Header comments are required 46120
CommentRequired Public method and constructor comments are required 5660
CommentRequired Public method and constructor comments are required 6771
LinguisticNaming Linguistics Antipattern - The setter 'setServiceContract' should not return any type except void linguistically 6771
LinguisticNaming Linguistics Antipattern - The setter 'setAttributeKey' should not return any type except void linguistically 7882
CommentRequired Public method and constructor comments are required 7882
CommentRequired Public method and constructor comments are required 8993
LinguisticNaming Linguistics Antipattern - The setter 'setRefCertificationLevel' should not return any type except void linguistically 8993
CommentRequired Public method and constructor comments are required 110114
LinguisticNaming Linguistics Antipattern - The setter 'setAttributeRight' should not return any type except void linguistically 110114

fr/paris/lutece/plugins/identitystore/web/ServiceContractJspBean.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34820
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 87820
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. 207212
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 213
ConfusingTernary Avoid if (x != y) ..; else ..; 220228
DefaultPackage Use explicit scoping instead of the default package private level 246254
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 247254
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 ..; 440447
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 556588
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. 597666
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 ..; 618628
ConfusingTernary Avoid if (x != y) ..; else ..; 635645
ConfusingTernary Avoid if (x != y) ..; else ..; 652662
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 ..; 774784
ConfusingTernary Avoid if (x != y) ..; else ..; 786792
ConfusingTernary Avoid if (x != y) ..; else ..; 794800
ConfusingTernary Avoid if (x != y) ..; else ..; 802808
ConfusingTernary Avoid if (x != y) ..; else ..; 810816

Priority 4

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKey.java

Rule Violation Ligne
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 202205
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 223226

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKeyHome.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.ReferenceList' 40

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeValue.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.sql.Timestamp' 37

fr/paris/lutece/plugins/identitystore/business/attribute/KeyType.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Optional' 44

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContract.java

Rule Violation Ligne
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 294297
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 304307
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 314317
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 329332
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 350353
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 371374
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 392395
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 413416
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 429432
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 439442
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 459462

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityHome.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' 40

fr/paris/lutece/plugins/identitystore/business/identity/IdentityDAO.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 49

fr/paris/lutece/plugins/identitystore/cache/ActiveServiceContractCache.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' 42

fr/paris/lutece/plugins/identitystore/cache/ClientApplicationCache.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.contract.ServiceContract' 38
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.contract.ServiceContractHome' 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' 42
UnusedImports Avoid unused imports such as 'org.apache.commons.collections.CollectionUtils' 45
UnusedImports Avoid unused imports such as 'java.util.Objects' 48

fr/paris/lutece/plugins/identitystore/service/application/ClientApplicationService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.cache.ActiveServiceContractCache' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientChangeResponse' 44
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' 46

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeFormatterService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute' 42

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeGeocodesAdjustmentService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/duplicate/IDuplicateService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/identity/IdentityExportService.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/identity/IdentityQualityService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' 57
UnusedImports Avoid unused imports such as 'org.apache.commons.lang3.RegExUtils' 62

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/listener/IdentityIndexListener.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse' 50

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/IndexStatus.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 36

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Bool.java

Rule Violation Ligne
ShortClassName Avoid short class names like Bool 4397

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/InnerSearchRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Hit.java

Rule Violation Ligne
ShortClassName Avoid short class names like Hit 43108

fr/paris/lutece/plugins/identitystore/utils/Maps.java

Rule Violation Ligne
ShortClassName Avoid short class names like Maps 4462

fr/paris/lutece/plugins/identitystore/v3/web/request/AbstractIdentityStoreAppCodeRequest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.application.ClientApplication' 36
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.application.ClientApplicationHome' 37

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientsGetRequest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.IdentityRequestValidator' 40

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ActiveServiceContractGetRequest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.AbstractIdentityStoreRequest' 42

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistoryGetRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCancelMergeRequest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.identity.IdentityHome' 44

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCreateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreExportRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreGetRequest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Objects' 56

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreSearchRequest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.Objects' 63

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUncertifyRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUpdateRequest.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityAttributeValidator.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.IdentityChangeRequest' 49

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityDuplicateValidator.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' 52
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.sql.TransactionManager' 57
UnusedImports Avoid unused imports such as 'org.apache.commons.collections4.CollectionUtils' 58

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityValidator.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' 42

fr/paris/lutece/plugins/identitystore/v3/web/rs/DtoConverter.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException' 72

fr/paris/lutece/plugins/identitystore/web/IdentityJspBean.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.sql.Date' 75
UnusedImports Avoid unused imports such as 'java.time.LocalDate' 78

fr/paris/lutece/plugins/identitystore/web/IndicatorsJspBean.java

Rule Violation Ligne
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

fr/paris/lutece/plugins/identitystore/web/RefCertificationLevelJspBean.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.ArrayList' 49

Fichiers

fr/paris/lutece/plugins/identitystore/business/application/ClientApplication.java

Rule Violation Priority Ligne
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 138141
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 143146
CommentRequired Public method and constructor comments are required 3 158161
CommentRequired Public method and constructor comments are required 3 163166
FormalParameterNamingConventions The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 163

fr/paris/lutece/plugins/identitystore/business/application/ClientApplicationDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 48371
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6981
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

fr/paris/lutece/plugins/identitystore/business/application/ClientApplicationHome.java

Rule Violation Priority Ligne
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 183186

fr/paris/lutece/plugins/identitystore/business/application/IClientApplicationDAO.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 68
CommentRequired Public method and constructor comments are required 3 143

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificate.java

Rule Violation Priority Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 3 96103
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 102
ConfusingTernary Avoid if (x != y) ..; else ..; 3 128135
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 134

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificateDAO.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeCertificateHome.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKey.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 48385
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 145148
FormalParameterNamingConventions The method parameter name '_strCommonSearchKeyName' doesn't match '[a-z][a-zA-Z0-9]*' 1 150
CommentRequired Public method and constructor comments are required 3 150153
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 202205
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 223226
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 360363
CommentRequired Public method and constructor comments are required 3 365368
FormalParameterNamingConventions The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 365

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKeyDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 48453
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 7287
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

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeKeyHome.java

Rule Violation Priority Ligne
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 150153

fr/paris/lutece/plugins/identitystore/business/attribute/AttributeValue.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.sql.Timestamp' 4 37
CommentRequired Public method and constructor comments are required 3 5154
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 5659
CommentRequired Public method and constructor comments are required 3 6164
CommentRequired Public method and constructor comments are required 3 6669
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 7174
CommentRequired Public method and constructor comments are required 3 7679
FormalParameterNamingConventions The method parameter name '_strLabel' doesn't match '[a-z][a-zA-Z0-9]*' 1 76

fr/paris/lutece/plugins/identitystore/business/attribute/IAttributeKeyDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 45164
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

fr/paris/lutece/plugins/identitystore/business/attribute/KeyType.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.util.Optional' 4 44
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 60
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 60
FieldNamingConventions The constant name '_mapKeyType' doesn't match '[A-Z][A-Z_0-9]*' 1 60
FieldNamingConventions The final field name '_nId' doesn't match '[a-z][a-zA-Z0-9]*' 1 61
FieldNamingConventions The final field name '_strCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 62

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertification.java

Rule Violation Priority Ligne
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 97101

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertificationDAO.java

Rule Violation Priority Ligne
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 236239
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeCertificationHome.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRequirementDAO.java

Rule Violation Priority Ligne
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 228231
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRequirementHome.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRight.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 122125
CommentRequired Public method and constructor comments are required 3 127130
FormalParameterNamingConventions The method parameter name '_bMandatory' doesn't match '[a-z][a-zA-Z0-9]*' 1 127

fr/paris/lutece/plugins/identitystore/business/contract/AttributeRightDAO.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/IAttributeCertificationDAO.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 57
CommentRequired Public method and constructor comments are required 3 131

fr/paris/lutece/plugins/identitystore/business/contract/IAttributeRequirementDAO.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/contract/IServiceContractDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 48156
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 149
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 155

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContract.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34525
TooManyFields Too many fields 3 51525
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 122126
CommentRequired Public method and constructor comments are required 3 149152
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 154157
CommentRequired Public method and constructor comments are required 3 201204
CommentRequired Public method and constructor comments are required 3 206209
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 274277
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 279282
CommentRequired Public method and constructor comments are required 3 284287
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 289292
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 294297
CommentRequired Public method and constructor comments are required 3 294297
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 299302
CommentRequired Public method and constructor comments are required 3 304307
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 304307
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 309312
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 314317
CommentRequired Public method and constructor comments are required 3 314317
CommentRequired Public method and constructor comments are required 3 319322
FormalParameterNamingConventions The method parameter name '_bAuthorizedSearch' doesn't match '[a-z][a-zA-Z0-9]*' 1 319
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 329332
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 350353
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 371374
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 392395
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 413416
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 429432
CommentRequired Public method and constructor comments are required 3 429432
CommentRequired Public method and constructor comments are required 3 434437
FormalParameterNamingConventions The method parameter name '_bAuthorizedDecertification' doesn't match '[a-z][a-zA-Z0-9]*' 1 434
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 439442
CommentRequired Public method and constructor comments are required 3 439442
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 444447
CommentRequired Public method and constructor comments are required 3 449452
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 454457
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 459462
CommentRequired Public method and constructor comments are required 3 459462
CommentRequired Public method and constructor comments are required 3 464467
CommentRequired Public method and constructor comments are required 3 469472
CommentRequired Public method and constructor comments are required 3 474477
CommentRequired Public method and constructor comments are required 3 479482
CommentRequired Public method and constructor comments are required 3 484487
CommentRequired Public method and constructor comments are required 3 489492
CommentRequired Public method and constructor comments are required 3 494497
CommentRequired Public method and constructor comments are required 3 499502
CommentRequired Public method and constructor comments are required 3 504507
FormalParameterNamingConventions The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 504

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContractDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 53509
AvoidDuplicateLiterals The String literal "SELECT" appears 7 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 88
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 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 188
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 204
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 231234
MissingBreakInSwitch A switch statement does not contain a break 3 235273
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 246251
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 254
AvoidDuplicateLiterals The String literal "%' " appears 4 times in this file; the first occurrence is on line 254 3 254
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 258
ShortVariable Avoid variables with short names like i 3 271
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 278
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 305
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 318
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 371
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 396399
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 404
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 428
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 449
MissingOverride The method 'selectAllServiceContractsList(Plugin)' is missing an @Override annotation. 3 463476
CommentRequired Public method and constructor comments are required 3 463476
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 466

fr/paris/lutece/plugins/identitystore/business/contract/ServiceContractHome.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 61339
FieldNamingConventions The constant name '_serviceContractDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 63
FieldNamingConventions The constant name '_refCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 64
FieldNamingConventions The constant name '_refAttributeCertificationProcessusDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 65
FieldNamingConventions The constant name '_refAttributeCertificationLevelDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 67
FieldNamingConventions The constant name '_attributeRequirementDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 69
FieldNamingConventions The constant name '_attributeCertificationDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 70
FieldNamingConventions The constant name '_attributeRightDAO' doesn't match '[A-Z][A-Z_0-9]*' 1 71
FieldNamingConventions The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' 1 72
CommentRequired Public method and constructor comments are required 3 243250
CommentRequired Public method and constructor comments are required 3 252259
CommentRequired Public method and constructor comments are required 3 261290
CommentRequired Public method and constructor comments are required 3 292295
CommentRequired Public method and constructor comments are required 3 297300
CommentRequired Public method and constructor comments are required 3 302305
CommentRequired Public method and constructor comments are required 3 307310
CommentRequired Public method and constructor comments are required 3 312315
CommentRequired Public method and constructor comments are required 3 317321
CommentRequired Public method and constructor comments are required 3 323327
CommentRequired Public method and constructor comments are required 3 329333
CommentRequired Public method and constructor comments are required 3 335338

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/ExcludedIdentities.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3895
CommentRequired Public method and constructor comments are required 3 4649
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 5154
CommentRequired Public method and constructor comments are required 3 5659
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 6164
CommentRequired Public method and constructor comments are required 3 6669
CommentRequired Public method and constructor comments are required 3 7174
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 7679
CommentRequired Public method and constructor comments are required 3 8184
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 8689
CommentRequired Public method and constructor comments are required 3 9194
FormalParameterNamingConventions The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 91

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/ISuspiciousIdentityDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 48259
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 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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentity.java

Rule Violation Priority Ligne
FieldNamingConventions The field name 'lock' doesn't match '_[a-z][a-zA-Z0-9]*' 1 61
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 62
FieldNamingConventions The field name 'metadata' doesn't match '_[a-z][a-zA-Z0-9]*' 1 62
FormalParameterNamingConventions The method parameter name '_nIdDuplicateRule' doesn't match '[a-z][a-zA-Z0-9]*' 1 122
FormalParameterNamingConventions The method parameter name '_strDuplicateRuleCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 143
CommentRequired Public method and constructor comments are required 3 148151
CommentRequired Public method and constructor comments are required 3 153156
CommentRequired Public method and constructor comments are required 3 158161
CommentRequired Public method and constructor comments are required 3 163166
CommentRequired Public method and constructor comments are required 3 168171

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 62794
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 155164
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 176
ConfusingTernary Avoid if (x != y) ..; else ..; 3 195204
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 220
ConfusingTernary Avoid if (x != y) ..; else ..; 3 239248
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 323407
CyclomaticComplexity The method 'selectSuspiciousIdentitysList(String, List, Integer, Integer, Plugin)' has a cyclomatic complexity of 14. 3 323407
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 388397
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 515518
ConfusingTernary Avoid if (x != y) ..; else ..; 3 545554
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

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityHome.java

Rule Violation Priority Ligne
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 55384
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 234237
CommentRequired Public method and constructor comments are required 3 239242
CommentRequired Public method and constructor comments are required 3 288291
CommentRequired Public method and constructor comments are required 3 293296
CommentRequired Public method and constructor comments are required 3 298308
CommentRequired Public method and constructor comments are required 3 310313
CommentRequired Public method and constructor comments are required 3 315318
CommentRequired Public method and constructor comments are required 3 320323
CyclomaticComplexity The method 'manageLock(String, String, String, boolean)' has a cyclomatic complexity of 19. 3 325367
CommentRequired Public method and constructor comments are required 3 325367
NPathComplexity The method 'manageLock(String, String, String, boolean)' has an NPath complexity of 768 3 325367
CommentRequired Public method and constructor comments are required 3 369372
CommentRequired Public method and constructor comments are required 3 374377
CommentRequired Public method and constructor comments are required 3 379382

fr/paris/lutece/plugins/identitystore/business/duplicates/suspicions/SuspiciousIdentityLock.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3884
CommentRequired Public method and constructor comments are required 3 4548
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 5053
CommentRequired Public method and constructor comments are required 3 5558
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 6063
CommentRequired Public method and constructor comments are required 3 6568
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 7073
CommentRequired Public method and constructor comments are required 3 7578
CommentRequired Public method and constructor comments are required 3 8083
FormalParameterNamingConventions The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 80

fr/paris/lutece/plugins/identitystore/business/identity/IIdentityDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 54385
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 277278
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 277278
CommentRequired Public method and constructor comments are required 3 375
CommentRequired Public method and constructor comments are required 3 377
CommentRequired Public method and constructor comments are required 3 384

fr/paris/lutece/plugins/identitystore/business/identity/Identity.java

Rule Violation Priority Ligne
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 216219
CommentRequired Public method and constructor comments are required 3 221224
CommentRequired Public method and constructor comments are required 3 226229
CommentRequired Public method and constructor comments are required 3 231234
CommentRequired Public method and constructor comments are required 3 236239
CommentRequired Public method and constructor comments are required 3 241244
CommentRequired Public method and constructor comments are required 3 246249
CommentRequired Public method and constructor comments are required 3 251254
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 256259
CommentRequired Public method and constructor comments are required 3 261264
CommentRequired Public method and constructor comments are required 3 266269
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 271274
CommentRequired Public method and constructor comments are required 3 276279
CommentRequired Public method and constructor comments are required 3 281284
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 286289
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 291294

fr/paris/lutece/plugins/identitystore/business/identity/IdentityAttribute.java

Rule Violation Priority Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 3 202209
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 208

fr/paris/lutece/plugins/identitystore/business/identity/IdentityAttributeDAO.java

Rule Violation Priority Ligne
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 228254
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 300335
CommentRequired Public method and constructor comments are required 3 337367
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 357

fr/paris/lutece/plugins/identitystore/business/identity/IdentityAttributeHome.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/identity/IdentityConstants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'IdentityConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 4171

fr/paris/lutece/plugins/identitystore/business/identity/IdentityDAO.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 4 49
ExcessiveClassLength Avoid really long classes. 3 701211
TooManyMethods This class has too many methods, consider refactoring it. 3 711211
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 182
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 254
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 281
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 288
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 311
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 360
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 379
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 398
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 417
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 436
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 507
CyclomaticComplexity The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has a cyclomatic complexity of 16. 3 526587
NPathComplexity The method 'selectByAttributesValueForApiSearch(List, int, Plugin)' has an NPath complexity of 1026 3 526587
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 529
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 529
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 575
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 591
AvoidDuplicateLiterals The String literal "1=1" appears 10 times in this file; the first occurrence is on line 608 3 608
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 611
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 625
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 648
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 676
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 708
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 735
NPathComplexity The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has an NPath complexity of 666 3 749804
CyclomaticComplexity The method 'addUpdatedIdentitiesFilters(Integer, List, List, Integer, StringBuilder)' has a cyclomatic complexity of 13. 3 749804
AvoidDuplicateLiterals The String literal " AND " appears 8 times in this file; the first occurrence is on line 755 3 755
MissingOverride The method 'selectUpdatedFromIds(List, Plugin)' is missing an @Override annotation. 3 809829
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 815
NPathComplexity The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has an NPath complexity of 20736 3 835909
CyclomaticComplexity The method 'selectIdentityHistoryBySearchParameters(String, String, String, IdentityChangeType, String, String, Date, Map, Integer, Pair, Plugin, int)' has a cyclomatic complexity of 21. 3 835909
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 835837
ExcessiveParameterList Avoid long parameter lists. 3 835837
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 845
ConfusingTernary Avoid if (x != y) ..; else ..; 3 846
ConfusingTernary Avoid if (x != y) ..; else ..; 3 849
ConfusingTernary Avoid if (x != y) ..; else ..; 3 852860
ConfusingTernary Avoid if (x != y) ..; else ..; 3 862889
ConfusingTernary Avoid if (x != y) ..; else ..; 3 868888
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 891
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 922
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 925
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 927
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 947
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 968
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 999
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1017
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1034
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1052
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1070
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1088
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 1091
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1106
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1123
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1140
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1160
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 1178
CommentRequired Public method and constructor comments are required 3 11901202

fr/paris/lutece/plugins/identitystore/business/identity/IdentityHome.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 59532
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 115118
CommentRequired Public method and constructor comments are required 3 132135
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 204206
ExcessiveParameterList Avoid long parameter lists. 3 204206
ConfusingTernary Avoid if (x != y) ..; else ..; 3 273
CommentRequired Public method and constructor comments are required 3 513516
CommentRequired Public method and constructor comments are required 3 518521
CommentRequired Public method and constructor comments are required 3 523526
CommentRequired Public method and constructor comments are required 3 528531

fr/paris/lutece/plugins/identitystore/business/identity/IndicatorsActionsType.java

Rule Violation Priority Ligne
DataClass The class 'IndicatorsActionsType' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 360
CommentRequired Header comments are required 3 360
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

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefAttributeCertificationLevelDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 47140
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 132133
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

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefAttributeCertificationProcessusDAO.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 126

fr/paris/lutece/plugins/identitystore/business/referentiel/IRefCertificationLevelDAO.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 126

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevel.java

Rule Violation Priority Ligne
DataClass The class 'RefAttributeCertificationLevel' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=6, WMC=8) 3 43104
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevelDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 52424
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 248251
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationLevelHome.java

Rule Violation Priority Ligne
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 153156
CommentRequired Public method and constructor comments are required 3 158161

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessus.java

Rule Violation Priority Ligne
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 8386
CommentRequired Public method and constructor comments are required 3 8891
CommentRequired Public method and constructor comments are required 3 9396
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 98101
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 114

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessusDAO.java

Rule Violation Priority Ligne
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 215218
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

fr/paris/lutece/plugins/identitystore/business/referentiel/RefAttributeCertificationProcessusHome.java

Rule Violation Priority Ligne
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 167170
CommentRequired Public method and constructor comments are required 3 172175
CommentRequired Public method and constructor comments are required 3 177183
CommentRequired Public method and constructor comments are required 3 185188

fr/paris/lutece/plugins/identitystore/business/referentiel/RefCertificationLevelDAO.java

Rule Violation Priority Ligne
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 220223
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 228

fr/paris/lutece/plugins/identitystore/business/referentiel/RefCertificationLevelHome.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRule.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 92308
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 92308
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 115133
ShortVariable Avoid variables with short names like i 3 117
CommentRequired Public method and constructor comments are required 3 140143
CommentRequired Public method and constructor comments are required 3 145148
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 150153
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 155158
CommentRequired Public method and constructor comments are required 3 160163
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 165168
CommentRequired Public method and constructor comments are required 3 170173
CommentRequired Public method and constructor comments are required 3 175178
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 180183
CommentRequired Public method and constructor comments are required 3 185188
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 190193
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 195198
CommentRequired Public method and constructor comments are required 3 200203
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 205208
CommentRequired Public method and constructor comments are required 3 210213
CommentRequired Public method and constructor comments are required 3 215218
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 220223
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 225228
CommentRequired Public method and constructor comments are required 3 230233
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 235238
CommentRequired Public method and constructor comments are required 3 240243
CommentRequired Public method and constructor comments are required 3 245248
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 250253
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 255258
CommentRequired Public method and constructor comments are required 3 260263
CommentRequired Public method and constructor comments are required 3 265268
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 278281
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 283286
CommentRequired Public method and constructor comments are required 3 288291
FormalParameterNamingConventions The method parameter name '_strAuthorName' doesn't match '[a-z][a-zA-Z0-9]*' 1 288

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleAttributeTreatment.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4484
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 4484
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 5053
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 5558
CommentRequired Public method and constructor comments are required 3 6063
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 6568
CommentRequired Public method and constructor comments are required 3 8083

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 53441
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/DuplicateRuleHome.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/duplicate/IDuplicateRuleDAO.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/business/rules/search/IIdentitySearchRuleDAO.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4097

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRule.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4278
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 4278
CommentRequired Public method and constructor comments are required 3 4952
CommentRequired Public method and constructor comments are required 3 5457
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 6972
CommentRequired Public method and constructor comments are required 3 7477
FormalParameterNamingConventions The final method parameter name '_listAttributes' doesn't match '[a-z][a-zA-Z0-9]*' 1 74

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRuleDAO.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 46222
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

fr/paris/lutece/plugins/identitystore/business/rules/search/IdentitySearchRuleHome.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 43124
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

fr/paris/lutece/plugins/identitystore/business/rules/search/SearchRuleType.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3640

fr/paris/lutece/plugins/identitystore/business/security/SecureMode.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3640

fr/paris/lutece/plugins/identitystore/business/user/InternalUser.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 46125
CommentRequired Header comments are required 3 46125
CommentRequired Public method and constructor comments are required 3 5562
CloneThrowsCloneNotSupportedException clone() method should throw CloneNotSupportedException 3 113124
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 122

fr/paris/lutece/plugins/identitystore/cache/ActiveServiceContractCache.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' 4 42
CommentRequired Header comments are required 3 50151
CommentRequired Public method and constructor comments are required 3 5558
CallSuperInConstructor It is a good practice to call super() in a constructor 3 5558
CommentRequired Public method and constructor comments are required 3 6076
CommentRequired Public method and constructor comments are required 3 7886
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 111120
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 131

fr/paris/lutece/plugins/identitystore/cache/AttributeKeyCache.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 46134
CallSuperInConstructor It is a good practice to call super() in a constructor 3 5053
CommentRequired Public method and constructor comments are required 3 5053
CommentRequired Public method and constructor comments are required 3 5560
CommentRequired Public method and constructor comments are required 3 6270
GuardLogStatement Logger calls should be surrounded by log level guards. 2 69
CommentRequired Public method and constructor comments are required 3 7280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 79
CommentRequired Public method and constructor comments are required 3 82106
EmptyCatchBlock Avoid empty catch blocks 3 9598
CommentRequired Public method and constructor comments are required 3 108117
CommentRequired Public method and constructor comments are required 3 119127

fr/paris/lutece/plugins/identitystore/cache/ClientApplicationCache.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.contract.ServiceContract' 4 38
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.contract.ServiceContractHome' 4 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' 4 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.ResourceNotFoundException' 4 42
UnusedImports Avoid unused imports such as 'org.apache.commons.collections.CollectionUtils' 4 45
UnusedImports Avoid unused imports such as 'java.util.Objects' 4 48
CommentRequired Header comments are required 3 51123
CommentRequired Public method and constructor comments are required 3 5659
CallSuperInConstructor It is a good practice to call super() in a constructor 3 5659
CommentRequired Public method and constructor comments are required 3 6165
GuardLogStatement Logger calls should be surrounded by log level guards. 2 80

fr/paris/lutece/plugins/identitystore/cache/DuplicateRulesCache.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 45129
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4952
CommentRequired Public method and constructor comments are required 3 4952
CommentRequired Public method and constructor comments are required 3 5459
CommentRequired Public method and constructor comments are required 3 6169
GuardLogStatement Logger calls should be surrounded by log level guards. 2 68
CommentRequired Public method and constructor comments are required 3 7179
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 104113
CommentRequired Public method and constructor comments are required 3 115122

fr/paris/lutece/plugins/identitystore/cache/IdentityAttributeValidationCache.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 45108
CommentRequired Public method and constructor comments are required 3 4952
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4952
CommentRequired Public method and constructor comments are required 3 5460
CommentRequired Public method and constructor comments are required 3 6270
GuardLogStatement Logger calls should be surrounded by log level guards. 2 69
CommentRequired Public method and constructor comments are required 3 7280
GuardLogStatement Logger calls should be surrounded by log level guards. 2 79
CommentRequired Public method and constructor comments are required 3 8291
CommentRequired Public method and constructor comments are required 3 93101

fr/paris/lutece/plugins/identitystore/cache/IdentityDtoCache.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6972
CommentRequired Public method and constructor comments are required 3 6972
CommentRequired Public method and constructor comments are required 3 7478
CommentRequired Public method and constructor comments are required 3 8089
GuardLogStatement Logger calls should be surrounded by log level guards. 2 88
CommentRequired Public method and constructor comments are required 3 9198
GuardLogStatement Logger calls should be surrounded by log level guards. 2 97
CommentRequired Public method and constructor comments are required 3 100112
CommentRequired Public method and constructor comments are required 3 114126
CommentRequired Public method and constructor comments are required 3 146154

fr/paris/lutece/plugins/identitystore/cache/IdentityHistoryStatusCache.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 965
CallSuperInConstructor It is a good practice to call super() in a constructor 3 1316
CommentRequired Public method and constructor comments are required 3 1316
CommentRequired Public method and constructor comments are required 3 1822
CommentRequired Public method and constructor comments are required 3 2432
GuardLogStatement Logger calls should be surrounded by log level guards. 2 31
CommentRequired Public method and constructor comments are required 3 3442
GuardLogStatement Logger calls should be surrounded by log level guards. 2 41
CommentRequired Public method and constructor comments are required 3 4453
EmptyStatementNotInLoop An empty statement (semicolon) not part of a loop 3 49
CommentRequired Public method and constructor comments are required 3 5558

fr/paris/lutece/plugins/identitystore/cache/QualityBaseCache.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4083
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4548
CommentRequired Public method and constructor comments are required 3 4548
CommentRequired Public method and constructor comments are required 3 5055
CommentRequired Public method and constructor comments are required 3 5765
GuardLogStatement Logger calls should be surrounded by log level guards. 2 64
CommentRequired Public method and constructor comments are required 3 6776

fr/paris/lutece/plugins/identitystore/cache/RefAttributeCertificationDefinitionCache.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 43124
CommentRequired Public method and constructor comments are required 3 4750
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4750
CommentRequired Public method and constructor comments are required 3 5258
CommentRequired Public method and constructor comments are required 3 7180
GuardLogStatement Logger calls should be surrounded by log level guards. 2 79
CommentRequired Public method and constructor comments are required 3 8290
GuardLogStatement Logger calls should be surrounded by log level guards. 2 89
CommentRequired Public method and constructor comments are required 3 92105
CommentRequired Public method and constructor comments are required 3 107117
GuardLogStatement Logger calls should be surrounded by log level guards. 2 113114

fr/paris/lutece/plugins/identitystore/service/IdentityChangeListener.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 7290

fr/paris/lutece/plugins/identitystore/service/IdentityManagementResourceIdService.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6770
ShortVariable Avoid variables with short names like rt 3 78
ShortVariable Avoid variables with short names like p 3 84

fr/paris/lutece/plugins/identitystore/service/IdentityStorePlugin.java

Rule Violation Priority Ligne
UncommentedEmptyMethodBody Document empty method body 3 5051

fr/paris/lutece/plugins/identitystore/service/PurgeIdentityService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 66210
FieldNamingConventions The final field name '_notificationStoreService' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
CommentRequired Public method and constructor comments are required 3 7279
NonThreadSafeSingleton Singleton is not thread safe 3 7477
CyclomaticComplexity The method 'purge(RequestAuthor, String, List, int)' has a cyclomatic complexity of 13. 3 86189
ExcessiveMethodLength Avoid really long methods. 3 86189
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 73 characters appended. 3 88
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 95
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 95
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 160
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 160
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 160
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 167
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 167
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 167
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 171
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 171
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 171
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 175
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 175
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 175
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 179
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 182

fr/paris/lutece/plugins/identitystore/service/application/ClientApplicationService.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.cache.ActiveServiceContractCache' 4 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientChangeResponse' 4 44
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' 4 46
CommentRequired Header comments are required 3 51112
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 1 53
CommentRequired Public method and constructor comments are required 3 5764
NonThreadSafeSingleton Singleton is not thread safe 3 5962
CommentRequired Public method and constructor comments are required 3 6682
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 77
CommentRequired Public method and constructor comments are required 3 84101
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 96

fr/paris/lutece/plugins/identitystore/service/application/ClientNotFoundException.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3953
CommentRequired Header comments are required 3 3953

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeComparatorService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 999
TooManyMethods This class has too many methods, consider refactoring it. 3 999
CommentRequired Public method and constructor comments are required 3 1320
NonThreadSafeSingleton Singleton is not thread safe 3 1518
CyclomaticComplexity The method 'attributeValuesAreEqualAccordingToIndexMapping(String, String, String)' has a cyclomatic complexity of 10. 3 2248
CommentRequired Public method and constructor comments are required 3 2248
CommentRequired Public method and constructor comments are required 3 5053
CommentRequired Public method and constructor comments are required 3 5558
CommentRequired Public method and constructor comments are required 3 6063
CommentRequired Public method and constructor comments are required 3 6568
ConfusingTernary Avoid if (x != y) ..; else ..; 3 67
CommentRequired Public method and constructor comments are required 3 7073
ConfusingTernary Avoid if (x != y) ..; else ..; 3 72
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 72
CommentRequired Public method and constructor comments are required 3 7578
ConfusingTernary Avoid if (x != y) ..; else ..; 3 77
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 77
CommentRequired Public method and constructor comments are required 3 8083
ConfusingTernary Avoid if (x != y) ..; else ..; 3 82
CommentRequired Public method and constructor comments are required 3 8588
ConfusingTernary Avoid if (x != y) ..; else ..; 3 87
CommentRequired Public method and constructor comments are required 3 9093
ConfusingTernary Avoid if (x != y) ..; else ..; 3 92
CommentRequired Public method and constructor comments are required 3 9598
ConfusingTernary Avoid if (x != y) ..; else ..; 3 97

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeFormatterService.java

Rule Violation Priority Ligne
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 54342
CommentRequired Public method and constructor comments are required 3 6370
NonThreadSafeSingleton Singleton is not thread safe 3 6568
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
ConfusingTernary Avoid if (x != y) ..; else ..; 3 322
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

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeGeocodesAdjustmentService.java

Rule Violation Priority Ligne
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
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 58451
CommentRequired Header comments are required 3 58451
GodClass Possible God Class (WMC=59, ATFD=136, TCC=0.000%) 3 58451
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 63
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 3 63
CommentRequired Public method and constructor comments are required 3 6572
NonThreadSafeSingleton Singleton is not thread safe 3 6770
CommentRequired Public method and constructor comments are required 3 7881
CommentRequired Public method and constructor comments are required 3 83143
NPathComplexity The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has an NPath complexity of 288 3 83143
CyclomaticComplexity The method 'adjustGeocodesAttributes(IdentityChangeRequest, IdentityDto)' has a cyclomatic complexity of 15. 3 83143
ConfusingTernary Avoid if (x != y) ..; else ..; 3 9192
ConfusingTernary Avoid if (x != y) ..; else ..; 3 92
CollapsibleIfStatements These nested if statements could be combined 3 107139
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 128137
NcssCount The method 'adjustCountry(IdentityChangeRequest)' has a NCSS line count of 62. 3 145254
CyclomaticComplexity The method 'adjustCountry(IdentityChangeRequest)' has a cyclomatic complexity of 14. 3 145254
ExcessiveMethodLength Avoid really long methods. 3 145254
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 209215
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 226
ExcessiveMethodLength Avoid really long methods. 3 256399
CyclomaticComplexity The method 'adjustFrenchCity(IdentityChangeRequest)' has a cyclomatic complexity of 20. 3 256399
NcssCount The method 'adjustFrenchCity(IdentityChangeRequest)' has a NCSS line count of 79. 3 256399
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 280287
ConfusingTernary Avoid if (x != y) ..; else ..; 3 288349
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 290
ConfusingTernary Avoid if (x != y) ..; else ..; 3 306
ConfusingTernary Avoid if (x != y) ..; else ..; 3 357358
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 371
ConfusingTernary Avoid if (x != y) ..; else ..; 3 410444

fr/paris/lutece/plugins/identitystore/service/attribute/IdentityAttributeService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 67456
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 7785
NonThreadSafeSingleton Singleton is not thread safe 3 7983
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 190208
CommentRequired Public method and constructor comments are required 3 210227
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 229246
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 248265
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 324413
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 355362

fr/paris/lutece/plugins/identitystore/service/contract/AttributeCertificationDefinitionService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 44100
CommentRequired Header comments are required 3 44100
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 5058
NonThreadSafeSingleton Singleton is not thread safe 3 5256
CommentRequired Public method and constructor comments are required 3 6467
CommentRequired Public method and constructor comments are required 3 6972
CommentRequired Public method and constructor comments are required 3 7482
CommentRequired Public method and constructor comments are required 3 8488

fr/paris/lutece/plugins/identitystore/service/contract/RefAttributeCertificationDefinitionNotFoundException.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 4256

fr/paris/lutece/plugins/identitystore/service/contract/ServiceContractService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34797
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 79797
CommentRequired Header comments are required 3 79797
CyclomaticComplexity The class 'ServiceContractService' has a total cyclomatic complexity of 123 (highest 17). 3 79797
GodClass Possible God Class (WMC=123, ATFD=164, TCC=2.463%) 3 79797
TooManyMethods This class has too many methods, consider refactoring it. 3 80797
FieldNamingConventions The final field name '_cache' doesn't match '[a-z][a-zA-Z0-9]*' 1 82
CommentRequired Public method and constructor comments are required 3 8593
NonThreadSafeSingleton Singleton is not thread safe 3 8791
CommentRequired Public method and constructor comments are required 3 111118
CommentRequired Public method and constructor comments are required 3 120124
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 168
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 171
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 205
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 228
ShortVariable Avoid variables with short names like id 3 241
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 262
CyclomaticComplexity The method 'validateContractDefinition(ServiceContract, int)' has a cyclomatic complexity of 17. 3 276347
NPathComplexity The method 'validateContractDefinition(ServiceContract, int)' has an NPath complexity of 480 3 276347
CommentRequired Public method and constructor comments are required 3 349356
CyclomaticComplexity The method 'validateUpdateAuthorization(IdentityChangeRequest, IdentityDto, ServiceContract)' has a cyclomatic complexity of 10. 3 522544
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 737
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 760
CommentRequired Public method and constructor comments are required 3 771779

fr/paris/lutece/plugins/identitystore/service/daemon/LoggingDaemon.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4076
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
FieldNamingConventions The field name 'logs' doesn't match '_[a-z][a-zA-Z0-9]*' 1 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

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateRuleService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 49181
CommentRequired Header comments are required 3 49181
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 5563
NonThreadSafeSingleton Singleton is not thread safe 3 5761
ShortVariable Avoid variables with short names like id 3 175

fr/paris/lutece/plugins/identitystore/service/duplicate/DuplicateService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34184
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 70184
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 7678
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 94

fr/paris/lutece/plugins/identitystore/service/duplicate/IDuplicateService.java

Rule Violation Priority Ligne
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 4549
CommentRequired Public method and constructor comments are required 3 4748

fr/paris/lutece/plugins/identitystore/service/history/IdentityHistoryService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 60147
FieldNamingConventions The final field name '_identityHistoryCache' doesn't match '[a-z][a-zA-Z0-9]*' 1 64
FinalFieldCouldBeStatic This final field could be made static 3 65
FieldNamingConventions The final field name 'HISTORY_STATUS_LIST' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
CommentRequired Public method and constructor comments are required 3 6775
NonThreadSafeSingleton Singleton is not thread safe 3 6973
CommentRequired Public method and constructor comments are required 3 7794
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 7980
CommentRequired Public method and constructor comments are required 3 96125
CommentRequired Public method and constructor comments are required 3 143146

fr/paris/lutece/plugins/identitystore/service/identity/IdentityExportService.java

Rule Violation Priority Ligne
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 56119
CommentRequired Header comments are required 3 56119
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 7481
NonThreadSafeSingleton Singleton is not thread safe 3 7679
CyclomaticComplexity The method 'export(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. 3 92118
ConfusingTernary Avoid if (x != y) ..; else ..; 3 9596

fr/paris/lutece/plugins/identitystore/service/identity/IdentityQualityService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34301
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' 4 57
UnusedImports Avoid unused imports such as 'org.apache.commons.lang3.RegExUtils' 4 62
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 74301
CommentRequired Header comments are required 3 74301
FieldNamingConventions The constant name '_qualityBaseCache' doesn't match '[A-Z][A-Z_0-9]*' 1 76
CommentRequired Public method and constructor comments are required 3 8088
NonThreadSafeSingleton Singleton is not thread safe 3 8286
CommentRequired Public method and constructor comments are required 3 9497
CommentRequired Public method and constructor comments are required 3 99166
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 132135
ConfusingTernary Avoid if (x != y) ..; else ..; 3 195214
ConfusingTernary Avoid if (x != y) ..; else ..; 3 206
ConfusingTernary Avoid if (x != y) ..; else ..; 3 207210
CommentRequired Public method and constructor comments are required 3 217237
CyclomaticComplexity The method 'computeMatchScore(IdentityDto, List)' has a cyclomatic complexity of 10. 3 239300
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 254
EmptyCatchBlock Avoid empty catch blocks 3 262265
ConfusingTernary Avoid if (x != y) ..; else ..; 3 266275

fr/paris/lutece/plugins/identitystore/service/identity/IdentityService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34992
GodClass Possible God Class (WMC=113, ATFD=209, TCC=30.147%) 3 99992
CommentRequired Header comments are required 3 99992
CyclomaticComplexity The class 'IdentityService' has a total cyclomatic complexity of 113 (highest 12). 3 99992
TooManyMethods This class has too many methods, consider refactoring it. 3 100992
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 132139
NonThreadSafeSingleton Singleton is not thread safe 3 134137
CyclomaticComplexity The method 'create(IdentityChangeRequest, RequestAuthor, ServiceContract, List)' has a cyclomatic complexity of 10. 3 156207
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 240291
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
ExcessiveMethodLength Avoid really long methods. 3 320422
CyclomaticComplexity The method 'merge(Identity, Identity, IdentityDto, String, RequestAuthor, String, boolean, List)' has a cyclomatic complexity of 12. 3 320422
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 329
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 400
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 417
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 437
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 439
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 459
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 466
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 474
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 522528
CyclomaticComplexity The method 'search(String, String, ServiceContract, RequestAuthor)' has a cyclomatic complexity of 11. 3 548586
EmptyCatchBlock Avoid empty catch blocks 3 610613
EmptyCatchBlock Avoid empty catch blocks 3 638641
NPathComplexity The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has an NPath complexity of 432 3 696743
CyclomaticComplexity The method 'updateIdentity(Identity, IdentityDto, String, Map, boolean, boolean)' has a cyclomatic complexity of 12. 3 696743
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 791
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 3 793
CyclomaticComplexity The method 'uncertifyIdentity(String, List, String, RequestAuthor)' has a cyclomatic complexity of 12. 3 808872
ConfusingTernary Avoid if (x != y) ..; else ..; 3 813827
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 863
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 3 866
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 922
CyclomaticComplexity The method 'searchUpdatedIdentities(UpdatedIdentitySearchRequest)' has a cyclomatic complexity of 12. 3 939990
ConfusingTernary Avoid if (x != y) ..; else ..; 3 944989
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 968

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/Constants.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3656
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3656

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticClient.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 52563
TooManyMethods This class has too many methods, consider refactoring it. 3 53563
FieldNamingConventions The constant name '_mapper' doesn't match '[A-Z][A-Z_0-9]*' 1 54
FieldNamingConventions The final field name '_connexion' doesn't match '[a-z][a-zA-Z0-9]*' 1 56
FieldNamingConventions The final field name '_strServerUrl' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
AvoidDuplicateLiterals The String literal "_doc" appears 4 times in this file; the first occurrence is on line 115 3 115
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. 3 139
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 143
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 144
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 158
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 267
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 375
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 376
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 380
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 380
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 380
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 516527
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 542
CommentRequired Public method and constructor comments are required 3 548562
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 555

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticClientException.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3845
CommentRequired Header comments are required 3 3845
CommentRequired Public method and constructor comments are required 3 4044

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticConnexion.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34356
TooManyMethods This class has too many methods, consider refactoring it. 3 74356
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 102104
MethodNamingConventions The instance method name 'GET' doesn't match '[a-z][a-zA-Z0-9]*' 1 113123
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 132142
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 153169
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 180196
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 207224
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 235261
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 270285
UnnecessaryModifier Unnecessary modifier 'final' on resource specification '_httpClient': resource specifications are implicitly final 3 272

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/client/ElasticConnexionException.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 3851
CommentRequired Header comments are required 3 3851
CommentRequired Public method and constructor comments are required 3 4044
CommentRequired Public method and constructor comments are required 3 4650

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IIndexActionDao.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4051
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IdentityObjectDAO.java

Rule Violation Priority Ligne
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'daoUtil': resource specifications are implicitly final 3 81
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
AvoidReassigningParameters Avoid reassigning parameters such as 'nIndex' 2 117
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 163

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3896
CommentRequired Public method and constructor comments are required 3 4649
UncommentedEmptyConstructor Document empty constructor 3 4649
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 5155
FormalParameterNamingConventions The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 1 51
CommentRequired Public method and constructor comments are required 3 5760
CommentRequired Public method and constructor comments are required 3 6265
CommentRequired Public method and constructor comments are required 3 6770
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 7275
CommentRequired Public method and constructor comments are required 3 7780
CommentRequired Public method and constructor comments are required 3 8285
FormalParameterNamingConventions The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 1 82
FormalParameterNamingConventions The method parameter name '_dateIndex' doesn't match '[a-z][a-zA-Z0-9]*' 1 92

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionDao.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 46125
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionHome.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4373
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 4373
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 5257
CommentRequired Public method and constructor comments are required 3 5962
CommentRequired Public method and constructor comments are required 3 6467
CommentRequired Public method and constructor comments are required 3 6972

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/business/IndexActionType.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3641

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/listener/IdentityIndexListener.java

Rule Violation Priority Ligne
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 60165
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
FormalParameterNamingConventions The final method parameter name '_identityIndexer' doesn't match '[a-z][a-zA-Z0-9]*' 1 68
CommentRequired Public method and constructor comments are required 3 6872
FormalParameterNamingConventions The final method parameter name '_duplicateServiceElasticSearch' 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 13. 3 75111
GuardLogStatement Logger calls should be surrounded by log level guards. 2 86
GuardLogStatement Logger calls should be surrounded by log level guards. 2 92
GuardLogStatement Logger calls should be surrounded by log level guards. 2 97
ConfusingTernary Avoid if (x != y) ..; else ..; 3 124
ConfusingTernary Avoid if (x != y) ..; else ..; 3 125
ConfusingTernary Avoid if (x != y) ..; else ..; 3 126
ConfusingTernary Avoid if (x != y) ..; else ..; 3 127
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 158

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/AttributeObject.java

Rule Violation Priority Ligne
DataClass The class 'AttributeObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=22, WMC=24) 3 38182
CommentRequired Header comments are required 3 38182
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 5253
CommentRequired Public method and constructor comments are required 3 5266
CommentRequired Public method and constructor comments are required 3 6871
UncommentedEmptyConstructor Document empty constructor 3 6871

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/IdentityObject.java

Rule Violation Priority Ligne
DataClass The class 'IdentityObject' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=16, WMC=18) 3 43147
CommentRequired Header comments are required 3 43147
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 'deleteDate' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
FieldNamingConventions The field name 'monParisActive' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
FieldNamingConventions The field name 'attributes' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 52
CommentRequired Public method and constructor comments are required 3 5465
CommentRequired Public method and constructor comments are required 3 6770
UncommentedEmptyConstructor Document empty constructor 3 6770

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/BulkAction.java

Rule Violation Priority Ligne
DataClass The class 'BulkAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=10) 3 3898
CommentRequired Header comments are required 3 3898
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 4652
CommentRequired Public method and constructor comments are required 3 5459

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/BulkActionType.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3661

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/CustomSerializer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4462
ShortVariable Avoid variables with short names like o 3 48

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/alias/AliasAction.java

Rule Violation Priority Ligne
DataClass The class 'AliasAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 4076
CommentRequired Header comments are required 3 4076
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/model/internal/alias/AliasActions.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4261
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 4750

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IIdentityIndexer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4378
TooManyMethods This class has too many methods, consider refactoring it. 3 4478
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityIndexer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 65292
TooManyMethods This class has too many methods, consider refactoring it. 3 66292
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 7376
CommentRequired Public method and constructor comments are required 3 7881
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/service/IdentityObjectHome.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4586
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 4686
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/AbstractIndexTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3992
FieldNamingConventions The field name 'status' doesn't match '_[a-z][a-zA-Z0-9]*' 1 41
CommentRequired Protected method constructor comments are required 3 4353
CommentRequired Protected method constructor comments are required 3 5561

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/FullIndexTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 57199
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 6365
CommentRequired Public method and constructor comments are required 3 6365
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6365
UncommentedEmptyConstructor Document empty constructor 3 6365
CommentRequired Public method and constructor comments are required 3 6778
CommentRequired Public method and constructor comments are required 3 80155
ConfusingTernary Avoid if (x != y) ..; else ..; 3 87153
CommentRequired Public method and constructor comments are required 3 184198

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/IndexStatus.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 4 36
CommentRequired Header comments are required 3 41110
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 41110
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 4851
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 5356
CommentRequired Public method and constructor comments are required 3 5861
CommentRequired Public method and constructor comments are required 3 6366
CommentRequired Public method and constructor comments are required 3 6871
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 7380
CommentRequired Public method and constructor comments are required 3 8285
ConfusingTernary Avoid if (x != y) ..; else ..; 3 84
CommentRequired Public method and constructor comments are required 3 8790
CommentRequired Public method and constructor comments are required 3 9295
CommentRequired Public method and constructor comments are required 3 97100
CommentRequired Protected method constructor comments are required 3 102109
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 108

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/MissingIndexTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 57133
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 64130

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/index/task/UsingElasticConnection.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 927
CommentRequired Public method and constructor comments are required 3 1426

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/ASearchRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4379
CommentRequired Public method and constructor comments are required 3 4952
CommentRequired Public method and constructor comments are required 3 5466
CommentRequired Protected method constructor comments are required 3 68

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/AbstractMatchSerializer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4353
ShortVariable Avoid variables with short names like o 3 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/ComplexSearchRequest.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 5560
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 84
CyclomaticComplexity The method 'handleMultiAttributeSearch(SearchAttribute, InnerSearchRequest)' has a cyclomatic complexity of 11. 3 94136
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 121134
CyclomaticComplexity The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a cyclomatic complexity of 20. 3 143223
NcssCount The method 'addBoolCondition(String, String, AttributeTreatmentType, Bool, InnerSearchRequest)' has a NCSS line count of 69. 3 143223
MissingBreakInSwitch A switch statement does not contain a break 3 148166
MissingBreakInSwitch A switch statement does not contain a break 3 169186
MissingBreakInSwitch A switch statement does not contain a break 3 189204
MissingBreakInSwitch A switch statement does not contain a break 3 207220

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/ConnectionIdSearchRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4270
CommentRequired Public method and constructor comments are required 3 4650

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/CustomerIdSearchRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4270
CommentRequired Public method and constructor comments are required 3 4650

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/SpanMultiSerializer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4353
ShortVariable Avoid variables with short names like o 3 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/SpanTermSerializer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4353
ShortVariable Avoid variables with short names like o 3 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractContainer.java

Rule Violation Priority Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 3638
CommentRequired Header comments are required 3 3638
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3638

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractMatch.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4066
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4066
DataClass The class 'AbstractMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 4066
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/AbstractSpan.java

Rule Violation Priority Ligne
DataClass The class 'AbstractSpan' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 4066
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4066
CommentRequired Header comments are required 3 4066
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Bool.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4397
DataClass The class 'Bool' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 4397
ShortClassName Avoid short class names like Bool 4 4397
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/BoolContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3855
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 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Exists.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3649
FieldNamingConventions The field name 'field' doesn't match '_[a-z][a-zA-Z0-9]*' 1 38

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/ExistsContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3857
FieldNamingConventions The field name 'exists' doesn't match '_[a-z][a-zA-Z0-9]*' 1 41
CommentRequired Public method and constructor comments are required 3 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/InnerSearchRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 54305
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 6672
ConstructorCallsOverridableMethod Overridable method 'setQuery' called during object construction 1 69
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 75
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
AvoidDuplicateLiterals The String literal "attributes." appears 7 times in this file; the first occurrence is on line 137 3 137
AvoidDuplicateLiterals The String literal ".value" appears 5 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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Match.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3649
FieldNamingConventions The field name 'fuzziness' doesn't match '_[a-z][a-zA-Z0-9]*' 1 38

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4060
FieldNamingConventions The field name 'match' doesn't match '_[a-z][a-zA-Z0-9]*' 1 44
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4649
CommentRequired Public method and constructor comments are required 3 4649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchPhrase.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3639

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MatchPhraseContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4060
FieldNamingConventions The field name 'matchPhrase' doesn't match '_[a-z][a-zA-Z0-9]*' 1 44
CommentRequired Public method and constructor comments are required 3 4649
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiMatch.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3872
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 5356
CommentRequired Public method and constructor comments are required 3 5356
CommentRequired Public method and constructor comments are required 3 5861
MissingOverride The method 'setQuery(String)' is missing an @Override annotation. 3 5861

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiMatchContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3857
FieldNamingConventions The field name 'multiMatch' doesn't match '_[a-z][a-zA-Z0-9]*' 1 41
CommentRequired Public method and constructor comments are required 3 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiSearchAction.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3678
DataClass The class 'MultiSearchAction' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=7) 3 3678
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 4247

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/MultiSearchActionType.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3652

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/Query.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3853
FieldNamingConventions The field name 'bool' doesn't match '_[a-z][a-zA-Z0-9]*' 1 41

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMulti.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4059
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 4548

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3857
FieldNamingConventions The field name 'spanMulti' doesn't match '_[a-z][a-zA-Z0-9]*' 1 41
CommentRequired Public method and constructor comments are required 3 4346
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiFuzzyMatch.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4076
DataClass The class 'SpanMultiFuzzyMatch' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 4076
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanMultiFuzzyMatchContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4262
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 4851

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanNear.java

Rule Violation Priority Ligne
DataClass The class 'SpanNear' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=9) 3 4393
CommentRequired Header comments are required 3 4393
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanNearContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3857
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 4346
CommentRequired Public method and constructor comments are required 3 4346

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanTerm.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4066
DataClass The class 'SpanTerm' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 4066
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/request/SpanTermContainer.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4060
FieldNamingConventions The field name 'spanTerm' doesn't match '_[a-z][a-zA-Z0-9]*' 1 44
CommentRequired Public method and constructor comments are required 3 4649
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4649

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Hit.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 43108
DataClass The class 'Hit' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 43108
ShortClassName Avoid short class names like Hit 4 43108
FieldNamingConventions The field name 'index' doesn't match '_[a-z][a-zA-Z0-9]*' 1 46
ShortVariable Avoid variables with short names like id 3 48
FieldNamingConventions The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The field name 'score' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
FieldNamingConventions The field name 'source' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
ShortVariable Avoid variables with short names like id 3 69
ShortVariable Avoid variables with short names like o 3 95
ControlStatementBraces This statement should have braces 3 98

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Response.java

Rule Violation Priority Ligne
DataClass The class 'Response' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 44121
CommentRequired Header comments are required 3 44121
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Responses.java

Rule Violation Priority Ligne
DataClass The class 'Responses' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 4268
CommentRequired Header comments are required 3 4268
FieldNamingConventions The field name 'took' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
AvoidFieldNameMatchingTypeName It is somewhat confusing to have a field name matching the declaring class name 3 47
FieldNamingConventions The field name 'responses' doesn't match '_[a-z][a-zA-Z0-9]*' 1 47

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Result.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4381
DataClass The class 'Result' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) 3 4381
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Shard.java

Rule Violation Priority Ligne
DataClass The class 'Shard' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 4098
CommentRequired Header comments are required 3 4098
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/model/inner/response/Total.java

Rule Violation Priority Ligne
DataClass The class 'Total' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3963
CommentRequired Header comments are required 3 3963
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

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/service/IIdentitySearcher.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 48150
CommentRequired Public method and constructor comments are required 3 127149

fr/paris/lutece/plugins/identitystore/service/indexer/elastic/search/service/IdentitySearcher.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34309
CommentRequired Header comments are required 3 68309
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 7780
CommentRequired Public method and constructor comments are required 3 8285
ConfusingTernary Avoid if (x != y) ..; else ..; 3 98118
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 256

fr/paris/lutece/plugins/identitystore/service/indexer/search/ElasticSearchIdentityService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 59186
CommentRequired Header comments are required 3 59186
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 3 59186
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 173

fr/paris/lutece/plugins/identitystore/service/listeners/IdentityHistoryListener.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4665

fr/paris/lutece/plugins/identitystore/service/listeners/IdentityStoreNotifyListenerService.java

Rule Violation Priority Ligne
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 109112
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

fr/paris/lutece/plugins/identitystore/service/network/DelayedNetworkService.java

Rule Violation Priority Ligne
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 5861
CommentRequired Public method and constructor comments are required 3 6385
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 114147
CommentRequired Enum comments are required 3 155158
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
FieldNamingConventions The enum constant name 'debug' doesn't match '[A-Z][A-Z_0-9]*' 1 157

fr/paris/lutece/plugins/identitystore/service/network/NetworkSupplier.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 46
CommentRequired Public method and constructor comments are required 3 5
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 5

fr/paris/lutece/plugins/identitystore/service/search/DatabaseSearchIdentityService.java

Rule Violation Priority Ligne
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 3 50184
CommentRequired Header comments are required 3 50184
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 50184
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

fr/paris/lutece/plugins/identitystore/service/search/ISearchIdentityService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 49156
CommentRequired Public method and constructor comments are required 3 123155
EmptyCatchBlock Avoid empty catch blocks 3 135138
ConfusingTernary Avoid if (x != y) ..; else ..; 3 140150

fr/paris/lutece/plugins/identitystore/service/user/InternalUserService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3962
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 4451
NonThreadSafeSingleton Singleton is not thread safe 3 4649
CommentRequired Public method and constructor comments are required 3 5356
CommentRequired Public method and constructor comments are required 3 5861

fr/paris/lutece/plugins/identitystore/utils/Batch.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4080
CommentRequired Public method and constructor comments are required 3 4549
CallSuperInConstructor It is a good practice to call super() in a constructor 3 4549
CommentRequired Public method and constructor comments are required 3 5154
CommentRequired Public method and constructor comments are required 3 7679

fr/paris/lutece/plugins/identitystore/utils/Combinations.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4068
ClassNamingConventions The utility class name 'Combinations' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 4068
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 4168
CommentRequired Public method and constructor comments are required 3 4267
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 44

fr/paris/lutece/plugins/identitystore/utils/LoggingTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 37
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

fr/paris/lutece/plugins/identitystore/utils/Maps.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'Maps' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 4462
CommentRequired Header comments are required 3 4462
ShortClassName Avoid short class names like Maps 4 4462
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 4562
CommentRequired Public method and constructor comments are required 3 4661

fr/paris/lutece/plugins/identitystore/v3/web/request/AbstractIdentityStoreAppCodeRequest.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.application.ClientApplication' 4 36
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.business.application.ClientApplicationHome' 4 37
CommentRequired Header comments are required 3 51104
FieldNamingConventions The final field name '_strAppCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
CommentRequired Protected method constructor comments are required 3 6166

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientCreateRequest.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' 1 59

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientGetRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientUpdateRequest.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_clientApplicationDto' doesn't match '[a-z][a-zA-Z0-9]*' 1 59

fr/paris/lutece/plugins/identitystore/v3/web/request/application/ClientsGetRequest.java

Rule Violation Priority Ligne
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 127134

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ActiveServiceContractGetRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractCreateRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractGetRequest.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_nServiceContractId' doesn't match '[a-z][a-zA-Z0-9]*' 1 58

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractListGetRequest.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_strTargetClientCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 62

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractListSearchRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 2279
FieldNamingConventions The field name 'loadDetails' doesn't match '_[a-z][a-zA-Z0-9]*' 1 27
FieldNamingConventions The field name 'minEndDate' doesn't match '_[a-z][a-zA-Z0-9]*' 1 28
CommentRequired Public method and constructor comments are required 3 3035

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractPutEndDateRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/contract/ServiceContractUpdateRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistoryGetRequest.java

Rule Violation Priority Ligne
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 57124
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 6570
UncommentedEmptyMethodBody Document empty method body 3 9092
UncommentedEmptyMethodBody Document empty method body 3 9698
UncommentedEmptyMethodBody Document empty method body 3 102104
UncommentedEmptyMethodBody Document empty method body 3 108110

fr/paris/lutece/plugins/identitystore/v3/web/request/history/IdentityStoreHistorySearchRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 56117
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 6368

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCancelMergeRequest.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34195
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
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 186
UnusedLocalVariable Avoid unused local variables such as 'status'. 3 186

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreCreateRequest.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34172
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 95102

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreDeleteRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreExportRequest.java

Rule Violation Priority Ligne
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 60123
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 6772

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreGetRequest.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreGetUpdatedIdentitiesRequest.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' 1 62

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreImportRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 63179
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

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreMergeRequest.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34214
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 137140

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreSearchRequest.java

Rule Violation Priority Ligne
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 7581

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUncertifyRequest.java

Rule Violation Priority Ligne
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 67146
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 7581

fr/paris/lutece/plugins/identitystore/v3/web/request/identity/IdentityStoreUpdateRequest.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34222
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
FormalParameterNamingConventions The final method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 1 105
CommentRequired Public method and constructor comments are required 3 105113

fr/paris/lutece/plugins/identitystore/v3/web/request/referentiel/AttributeKeyListGetRequest.java

Rule Violation Priority Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 119

fr/paris/lutece/plugins/identitystore/v3/web/request/referentiel/LevelListGetRequest.java

Rule Violation Priority Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 119

fr/paris/lutece/plugins/identitystore/v3/web/request/referentiel/ProcessusListGetRequest.java

Rule Violation Priority Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 122

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/ClientValidator.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4174
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 4174
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 43
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 3 43
CommentRequired Public method and constructor comments are required 3 4552
NonThreadSafeSingleton Singleton is not thread safe 3 4750

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/DuplicateRuleValidator.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 726
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 726
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 1015
NonThreadSafeSingleton Singleton is not thread safe 3 1113
CommentRequired Public method and constructor comments are required 3 2025

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityAttributeValidator.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34539
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 80539
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 9199
NonThreadSafeSingleton Singleton is not thread safe 3 9397
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 153202
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 165171
CollapsibleIfStatements These nested if statements could be combined 3 167170
EmptyCatchBlock Avoid empty catch blocks 3 173176
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 182190
CyclomaticComplexity The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a cyclomatic complexity of 32. 3 238410
NcssCount The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has a NCSS line count of 70. 3 238410
ExcessiveMethodLength Avoid really long methods. 3 238410
NPathComplexity The method 'validatePivotAttributesIntegrity(IdentityDto, IdentityDto, boolean)' has an NPath complexity of 677376 3 238410
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 310318
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 329337
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 343
NPathComplexity The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has an NPath complexity of 544 3 431537
CyclomaticComplexity The method 'checkConnectedIdentityUpdate(List, IdentityDto)' has a cyclomatic complexity of 14. 3 431537
ExcessiveMethodLength Avoid really long methods. 3 431537
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 440441
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 442443
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 445446

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityChangeRequestValidator.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 5297
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 5297
FieldNamingConventions The final field name '_identityDtoCache' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
UnusedPrivateField Avoid unused private fields such as '_identityDtoCache'. 3 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 5865
NonThreadSafeSingleton Singleton is not thread safe 3 6063

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityDuplicateValidator.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34413
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' 4 52
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.sql.TransactionManager' 4 57
UnusedImports Avoid unused imports such as 'org.apache.commons.collections4.CollectionUtils' 4 58
CommentRequired Header comments are required 3 70413
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 70413
GodClass Possible God Class (WMC=51, ATFD=90, TCC=1.515%) 3 70413
TooManyMethods This class has too many methods, consider refactoring it. 3 71413
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 3 80
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 80
FieldNamingConventions The final field name '_duplicateServiceDatabase' doesn't match '[a-z][a-zA-Z0-9]*' 1 82
FieldNamingConventions The final field name '_duplicateServiceElasticSearch' doesn't match '[a-z][a-zA-Z0-9]*' 1 83
CommentRequired Public method and constructor comments are required 3 8592
NonThreadSafeSingleton Singleton is not thread safe 3 8790
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 265
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 3 321
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 324
AvoidInstanceofChecksInCatchClause An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 3 376
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 379

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityExportValidator.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4690
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 4690
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 3 50
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
CommentRequired Public method and constructor comments are required 3 5259
NonThreadSafeSingleton Singleton is not thread safe 3 5457
CommentRequired Public method and constructor comments are required 3 6588
CyclomaticComplexity The method 'validateExportRequest(IdentityExportRequest, ServiceContract)' has a cyclomatic complexity of 10. 3 6588

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentitySearchRequestValidator.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 55171
CommentRequired Header comments are required 3 55171
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 3 57
CommentRequired Public method and constructor comments are required 3 5966
NonThreadSafeSingleton Singleton is not thread safe 3 6164
CyclomaticComplexity The method 'checkRequiredAttributes(IdentitySearchRequest)' has a cyclomatic complexity of 14. 3 79141
CollapsibleIfStatements These nested if statements could be combined 3 104107
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 156166

fr/paris/lutece/plugins/identitystore/v3/web/request/validator/IdentityValidator.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.ResponseStatusFactory' 4 42
CommentRequired Header comments are required 3 49219
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 49219
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
AvoidFieldNameMatchingMethodName Field instance has the same name as a method 3 52
CommentRequired Public method and constructor comments are required 3 5461
NonThreadSafeSingleton Singleton is not thread safe 3 5659
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 81
CollapsibleIfStatements These nested if statements could be combined 3 210214

fr/paris/lutece/plugins/identitystore/v3/web/rs/ClientRestService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34213
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 8993
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 115120
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 142147
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 172176
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 203207

fr/paris/lutece/plugins/identitystore/v3/web/rs/CustomMapper.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4461
CommentRequired Public method and constructor comments are required 3 4954

fr/paris/lutece/plugins/identitystore/v3/web/rs/DtoConverter.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34506
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 90506
TooManyMethods This class has too many methods, consider refactoring it. 3 91506
CommentRequired Public method and constructor comments are required 3 150176
NcssCount The method 'convertContractToDto(ServiceContract)' has a NCSS line count of 64. 3 231318
CommentRequired Public method and constructor comments are required 3 419427
CommentRequired Public method and constructor comments are required 3 429437
CommentRequired Public method and constructor comments are required 3 439451
CommentRequired Public method and constructor comments are required 3 453474
CommentRequired Public method and constructor comments are required 3 476479
CommentRequired Public method and constructor comments are required 3 481497
CommentRequired Public method and constructor comments are required 3 499505

fr/paris/lutece/plugins/identitystore/v3/web/rs/HistoryRestService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 67131
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 8792
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 118123

fr/paris/lutece/plugins/identitystore/v3/web/rs/IRestService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4147
CommentRequired Public method and constructor comments are required 3 4346

fr/paris/lutece/plugins/identitystore/v3/web/rs/IdentityStoreRestService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34493
TooManyMethods This class has too many methods, consider refactoring it. 3 92493
UncommentedEmptyConstructor Document empty constructor 3 9698
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 9698
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 117122
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 145150
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
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 182186
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 213217
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 243248
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 275280
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 305309
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 333337
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 361366
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 398403
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 428433
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 457463
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 480485
CommentRequired Public method and constructor comments are required 3 480491

fr/paris/lutece/plugins/identitystore/v3/web/rs/IndexingRestService.java

Rule Violation Priority Ligne
FieldNamingConventions The field name 'fullIndexTask' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55

fr/paris/lutece/plugins/identitystore/v3/web/rs/IndicatorsRestService.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name 'PROPERTY_CURRENT_INDEX_ALIAS' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
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
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the objectMapper field if you want a default access modifier 3 72
ConfusingTernary Avoid if (x != y) ..; else ..; 3 183
EmptyCatchBlock Avoid empty catch blocks 3 187189
CommentRequired Header comments are required 3 193240
DataClass The class 'Action' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 193240
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

fr/paris/lutece/plugins/identitystore/v3/web/rs/ReferentielRestService.java

Rule Violation Priority Ligne
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 8286
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 106110
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 130134

fr/paris/lutece/plugins/identitystore/v3/web/rs/ServiceContractRestService.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34324
AvoidDuplicateLiterals The String literal "Service contract Found" appears 5 times in this file; the first occurrence is on line 94 3 94
AvoidDuplicateLiterals The String literal " with explanation message" appears 8 times in this file; the first occurrence is on line 95 3 95
AvoidDuplicateLiterals The String literal "Failure" appears 8 times in this file; the first occurrence is on line 95 3 95
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 98102
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 126132
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 155160
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 184189
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 215220
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 245249
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 277282
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 311316

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtClientAuthorizationExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 57
ShortVariable Avoid variables with short names like e 3 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtDuplicatesConsistencyExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 57
ShortVariable Avoid variables with short names like e 3 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 60

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtIdentityStoreExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 59

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtJerseyExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 51

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtRequestContentFormattingExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 57
ShortVariable Avoid variables with short names like e 3 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtRequestFormatExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 57
ShortVariable Avoid variables with short names like e 3 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtResourceConsistencyExceptionMapper.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 1544
ShortVariable Avoid variables with short names like e 3 20
ShortVariable Avoid variables with short names like e 3 29

fr/paris/lutece/plugins/identitystore/v3/web/rs/error/UncaughtResourceNotFoundExceptionMapper.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like e 3 57
ShortVariable Avoid variables with short names like e 3 67

fr/paris/lutece/plugins/identitystore/v3/web/rs/swagger/SwaggerConfig.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4749

fr/paris/lutece/plugins/identitystore/v3/web/rs/swagger/SwaggerConstants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'SwaggerConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3996
ShortVariable Avoid variables with short names like ID 3 47

fr/paris/lutece/plugins/identitystore/web/AbstractManageProcessusRefJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 49116
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

fr/paris/lutece/plugins/identitystore/web/AdminIdentitiesJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 49101
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

fr/paris/lutece/plugins/identitystore/web/AttributeCertificateJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 53242
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 108
ConfusingTernary Avoid if (x != y) ..; else ..; 3 127

fr/paris/lutece/plugins/identitystore/web/AttributeKeyJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 61375
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

fr/paris/lutece/plugins/identitystore/web/DuplicateRulesJspBean.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34471
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 73471
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 381407
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

fr/paris/lutece/plugins/identitystore/web/IdentitiesHistoryJspBean.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 32195
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 32195
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
DefaultPackage Use explicit scoping instead of the default package private level 3 56
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _historyList field if you want a default access modifier 3 56
ImmutableField Private field '_listQuery' could be made final; it is only initialized in the declaration or constructor. 3 57
CommentRequired Public method and constructor comments are required 3 60139
CyclomaticComplexity The method 'getIdentitiesHistory(HttpServletRequest)' has a cyclomatic complexity of 20. 3 60139
NPathComplexity The method 'getIdentitiesHistory(HttpServletRequest)' has an NPath complexity of 7680 3 60139
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 6566
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6566
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 6768
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6768
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 6970
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6970
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 7172
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7172
LocalVariableNamingConventions The final local variable name 'author_name' doesn't match '[a-z][a-zA-Z0-9]*' 1 73
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7374
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 7374
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7576
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 7576
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7778
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

fr/paris/lutece/plugins/identitystore/web/IdentityJspBean.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34531
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
ExcessiveMethodLength Avoid really long methods. 3 158314
NPathComplexity The method 'getManageIdentitys(HttpServletRequest)' has an NPath complexity of 4105 3 158314
CyclomaticComplexity The method 'getManageIdentitys(HttpServletRequest)' has a cyclomatic complexity of 23. 3 158314
NcssCount The method 'getManageIdentitys(HttpServletRequest)' has a NCSS line count of 88. 3 158314
CommentRequired Public method and constructor comments are required 3 158314
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

fr/paris/lutece/plugins/identitystore/web/IdentitySearchRuleJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 63333
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

fr/paris/lutece/plugins/identitystore/web/IndexIdentityJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 52111
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 7387
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 106

fr/paris/lutece/plugins/identitystore/web/IndicatorsJspBean.java

Rule Violation Priority Ligne
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 2169
CommentRequired Header comments are required 3 2169
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 4768
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 60

fr/paris/lutece/plugins/identitystore/web/ManageClientApplicationJspBean.java

Rule Violation Priority Ligne
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

fr/paris/lutece/plugins/identitystore/web/ManageIdentitiesJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 50323
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
NcssCount The method 'getQueryParameters(HttpServletRequest)' has a NCSS line count of 60. 3 129228
NPathComplexity The method 'getQueryParameters(HttpServletRequest)' has an NPath complexity of 524288 3 129228
CommentRequired Protected method constructor comments are required 3 129228
CyclomaticComplexity The method 'getQueryParameters(HttpServletRequest)' has a cyclomatic complexity of 20. 3 129228
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
NPathComplexity The method 'clearParameters(HttpServletRequest)' has an NPath complexity of 262144 3 230322
CyclomaticComplexity The method 'clearParameters(HttpServletRequest)' has a cyclomatic complexity of 19. 3 230322
CommentRequired Protected method constructor comments are required 3 230322
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

fr/paris/lutece/plugins/identitystore/web/ManageServiceContractJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 51156
DefaultPackage Use explicit scoping instead of the default package private level 3 124
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 124
CommentRequired Protected method constructor comments are required 3 126155
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 128

fr/paris/lutece/plugins/identitystore/web/RefAttributeCertificationLevelJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 57300
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 136145
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 137145

fr/paris/lutece/plugins/identitystore/web/RefAttributeCertificationProcessusJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 65354
DefaultPackage Use explicit scoping instead of the default package private level 3 145154
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 146154
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

fr/paris/lutece/plugins/identitystore/web/RefCertificationLevelJspBean.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.util.ArrayList' 4 49
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 59295
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 133141
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 134141
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 228

fr/paris/lutece/plugins/identitystore/web/ServiceContractAttributeDefinitionDto.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 46120
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 5660
CommentRequired Public method and constructor comments are required 3 6771
LinguisticNaming Linguistics Antipattern - The setter 'setServiceContract' should not return any type except void linguistically 3 6771
LinguisticNaming Linguistics Antipattern - The setter 'setAttributeKey' should not return any type except void linguistically 3 7882
CommentRequired Public method and constructor comments are required 3 7882
CommentRequired Public method and constructor comments are required 3 8993
LinguisticNaming Linguistics Antipattern - The setter 'setRefCertificationLevel' should not return any type except void linguistically 3 8993
CommentRequired Public method and constructor comments are required 3 110114
LinguisticNaming Linguistics Antipattern - The setter 'setAttributeRight' should not return any type except void linguistically 3 110114

fr/paris/lutece/plugins/identitystore/web/ServiceContractJspBean.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34820
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 87820
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 207212
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 213
ConfusingTernary Avoid if (x != y) ..; else ..; 3 220228
DefaultPackage Use explicit scoping instead of the default package private level 3 246254
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 247254
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 440447
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 556588
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 597666
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 618628
ConfusingTernary Avoid if (x != y) ..; else ..; 3 635645
ConfusingTernary Avoid if (x != y) ..; else ..; 3 652662
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 774784
ConfusingTernary Avoid if (x != y) ..; else ..; 3 786792
ConfusingTernary Avoid if (x != y) ..; else ..; 3 794800
ConfusingTernary Avoid if (x != y) ..; else ..; 3 802808
ConfusingTernary Avoid if (x != y) ..; else ..; 3 810816