Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

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

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

Priority 3

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

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34273
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 138141
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 142145
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 190193
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 194197
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 198201
UseTryWithResources Consider using a try-with-resources statement instead of explicitly closing the resource 235264
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 253256
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 257260

Files

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

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34273
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 138141
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 142145
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 190193
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 194197
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 198201
UseTryWithResources Consider using a try-with-resources statement instead of explicitly closing the resource 3 235264
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 253256
IdenticalCatchBranches 'catch' branch identical to 'BeanDefinitionStoreException' branch 3 257260

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

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