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
163 89 0 0

Fichiers

Classe Bugs
fr.paris.lutece.plugins.directory.business.Directory 8
fr.paris.lutece.plugins.directory.business.DirectoryXslDAO 1
fr.paris.lutece.plugins.directory.business.Entry 3
fr.paris.lutece.plugins.directory.business.EntryDAO 1
fr.paris.lutece.plugins.directory.business.EntryHome 1
fr.paris.lutece.plugins.directory.business.EntryTypeArray 4
fr.paris.lutece.plugins.directory.business.EntryTypeCamera 1
fr.paris.lutece.plugins.directory.business.EntryTypeDate 1
fr.paris.lutece.plugins.directory.business.EntryTypeFile 1
fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation 3
fr.paris.lutece.plugins.directory.business.EntryTypeImg 1
fr.paris.lutece.plugins.directory.business.EntryTypeMyLuteceUser 1
fr.paris.lutece.plugins.directory.business.EntryTypeNumbering 1
fr.paris.lutece.plugins.directory.business.EntryTypeRemoteMyLuteceUser 1
fr.paris.lutece.plugins.directory.business.Field 2
fr.paris.lutece.plugins.directory.business.File 2
fr.paris.lutece.plugins.directory.business.IndexerActionDAO 1
fr.paris.lutece.plugins.directory.business.PhysicalFile 2
fr.paris.lutece.plugins.directory.business.Record 4
fr.paris.lutece.plugins.directory.business.RecordFieldFilter 4
fr.paris.lutece.plugins.directory.business.RecordFieldHome 1
fr.paris.lutece.plugins.directory.business.rss.DirectoryResourceRss 1
fr.paris.lutece.plugins.directory.service.directorysearch.DirectoryIndexer 1
fr.paris.lutece.plugins.directory.service.directorysearch.DirectoryLuceneSearchEngine 1
fr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService 2
fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler 1
fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler$DirectoryFileItem 2
fr.paris.lutece.plugins.directory.web.DirectoryJspBean 22
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields 12
fr.paris.lutece.plugins.directory.web.action.ExportDirectoryAction 3

fr.paris.lutece.plugins.directory.business.Directory

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.Directory.getDateCreation() may expose internal representation by returning Directory._tDateCreation MALICIOUS_CODE EI_EXPOSE_REP 366 Medium
fr.paris.lutece.plugins.directory.business.Directory.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into Directory._tDateCreation MALICIOUS_CODE EI_EXPOSE_REP2 377 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.directory.business.Directory._listenerDirectoryResourceRssConfigRemovalListener in fr.paris.lutece.plugins.directory.business.Directory.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 174-176 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.directory.business.Directory._listenerEntryDirectoryRemovalListener in fr.paris.lutece.plugins.directory.business.Directory.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 168-170 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.directory.business.Directory._listenerRegularExpression in fr.paris.lutece.plugins.directory.business.Directory.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 150-152 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.directory.business.Directory._listenerWorkflowRemovalListener in fr.paris.lutece.plugins.directory.business.Directory.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 162-164 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.directory.business.Directory._listenerWorkgroup in fr.paris.lutece.plugins.directory.business.Directory.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 144-146 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.directory.business.Directory._listenerXslRemovalListener in fr.paris.lutece.plugins.directory.business.Directory.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 156-158 Medium

fr.paris.lutece.plugins.directory.business.DirectoryXslDAO

Bug Catégorie Détails Ligne Priorité
Dead store to nIndex in fr.paris.lutece.plugins.directory.business.DirectoryXslDAO.selectList(DirectoryXslFilter, Plugin) STYLE DLS_DEAD_LOCAL_STORE 253 Medium

fr.paris.lutece.plugins.directory.business.Entry

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.Entry.addSearchCriteria(HashMap, RecordField) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 1110 Medium
Useless object stored in variable model of method fr.paris.lutece.plugins.directory.business.Entry.getHtmlFormEntryPopup(Locale, List, boolean) STYLE UC_USELESS_OBJECT 941 Medium
Useless object stored in variable model of method fr.paris.lutece.plugins.directory.business.Entry.getHtmlListEntry(Locale, List, boolean) STYLE UC_USELESS_OBJECT 976 Medium

