SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.5.3
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 12 |
11 |
0 |
0 |
fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO
| Bug |
Category |
Details |
Line |
Priority |
| Possible null pointer dereference in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.delete(String, String, Integer) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
89 |
Medium |
| Possible null pointer dereference in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.delete(String, String, Integer) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
99 |
Medium |
| Possible null pointer dereference in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.delete(String, String, Integer) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
106 |
Medium |
| Exceptional return value of java.io.File.mkdir() ignored in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.createDir(File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
68 |
Medium |
| Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.delete(String, String, Integer) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
91 |
Medium |
| Exceptional return value of java.io.File.mkdirs() ignored in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.insert(BytesBlobStore, String, Integer) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
168 |
Medium |
| Exceptional return value of java.io.File.mkdirs() ignored in fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO.insert(InputStreamBlobStore, String, Integer) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
190 |
Medium |
fr.paris.lutece.plugins.blobstore.service.BlobStoreFileStorageService
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in fr.paris.lutece.plugins.blobstore.service.BlobStoreFileStorageService.storeFile(File): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
272 |
High |
| new fr.paris.lutece.plugins.blobstore.service.BlobStoreFileStorageService(IFileDownloadUrlService, IFileRBACService, IBlobStoreService) may expose internal representation by storing an externally mutable object into BlobStoreFileStorageService._blobStoreService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
88 |
Medium |
fr.paris.lutece.plugins.blobstore.service.database.DatabaseBlobStoreService
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in fr.paris.lutece.plugins.blobstore.service.database.DatabaseBlobStoreService.storeFileItem(FileItem): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
228 |
High |
fr.paris.lutece.plugins.blobstore.service.filesystem.FileSystemBlobStoreService
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in fr.paris.lutece.plugins.blobstore.service.filesystem.FileSystemBlobStoreService.storeFileItem(FileItem): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
292 |
High |