Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
13 10 0 0

Files

Class Bugs
fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO 7
fr.paris.lutece.plugins.blobstore.service.BlobStoreFileStorageService 1
fr.paris.lutece.plugins.blobstore.service.database.DatabaseBlobStoreService 1
fr.paris.lutece.plugins.blobstore.service.filesystem.FileSystemBlobStoreService 1

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 271 High

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