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 |
25 |
18 |
0 |
0 |
fr.paris.lutece.plugins.address.business.axis.AdresseServiceHttpBindingStub
Bug |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
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 |