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
11 15 0 0

fr.paris.lutece.plugins.statistics.model.UserStatistic

Bug Category Details Line Priority
fr.paris.lutece.plugins.statistics.model.UserStatistic.getBirthday() may expose internal representation by returning UserStatistic.birthday MALICIOUS_CODE EI_EXPOSE_REP 138 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.getConnectionDate() may expose internal representation by returning UserStatistic.connectionDate MALICIOUS_CODE EI_EXPOSE_REP 122 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.getDemandClosureDate() may expose internal representation by returning UserStatistic.demandClosureDate MALICIOUS_CODE EI_EXPOSE_REP 218 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.getDemandCreationDate() may expose internal representation by returning UserStatistic.demandCreationDate MALICIOUS_CODE EI_EXPOSE_REP 210 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.setBirthday(Date) may expose internal representation by storing an externally mutable object into UserStatistic.birthday MALICIOUS_CODE EI_EXPOSE_REP2 142 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.setConnectionDate(Date) may expose internal representation by storing an externally mutable object into UserStatistic.connectionDate MALICIOUS_CODE EI_EXPOSE_REP2 126 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.setDemandClosureDate(Date) may expose internal representation by storing an externally mutable object into UserStatistic.demandClosureDate MALICIOUS_CODE EI_EXPOSE_REP2 222 Medium
fr.paris.lutece.plugins.statistics.model.UserStatistic.setDemandCreationDate(Date) may expose internal representation by storing an externally mutable object into UserStatistic.demandCreationDate MALICIOUS_CODE EI_EXPOSE_REP2 214 Medium

fr.paris.lutece.plugins.statistics.service.UserStatisticEncryptionService

Bug Category Details Line Priority
Found reliance on default encoding in new fr.paris.lutece.plugins.statistics.service.UserStatisticEncryptionService(): String.getBytes() I18N DM_DEFAULT_ENCODING 66 High
Found reliance on default encoding in fr.paris.lutece.plugins.statistics.service.UserStatisticEncryptionService.decrypt(String): String.getBytes() I18N DM_DEFAULT_ENCODING 135 High
Class fr.paris.lutece.plugins.statistics.service.UserStatisticEncryptionService defines non-transient non-serializable instance field iv BAD_PRACTICE SE_BAD_FIELD Not available High
Class fr.paris.lutece.plugins.statistics.service.UserStatisticEncryptionService defines non-transient non-serializable instance field keySpec BAD_PRACTICE SE_BAD_FIELD Not available High
javax.crypto.spec.DESedeKeySpec stored into non-transient field UserStatisticEncryptionService.keySpec BAD_PRACTICE SE_BAD_FIELD_STORE 73 High

fr.paris.lutece.plugins.statistics.tools.Encrypter

Bug Category Details Line Priority
Found reliance on default encoding in new fr.paris.lutece.plugins.statistics.tools.Encrypter(String, String): String.getBytes() I18N DM_DEFAULT_ENCODING 33 High
Found reliance on default encoding in fr.paris.lutece.plugins.statistics.tools.Encrypter.decrypt(String): String.getBytes() I18N DM_DEFAULT_ENCODING 70 High