fr.paris.lutece.plugins.directory.business.EntryDAO

Bug Catégorie Détails Ligne Priorité
Dead store to nIndex in fr.paris.lutece.plugins.directory.business.EntryDAO.selectEntryListByFilter(EntryFilter, Plugin) STYLE DLS_DEAD_LOCAL_STORE 769 Medium

fr.paris.lutece.plugins.directory.business.EntryHome

Bug Catégorie Détails Ligne Priorité
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.directory.business.EntryHome.getEntryListAnonymizeStatus(Plugin) STYLE REC_CATCH_EXCEPTION 242 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeArray

Bug Catégorie Détails Ligne Priorité
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.directory.business.EntryTypeArray.convertRecordFieldValueToString(RecordField, Locale, boolean, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 342 High
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.directory.business.EntryTypeArray.getEntryData(HttpServletRequest, Locale) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 179 High
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.directory.business.EntryTypeArray.isValid(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 405 High
fr.paris.lutece.plugins.directory.business.EntryTypeArray.addSearchCriteria(HashMap, RecordField) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 381 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeCamera

Bug Catégorie Détails Ligne Priorité
Unread field: fr.paris.lutece.plugins.directory.business.EntryTypeCamera.PREFIX_ENTRY_ID; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 85 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeDate

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.EntryTypeDate.addSearchCriteria(HashMap, RecordField) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 393 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeFile

Bug Catégorie Détails Ligne Priorité
Unread field: fr.paris.lutece.plugins.directory.business.EntryTypeFile.PREFIX_ENTRY_ID; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 75 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation.addSearchCriteria(HashMap, RecordField) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 486 Medium
Null passed for non-null parameter of Entry.convertRecordFieldTitleToString(RecordField, Locale, boolean) in fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation.convertRecordFieldTitleToString(RecordField, Locale, boolean) CORRECTNESS NP_NULL_PARAM_DEREF 773 Medium
Null passed for non-null parameter of Entry.convertRecordFieldValueToString(RecordField, Locale, boolean, boolean) in fr.paris.lutece.plugins.directory.business.EntryTypeGeolocation.convertRecordFieldValueToString(RecordField, Locale, boolean, boolean) CORRECTNESS NP_NULL_PARAM_DEREF 794 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeImg

Bug Catégorie Détails Ligne Priorité
Unread field: fr.paris.lutece.plugins.directory.business.EntryTypeImg.PREFIX_ENTRY_ID; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 101 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeMyLuteceUser

Bug Catégorie Détails Ligne Priorité
Redundant nullcheck of fr.paris.lutece.plugins.directory.business.EntryTypeMyLuteceUser.getTemplateHtmlRecordFieldValue(boolean), which is known to be non-null in fr.paris.lutece.plugins.directory.business.EntryTypeMyLuteceUser.getHtmlRecordFieldValue(Locale, RecordField, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 306 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeNumbering

Bug Catégorie Détails Ligne Priorité
Redundant nullcheck of fr.paris.lutece.plugins.directory.business.EntryTypeNumbering.getTemplateHtmlFormEntry(boolean), which is known to be non-null in fr.paris.lutece.plugins.directory.business.EntryTypeNumbering.getHtmlFormEntry(Locale, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 134 Medium

fr.paris.lutece.plugins.directory.business.EntryTypeRemoteMyLuteceUser

Bug Catégorie Détails Ligne Priorité
Redundant nullcheck of fr.paris.lutece.plugins.directory.business.EntryTypeRemoteMyLuteceUser.getTemplateHtmlRecordFieldValue(boolean), which is known to be non-null in fr.paris.lutece.plugins.directory.business.EntryTypeRemoteMyLuteceUser.getHtmlRecordFieldValue(Locale, RecordField, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 257 Medium

fr.paris.lutece.plugins.directory.business.Field

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.Field.getValueTypeDate() may expose internal representation by returning Field._tValueTypeDate MALICIOUS_CODE EI_EXPOSE_REP 314 Medium
fr.paris.lutece.plugins.directory.business.Field.setValueTypeDate(Date) may expose internal representation by storing an externally mutable object into Field._tValueTypeDate MALICIOUS_CODE EI_EXPOSE_REP2 325 Medium

fr.paris.lutece.plugins.directory.business.File

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.File.getDateExpiration() may expose internal representation by returning File._dateExpiration MALICIOUS_CODE EI_EXPOSE_REP 225 Medium
fr.paris.lutece.plugins.directory.business.File.setDateExpiration(Timestamp) may expose internal representation by storing an externally mutable object into File._dateExpiration MALICIOUS_CODE EI_EXPOSE_REP2 236 Medium

fr.paris.lutece.plugins.directory.business.IndexerActionDAO

Bug Catégorie Détails Ligne Priorité
Dead store to nIndex in fr.paris.lutece.plugins.directory.business.IndexerActionDAO.selectList(IndexerActionFilter, Plugin) STYLE DLS_DEAD_LOCAL_STORE 176 Medium

fr.paris.lutece.plugins.directory.business.PhysicalFile

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.PhysicalFile.getValue() may expose internal representation by returning PhysicalFile._byValue MALICIOUS_CODE EI_EXPOSE_REP 71 Medium
fr.paris.lutece.plugins.directory.business.PhysicalFile.setValue(byte[]) may expose internal representation by storing an externally mutable object into PhysicalFile._byValue MALICIOUS_CODE EI_EXPOSE_REP2 82 Medium

fr.paris.lutece.plugins.directory.business.Record

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.Record.getDateCreation() may expose internal representation by returning Record._tDateCreation MALICIOUS_CODE EI_EXPOSE_REP 137 Medium
fr.paris.lutece.plugins.directory.business.Record.getDateModification() may expose internal representation by returning Record._tDateModification MALICIOUS_CODE EI_EXPOSE_REP 158 Medium
fr.paris.lutece.plugins.directory.business.Record.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into Record._tDateCreation MALICIOUS_CODE EI_EXPOSE_REP2 148 Medium
fr.paris.lutece.plugins.directory.business.Record.setDateModification(Timestamp) may expose internal representation by storing an externally mutable object into Record._tDateModification MALICIOUS_CODE EI_EXPOSE_REP2 169 Medium

fr.paris.lutece.plugins.directory.business.RecordFieldFilter

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.business.RecordFieldFilter.getDateFirst() may expose internal representation by returning RecordFieldFilter._tDateFirst MALICIOUS_CODE EI_EXPOSE_REP 264 Medium
fr.paris.lutece.plugins.directory.business.RecordFieldFilter.getDateLast() may expose internal representation by returning RecordFieldFilter._tDateLast MALICIOUS_CODE EI_EXPOSE_REP 293 Medium
fr.paris.lutece.plugins.directory.business.RecordFieldFilter.setDateFirst(Timestamp) may expose internal representation by storing an externally mutable object into RecordFieldFilter._tDateFirst MALICIOUS_CODE EI_EXPOSE_REP2 275 Medium
fr.paris.lutece.plugins.directory.business.RecordFieldFilter.setDateLast(Timestamp) may expose internal representation by storing an externally mutable object into RecordFieldFilter._tDateLast MALICIOUS_CODE EI_EXPOSE_REP2 304 Medium

fr.paris.lutece.plugins.directory.business.RecordFieldHome

Bug Catégorie Détails Ligne Priorité
Null passed for non-null parameter of FileHome.create(File, Plugin) in fr.paris.lutece.plugins.directory.business.RecordFieldHome.copy(RecordField, Plugin) CORRECTNESS NP_NULL_PARAM_DEREF 99 Medium

fr.paris.lutece.plugins.directory.business.rss.DirectoryResourceRss

Bug Catégorie Détails Ligne Priorité
Possible null pointer dereference of entryDescription in fr.paris.lutece.plugins.directory.business.rss.DirectoryResourceRss.doValidateConfigForm(HttpServletRequest, Locale) CORRECTNESS NP_NULL_ON_SOME_PATH 298 Medium

fr.paris.lutece.plugins.directory.service.directorysearch.DirectoryIndexer

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.service.directorysearch.DirectoryIndexer.indexListRecord(IndexWriter, HashMap, Plugin) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 119 Medium

fr.paris.lutece.plugins.directory.service.directorysearch.DirectoryLuceneSearchEngine

Bug Catégorie Détails Ligne Priorité
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.directory.service.directorysearch.DirectoryLuceneSearchEngine.getSearchResults(HashMap) STYLE REC_CATCH_EXCEPTION 219 Medium

fr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService

Bug Catégorie Détails Ligne Priorité
Write to static field fr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService._directorySearchFactory from instance method new fr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 93 Medium
Write to static field fr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService._indexer from instance method new fr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 92 Medium

fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler._mapAsynchronousUpload isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 101 High

fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler$DirectoryFileItem

Bug Catégorie Détails Ligne Priorité
Found reliance on default encoding in fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler$DirectoryFileItem.getString(): new String(byte[]) I18N DM_DEFAULT_ENCODING 1118 High
Class fr.paris.lutece.plugins.directory.service.upload.DirectoryAsynchronousUploadHandler$DirectoryFileItem defines non-transient non-serializable instance field _fileItemHeaders BAD_PRACTICE SE_BAD_FIELD Non disponible Medium

fr.paris.lutece.plugins.directory.web.DirectoryJspBean

Bug Catégorie Détails Ligne Priorité
Found reliance on default encoding in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doImportDirectoryRecord(HttpServletRequest): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 3333 High
Found reliance on default encoding in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doImportField(HttpServletRequest): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 5334 High
fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getJspPrintHistory(HttpServletRequest, List, int) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 4937 Medium
Store of non serializable fr.paris.lutece.plugins.directory.business.RecordField into HttpSession in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getDirectoryRecordData(Record, HttpServletRequest) BAD_PRACTICE J2EE_STORE_OF_NON_SERIALIZABLE_OBJECT_INTO_SESSION 5640 High
Redundant nullcheck of directory, which is known to be non-null in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getResourceHistory(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4387 Medium
Nullcheck of record at line 4011 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doCopyDirectoryRecord(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 4011 Medium
Nullcheck of record at line 4103 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doDisableDirectoryRecord(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 4103 Medium
Nullcheck of record at line 4148 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doEnableDirectoryRecord(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 4148 Medium
Nullcheck of record at line 3834 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doModifyDirectoryRecord(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 3834 Medium
Nullcheck of record at line 4068 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getConfirmDisableDirectoryRecord(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 4068 Medium
Nullcheck of record at line 3749 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getModifyDirectoryRecord(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 3749 Medium
Nullcheck of record at line 5209 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getMyLuteceUserVisualisation(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 5209 Medium
Nullcheck of record at line 4438 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getRecordVisualisation(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 4438 Medium
Nullcheck of record at line 4345 of value previously dereferenced in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getResourceHistory(HttpServletRequest) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 4345 Medium
Suspicious comparison of Integer references in fr.paris.lutece.plugins.directory.web.DirectoryJspBean.moveUpEntryOrder(Plugin, int, IEntry, int) CORRECTNESS RC_REF_COMPARISON 5873 High
Class fr.paris.lutece.plugins.directory.web.DirectoryJspBean defines non-transient non-serializable instance field _directoryActionResult BAD_PRACTICE SE_BAD_FIELD Non disponible Medium
Class fr.paris.lutece.plugins.directory.web.DirectoryJspBean defines non-transient non-serializable instance field _recordService BAD_PRACTICE SE_BAD_FIELD Non disponible Medium
Useless object stored in variable recordFieldFilter of method fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doCopyEntry(HttpServletRequest) STYLE UC_USELESS_OBJECT 2060 Medium
Useless object stored in variable recordFieldFilter of method fr.paris.lutece.plugins.directory.web.DirectoryJspBean.doRemoveEntry(HttpServletRequest) STYLE UC_USELESS_OBJECT 2003 Medium
Useless object stored in variable recordFieldFilter of method fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getManageDirectoryRecord(HttpServletRequest, HttpServletResponse) STYLE UC_USELESS_OBJECT 3088 Medium
Useless object stored in variable filter of method fr.paris.lutece.plugins.directory.web.DirectoryJspBean.getRecordVisualisation(HttpServletRequest) STYLE UC_USELESS_OBJECT 4450 Medium
Useless object stored in variable filter of method fr.paris.lutece.plugins.directory.web.DirectoryJspBean.moveUpEntryOrder(Plugin, int, IEntry, int) STYLE UC_USELESS_OBJECT 5860 Medium

fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.getDateCreationBeginRecord() may expose internal representation by returning DefaultDirectorySearchFields._dateCreationBeginRecord MALICIOUS_CODE EI_EXPOSE_REP 100 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.getDateCreationEndRecord() may expose internal representation by returning DefaultDirectorySearchFields._dateCreationEndRecord MALICIOUS_CODE EI_EXPOSE_REP 110 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.getDateCreationRecord() may expose internal representation by returning DefaultDirectorySearchFields._dateCreationRecord MALICIOUS_CODE EI_EXPOSE_REP 120 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.getDateModificationBeginRecord() may expose internal representation by returning DefaultDirectorySearchFields._dateModificationBeginRecord MALICIOUS_CODE EI_EXPOSE_REP 407 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.getDateModificationEndRecord() may expose internal representation by returning DefaultDirectorySearchFields._dateModificationEndRecord MALICIOUS_CODE EI_EXPOSE_REP 423 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.getDateModificationRecord() may expose internal representation by returning DefaultDirectorySearchFields._dateModificationRecord MALICIOUS_CODE EI_EXPOSE_REP 439 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.setDateCreationBeginRecord(Date) may expose internal representation by storing an externally mutable object into DefaultDirectorySearchFields._dateCreationBeginRecord MALICIOUS_CODE EI_EXPOSE_REP2 200 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.setDateCreationEndRecord(Date) may expose internal representation by storing an externally mutable object into DefaultDirectorySearchFields._dateCreationEndRecord MALICIOUS_CODE EI_EXPOSE_REP2 210 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.setDateCreationRecord(Date) may expose internal representation by storing an externally mutable object into DefaultDirectorySearchFields._dateCreationRecord MALICIOUS_CODE EI_EXPOSE_REP2 220 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.setDateModificationBeginRecord(Date) may expose internal representation by storing an externally mutable object into DefaultDirectorySearchFields._dateModificationBeginRecord MALICIOUS_CODE EI_EXPOSE_REP2 399 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.setDateModificationEndRecord(Date) may expose internal representation by storing an externally mutable object into DefaultDirectorySearchFields._dateModificationEndRecord MALICIOUS_CODE EI_EXPOSE_REP2 415 Medium
fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields.setDateModificationRecord(Date) may expose internal representation by storing an externally mutable object into DefaultDirectorySearchFields._dateModificationRecord MALICIOUS_CODE EI_EXPOSE_REP2 431 Medium

fr.paris.lutece.plugins.directory.web.action.ExportDirectoryAction

Bug Catégorie Détails Ligne Priorité
physicalFile could be null and is guaranteed to be dereferenced in fr.paris.lutece.plugins.directory.web.action.ExportDirectoryAction.process(HttpServletRequest, HttpServletResponse, AdminUser, DirectoryAdminSearchFields) CORRECTNESS NP_GUARANTEED_DEREF 399 Medium
xmlTransformerService could be null and is guaranteed to be dereferenced in fr.paris.lutece.plugins.directory.web.action.ExportDirectoryAction.process(HttpServletRequest, HttpServletResponse, AdminUser, DirectoryAdminSearchFields) CORRECTNESS NP_GUARANTEED_DEREF 509 Medium
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.directory.web.action.ExportDirectoryAction.process(HttpServletRequest, HttpServletResponse, AdminUser, DirectoryAdminSearchFields) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 617 Medium