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/blobstore/modules/rest/util/constants/BlobStoreRestConstants.java

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

Priority 3

fr/paris/lutece/plugins/blobstore/modules/rest/rs/BlobStoreRest.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34–273
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 100
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 100
ShortVariable Avoid variables with short names like t 103
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 138–141
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 142–145
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 190–193
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 194–197
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 198–201
UseTryWithResources Consider using a try-with-resources statement instead of explicitly closing the resource 235–264
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 253–256
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 257–260

Fichiers

fr/paris/lutece/plugins/blobstore/modules/rest/rs/BlobStoreRest.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34–273
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 100
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 100
ShortVariable Avoid variables with short names like t 3 103
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 138–141
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 142–145
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 190–193
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 194–197
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 198–201
UseTryWithResources Consider using a try-with-resources statement instead of explicitly closing the resource 3 235–264
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 253–256
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 257–260

fr/paris/lutece/plugins/blobstore/modules/rest/util/constants/BlobStoreRestConstants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'BlobStoreRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 41–73