Fork me on GitHub

Rapport FindBugs de détection des bugs

Le document suivant contient les résultats du FindBugs

La version de FindBugs est 3.0.1

La limite est

L'effort est max

Résumé

Classes Bugs Erreurs Classes Manquantes
25 18 0 0

Fichiers

Classe Bugs
fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub 4
fr.paris.lutece.plugins.address.business.axis.ElementNotFoundException 2
fr.paris.lutece.plugins.address.business.axis.InvalidParameterException 2
fr.paris.lutece.plugins.address.service.DummyAddressService 4
fr.paris.lutece.plugins.address.service.RestAddressService 2
fr.paris.lutece.plugins.address.service.WebServiceAddressService 1
fr.paris.lutece.plugins.address.service.WebServiceAddressService$AdresseElement 3

fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub.getAdresseHistory(String, long, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 666 Medium
fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub.getAdresseHistory(String, long, int) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 666 Medium
fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub.getAdresseInfo(String, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 621 Medium
fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub.isAdresseModify(String, long, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 408 Medium

fr.paris.lutece.plugins.address.business.axis.ElementNotFoundException

Bug Catégorie Détails Ligne Priorité
Dead store to other in fr.paris.lutece.plugins.address.business.axis.ElementNotFoundException.equals(Object) STYLE DLS_DEAD_LOCAL_STORE 17 Medium
Redundant nullcheck of obj, which is known to be non-null in fr.paris.lutece.plugins.address.business.axis.ElementNotFoundException.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 18 High

fr.paris.lutece.plugins.address.business.axis.InvalidParameterException

Bug Catégorie Détails Ligne Priorité
Dead store to other in fr.paris.lutece.plugins.address.business.axis.InvalidParameterException.equals(Object) STYLE DLS_DEAD_LOCAL_STORE 17 Medium
Redundant nullcheck of obj, which is known to be non-null in fr.paris.lutece.plugins.address.business.axis.InvalidParameterException.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 18 High

fr.paris.lutece.plugins.address.service.DummyAddressService

Bug Catégorie Détails Ligne Priorité
Found reliance on default encoding in fr.paris.lutece.plugins.address.service.DummyAddressService.getAdresseInfo(HttpServletRequest, long, boolean): new String(byte[]) I18N DM_DEFAULT_ENCODING 350 High
Found reliance on default encoding in fr.paris.lutece.plugins.address.service.DummyAddressService.getGeolocalisation(HttpServletRequest, long, String, String, boolean): new String(byte[]) I18N DM_DEFAULT_ENCODING 269 High
Found reliance on default encoding in fr.paris.lutece.plugins.address.service.DummyAddressService.searchAddress(HttpServletRequest, String): new String(byte[]) I18N DM_DEFAULT_ENCODING 107 High
Found reliance on default encoding in fr.paris.lutece.plugins.address.service.DummyAddressService.searchAddress(HttpServletRequest, String, String): new String(byte[]) I18N DM_DEFAULT_ENCODING 187 High

fr.paris.lutece.plugins.address.service.RestAddressService

Bug Catégorie Détails Ligne Priorité
There is an apparent infinite recursive loop in fr.paris.lutece.plugins.address.service.RestAddressService.getGeolocalisation(HttpServletRequest, String, String, boolean) CORRECTNESS IL_INFINITE_RECURSIVE_LOOP 326 High
Useless object stored in variable adresseReturn of method fr.paris.lutece.plugins.address.service.RestAddressService.jsonToGeoloc(JsonNode) STYLE UC_USELESS_OBJECT 285 Medium

fr.paris.lutece.plugins.address.service.WebServiceAddressService

Bug Catégorie Détails Ligne Priorité
Store of non serializable fr.paris.lutece.plugins.address.business.jaxb.wsSearchAdresse.Adresses into HttpSession in fr.paris.lutece.plugins.address.service.WebServiceAddressService.setListWSAdresses(HttpServletRequest, Adresses) BAD_PRACTICE J2EE_STORE_OF_NON_SERIALIZABLE_OBJECT_INTO_SESSION 762 High

fr.paris.lutece.plugins.address.service.WebServiceAddressService$AdresseElement

Bug Catégorie Détails Ligne Priorité
Equals method for fr.paris.lutece.plugins.address.service.WebServiceAddressService$AdresseElement assumes the argument is of type WebServiceAddressService$AdresseElement BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 839 Medium
fr.paris.lutece.plugins.address.service.WebServiceAddressService$AdresseElement.equals(Object) does not check for null argument BAD_PRACTICE NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT 839-841 Medium
Should fr.paris.lutece.plugins.address.service.WebServiceAddressService$AdresseElement be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 797-841 Medium