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/business/filesystem/FileSystemBlobStoreDAO.java
Rule |
Violation |
Ligne |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
197 |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
248 |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
274 |
fr/paris/lutece/plugins/blobstore/util/BlobStoreConstants.java
Rule |
Violation |
Ligne |
ClassNamingConventions |
The utility class name 'BlobStoreConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
41–55 |
Priority 3
fr/paris/lutece/plugins/blobstore/business/database/DatabaseBlobStoreDAO.java
fr/paris/lutece/plugins/blobstore/business/filesystem/FileSystemBlobStoreDAO.java
fr/paris/lutece/plugins/blobstore/service/BlobStoreFileStorageService.java
Rule |
Violation |
Ligne |
ImmutableField |
Private field '_blobStoreService' could be made final; it is only initialized in the declaration or constructor. |
74 |
CommentRequired |
Public method and constructor comments are required |
274–277 |
fr/paris/lutece/plugins/blobstore/service/BlobStorePlugin.java
fr/paris/lutece/plugins/blobstore/service/database/DatabaseBlobStoreService.java
fr/paris/lutece/plugins/blobstore/service/download/JSPBlobStoreDownloadUrlService.java
fr/paris/lutece/plugins/blobstore/service/filesystem/FileSystemBlobStoreService.java
fr/paris/lutece/plugins/blobstore/web/BlobStoreJspBean.java
Fichiers
fr/paris/lutece/plugins/blobstore/business/database/DatabaseBlobStoreDAO.java
fr/paris/lutece/plugins/blobstore/business/filesystem/FileSystemBlobStoreDAO.java
Rule |
Violation |
Priority |
Ligne |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
1 |
197 |
ShortVariable |
Avoid variables with short names like in |
3 |
198 |
UseTryWithResources |
Consider using a try-with-resources statement instead of explicitly closing the resource |
3 |
200–208 |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
1 |
248 |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
1 |
274 |
ShortVariable |
Avoid variables with short names like in |
3 |
275 |
UseTryWithResources |
Consider using a try-with-resources statement instead of explicitly closing the resource |
3 |
277–285 |
fr/paris/lutece/plugins/blobstore/service/BlobStoreFileStorageService.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_blobStoreService' could be made final; it is only initialized in the declaration or constructor. |
3 |
74 |
CommentRequired |
Public method and constructor comments are required |
3 |
274–277 |
fr/paris/lutece/plugins/blobstore/service/BlobStorePlugin.java
fr/paris/lutece/plugins/blobstore/service/database/DatabaseBlobStoreService.java
fr/paris/lutece/plugins/blobstore/service/download/JSPBlobStoreDownloadUrlService.java
fr/paris/lutece/plugins/blobstore/service/filesystem/FileSystemBlobStoreService.java
fr/paris/lutece/plugins/blobstore/util/BlobStoreConstants.java
Rule |
Violation |
Priority |
Ligne |
ClassNamingConventions |
The utility class name 'BlobStoreConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
41–55 |
fr/paris/lutece/plugins/blobstore/web/BlobStoreJspBean.java