FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
1386 280 0 0

Files

Class Bugs
org.rcfaces.core.component.AbstractBasicComponent 1
org.rcfaces.core.component.AbstractCommandComponent 1
org.rcfaces.core.component.AbstractDataComponent 1
org.rcfaces.core.component.AbstractGridComponent 1
org.rcfaces.core.component.AbstractInputComponent 1
org.rcfaces.core.component.AbstractMessageComponent 1
org.rcfaces.core.component.AbstractMessagesComponent 1
org.rcfaces.core.component.AbstractOutputComponent 1
org.rcfaces.core.component.AbstractSelectManyComponent 1
org.rcfaces.core.component.AbstractSeparatorComponent 1
org.rcfaces.core.component.ComboColumnComponent 1
org.rcfaces.core.component.ComponentsColumnComponent 1
org.rcfaces.core.component.DataColumnComponent 1
org.rcfaces.core.component.LineBreakComponent 1
org.rcfaces.core.component.MessageDialogComponent 1
org.rcfaces.core.component.NumberEntryComponent 1
org.rcfaces.core.component.RulerComponent 1
org.rcfaces.core.component.UIImageItemComponent 1
org.rcfaces.core.component.ViewDialogComponent 1
org.rcfaces.core.converter.ByteConverter 1
org.rcfaces.core.converter.IntegerConverter 1
org.rcfaces.core.converter.LongConverter 1
org.rcfaces.core.converter.ShortConverter 1
org.rcfaces.core.event.DropCompleteEvent 3
org.rcfaces.core.event.ServiceEvent 1
org.rcfaces.core.event.SortEvent 1
org.rcfaces.core.image.GeneratedImageInformation 2
org.rcfaces.core.image.GenerationImageInformation 2
org.rcfaces.core.internal.Constants 6
org.rcfaces.core.internal.RcfacesContext 2
org.rcfaces.core.internal.component.BasicComponentEngine 6
org.rcfaces.core.internal.component.BasicDeltaPropertiesAccessor 2
org.rcfaces.core.internal.component.BasicPropertiesAccessor 3
org.rcfaces.core.internal.component.BasicPropertiesManager 2
org.rcfaces.core.internal.component.PropertiesRepository 1
org.rcfaces.core.internal.component.UIData0 2
org.rcfaces.core.internal.config.BorderRenderersRegistryImpl$BorderRendererFacade 1
org.rcfaces.core.internal.config.BorderRenderersRegistryImpl$RenderKit 1
org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl 1
org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ClientValidator 2
org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ParametersContainer 1
org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ServerConverter 1
org.rcfaces.core.internal.config.ServicesRegistryImpl$ServiceFacade 2
org.rcfaces.core.internal.content.AbstractOperationContentModel 1
org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent 6
org.rcfaces.core.internal.content.FileBuffer 1
org.rcfaces.core.internal.contentAccessor.AbstractCompositeContentAccessorHandler$CompositeURLDescriptor 2
org.rcfaces.core.internal.contentAccessor.BasicGeneratedResourceInformation 1
org.rcfaces.core.internal.contentAccessor.BasicGenerationResourceInformation 1
org.rcfaces.core.internal.contentAccessor.ContentAccessorsRegistryImpl 1
org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$EndsWithRule 1
org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$RegExpPatternRule 1
org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$StartsWithRule 1
org.rcfaces.core.internal.contentStorage.ContentStorageAccessorHandler 1
org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl 1
org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest 4
org.rcfaces.core.internal.contentStorage.ContentStorageServlet 3
org.rcfaces.core.internal.contentStorage.GZipedResolvedContent 4
org.rcfaces.core.internal.converter.AdditionalInformationCardinalityConverter 1
org.rcfaces.core.internal.converter.AsyncDecodeModeConverter 1
org.rcfaces.core.internal.converter.AsyncRenderModeConverter 2
org.rcfaces.core.internal.converter.CalendarLayoutConverter 1
org.rcfaces.core.internal.converter.CalendarModeConverter 1
org.rcfaces.core.internal.converter.CardinalityConverter 1
org.rcfaces.core.internal.converter.CheckCardinalityConverter 1
org.rcfaces.core.internal.converter.ClientDatesStrategyConverter 1
org.rcfaces.core.internal.converter.ClientFullStateConverter 1
org.rcfaces.core.internal.converter.DragDropEffectsConverter 2
org.rcfaces.core.internal.converter.HiddenModeConverter 1
org.rcfaces.core.internal.converter.HorizontalTextPositionConverter 2
org.rcfaces.core.internal.converter.InputTypeConverter 1
org.rcfaces.core.internal.converter.KeyFlagsConverter 2
org.rcfaces.core.internal.converter.LayoutManagerTypeConverter 1
org.rcfaces.core.internal.converter.NumberFormatTypeConverter 1
org.rcfaces.core.internal.converter.PatchedNumberConverter 1
org.rcfaces.core.internal.converter.SelectionCardinalityConverter 1
org.rcfaces.core.internal.converter.StrategyListenerConverter 1
org.rcfaces.core.internal.converter.TextPositionConverter 1
org.rcfaces.core.internal.converter.VirtualKeyConverter 2
org.rcfaces.core.internal.converter.WeekDaysConverter 3
org.rcfaces.core.internal.facelets.CameliaConverterHandler 1
org.rcfaces.core.internal.facelets.FaceletViewHandler 1
org.rcfaces.core.internal.lang.ByteBufferInputStream 2
org.rcfaces.core.internal.lang.StringAppender$1 1
org.rcfaces.core.internal.lang.StringAppender2$1 1
org.rcfaces.core.internal.lang.StringTokenizer2 1
org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer0 1
org.rcfaces.core.internal.renderkit.AbstractProcessContext 2
org.rcfaces.core.internal.renderkit.AbstractProperties 1
org.rcfaces.core.internal.repository.AbstractRepository$LocalizedFile 1
org.rcfaces.core.internal.repository.BasicHierarchicalRepository 1
org.rcfaces.core.internal.repository.BasicHierarchicalRepository$HierarchicalFile 2
org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module 4
org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl 3
org.rcfaces.core.internal.repository.HierarchicalRepositoryServlet$HierarchicalRecord 1
org.rcfaces.core.internal.repository.RepositoryServlet$Record 2
org.rcfaces.core.internal.repository.SourceContainer 2
org.rcfaces.core.internal.repository.SourceContainer$BasicParameterizedContent 2
org.rcfaces.core.internal.repository.SourceContainer$SourceFile 1
org.rcfaces.core.internal.resource.IncludeResourceLoaderFactory$IncludeResourceLoader 3
org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceEventReturnValue 1
org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceImpl 1
org.rcfaces.core.internal.service.log.CommonsLogger 2
org.rcfaces.core.internal.service.log.Java14Logger 1
org.rcfaces.core.internal.service.log.Log4jLogger 1
org.rcfaces.core.internal.taglib.AbstractConverterCommandTag 1
org.rcfaces.core.internal.taglib.AbstractItemTag 1
org.rcfaces.core.internal.taglib.AbstractSeparatorTag 1
org.rcfaces.core.internal.taglib.CalendarTag 1
org.rcfaces.core.internal.taglib.CameliaTag 1
org.rcfaces.core.internal.taglib.ComponentsListTag 1
org.rcfaces.core.internal.taglib.DateItemTag 1
org.rcfaces.core.internal.taglib.ExpandableItemTag 1
org.rcfaces.core.internal.taglib.FieldSetTag 1
org.rcfaces.core.internal.taglib.FileItemTag 1
org.rcfaces.core.internal.taglib.FocusManagerTag 1
org.rcfaces.core.internal.taglib.HelpButtonTag 1
org.rcfaces.core.internal.taglib.HyperLinkTag 1
org.rcfaces.core.internal.taglib.ImageButtonTag 1
org.rcfaces.core.internal.taglib.ImageCheckButtonTag 1
org.rcfaces.core.internal.taglib.ImageComboTag 1
org.rcfaces.core.internal.taglib.ImagePagerButtonTag 1
org.rcfaces.core.internal.taglib.ImageRadioButtonTag 1
org.rcfaces.core.internal.taglib.ImageTag 1
org.rcfaces.core.internal.taglib.KeyLabelTag 1
org.rcfaces.core.internal.taglib.LineBreakTag 1
org.rcfaces.core.internal.taglib.MenuRadioItemTag 1
org.rcfaces.core.internal.taglib.MessageFieldSetTag 1
org.rcfaces.core.internal.taglib.MessageTag 1
org.rcfaces.core.internal.taglib.MessagesTag 1
org.rcfaces.core.internal.taglib.PagerTag 1
org.rcfaces.core.internal.taglib.PeriodClientDataTag 1
org.rcfaces.core.internal.taglib.ProgressBarTag 1
org.rcfaces.core.internal.taglib.RulerTag 1
org.rcfaces.core.internal.taglib.ScopeTag 1
org.rcfaces.core.internal.taglib.SelectImageItemTag 1
org.rcfaces.core.internal.taglib.SelectItemTag 1
org.rcfaces.core.internal.taglib.SelectItemsIteratorTag 1
org.rcfaces.core.internal.taglib.ServerDataTag 1
org.rcfaces.core.internal.taglib.SpinnerTag 1
org.rcfaces.core.internal.taglib.SubmitWaitTag 1
org.rcfaces.core.internal.taglib.TabTag 1
org.rcfaces.core.internal.taglib.TextEditorComboTag 1
org.rcfaces.core.internal.taglib.TextEditorImageButtonTag 1
org.rcfaces.core.internal.taglib.TextEditorToolFolderTag 1
org.rcfaces.core.internal.taglib.TextTag 1
org.rcfaces.core.internal.taglib.ToolItemSeparatorTag 1
org.rcfaces.core.internal.taglib.ToolItemTag 1
org.rcfaces.core.internal.taglib.TreeNodeTag 1
org.rcfaces.core.internal.taglib.UIImageItemTag 1
org.rcfaces.core.internal.taglib.ValidationParameterTag 1
org.rcfaces.core.internal.tools.ArrayIndexesModel 2
org.rcfaces.core.internal.tools.BindingTools 1
org.rcfaces.core.internal.tools.FilterExpressionTools$1 1
org.rcfaces.core.internal.tools.GridServerSort 2
org.rcfaces.core.internal.tools.GridServerSort$SortAlpha 1
org.rcfaces.core.internal.tools.GridServerSort$SortAlphaIgnoreCase 1
org.rcfaces.core.internal.tools.GridServerSort$SortDate 1
org.rcfaces.core.internal.tools.GridServerSort$SortDouble 1
org.rcfaces.core.internal.tools.GridServerSort$SortLong 2
org.rcfaces.core.internal.tools.GridTools 2
org.rcfaces.core.internal.tools.LocaleTools 1
org.rcfaces.core.internal.tools.SelectItemsIteratorTools$1 1
org.rcfaces.core.internal.tools.StateFieldMarkerTools 1
org.rcfaces.core.internal.tools.ValuesTools 2
org.rcfaces.core.internal.util.CachedChildrenList 1
org.rcfaces.core.internal.util.Convertor$1 2
org.rcfaces.core.internal.util.Convertor$2 2
org.rcfaces.core.internal.util.Convertor$5 2
org.rcfaces.core.internal.util.Convertor$6 2
org.rcfaces.core.internal.util.Delay 1
org.rcfaces.core.internal.util.ServletTools 1
org.rcfaces.core.internal.util.URLContentProvider 1
org.rcfaces.core.internal.util.json.JSONArray 5
org.rcfaces.core.internal.util.json.JSONObject 8
org.rcfaces.core.internal.util.json.JSONObject$Null 2
org.rcfaces.core.internal.util.json.JSONTokener 1
org.rcfaces.core.internal.validator.impl.DateChecker 1
org.rcfaces.core.internal.validator.impl.HourChecker 1
org.rcfaces.core.internal.validator.impl.NumFormatter 2
org.rcfaces.core.internal.version.HashCodeTools 1
org.rcfaces.core.internal.webapp.ConfiguredHttpServlet 1
org.rcfaces.core.internal.webapp.ExtendedHttpServlet 2
org.rcfaces.core.item.BasicSelectItem 2
org.rcfaces.core.item.BasicSelectItemGroup 2
org.rcfaces.core.item.DateItem 1
org.rcfaces.core.lang.OrderedSet 2
org.rcfaces.core.lang.Period 4
org.rcfaces.core.model.BasicContentModel 1
org.rcfaces.core.model.ClientFacesMessage 1
org.rcfaces.core.model.CollectionIndexesModel 1
org.rcfaces.core.preference.GridPreferences 1
org.rcfaces.core.util.ViewSessionPatchStateManager 2

org.rcfaces.core.component.AbstractBasicComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractBasicComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 206 Medium

org.rcfaces.core.component.AbstractCommandComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractCommandComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 229 Medium

org.rcfaces.core.component.AbstractDataComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractDataComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 231 Medium

org.rcfaces.core.component.AbstractGridComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractGridComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 275 Medium

org.rcfaces.core.component.AbstractInputComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractInputComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 234 Medium

org.rcfaces.core.component.AbstractMessageComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractMessageComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 215 Medium

org.rcfaces.core.component.AbstractMessagesComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractMessagesComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 213 Medium

org.rcfaces.core.component.AbstractOutputComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractOutputComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 215 Medium

org.rcfaces.core.component.AbstractSelectManyComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractSelectManyComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 235 Medium

org.rcfaces.core.component.AbstractSeparatorComponent

Bug Category Details Line Priority
org.rcfaces.core.component.AbstractSeparatorComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 40 Medium

org.rcfaces.core.component.ComboColumnComponent

Bug Category Details Line Priority
org.rcfaces.core.component.ComboColumnComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 162 Medium

org.rcfaces.core.component.ComponentsColumnComponent

Bug Category Details Line Priority
org.rcfaces.core.component.ComponentsColumnComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 104 Medium

org.rcfaces.core.component.DataColumnComponent

Bug Category Details Line Priority
org.rcfaces.core.component.DataColumnComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 167 Medium

org.rcfaces.core.component.LineBreakComponent

Bug Category Details Line Priority
org.rcfaces.core.component.LineBreakComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 82 Medium

org.rcfaces.core.component.MessageDialogComponent

Bug Category Details Line Priority
org.rcfaces.core.component.MessageDialogComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 85 Medium

org.rcfaces.core.component.NumberEntryComponent

Bug Category Details Line Priority
Method org.rcfaces.core.component.NumberEntryComponent.setNumber(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 181 Medium

org.rcfaces.core.component.RulerComponent

Bug Category Details Line Priority
org.rcfaces.core.component.RulerComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 111 Medium

org.rcfaces.core.component.UIImageItemComponent

Bug Category Details Line Priority
org.rcfaces.core.component.UIImageItemComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 57 Medium

org.rcfaces.core.component.ViewDialogComponent

Bug Category Details Line Priority
org.rcfaces.core.component.ViewDialogComponent.getVisibleState(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 122 Medium

org.rcfaces.core.converter.ByteConverter

Bug Category Details Line Priority
Method org.rcfaces.core.converter.ByteConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead PERFORMANCE DM_NUMBER_CTOR 32 Medium

org.rcfaces.core.converter.IntegerConverter

Bug Category Details Line Priority
Method org.rcfaces.core.converter.IntegerConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 31 Medium

org.rcfaces.core.converter.LongConverter

Bug Category Details Line Priority
Method org.rcfaces.core.converter.LongConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 31 Medium

org.rcfaces.core.converter.ShortConverter

Bug Category Details Line Priority
Method org.rcfaces.core.converter.ShortConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead PERFORMANCE DM_NUMBER_CTOR 31 Medium

org.rcfaces.core.event.DropCompleteEvent

Bug Category Details Line Priority
La méthode org.rcfaces.core.event.DropCompleteEvent.getTypes() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.event.DropCompleteEvent.types MALICIOUS_CODE EI_EXPOSE_REP 44 Medium
La méthode new org.rcfaces.core.event.DropCompleteEvent(UIComponent, Object, UIComponent, Object, int, String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.event.DropCompleteEvent.types MALICIOUS_CODE EI_EXPOSE_REP2 40 Medium
La classe org.rcfaces.core.event.DropCompleteEvent définit le champ d'instance org.rcfaces.core.event.DropCompleteEvent.sourceComponent non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.rcfaces.core.event.ServiceEvent

Bug Category Details Line Priority
La classe org.rcfaces.core.event.ServiceEvent définit le champ d'instance org.rcfaces.core.event.ServiceEvent.progressMonitor non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.rcfaces.core.event.SortEvent

Bug Category Details Line Priority
La classe org.rcfaces.core.event.SortEvent définit le champ d'instance org.rcfaces.core.event.SortEvent.sortConverter non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.rcfaces.core.image.GeneratedImageInformation

Bug Category Details Line Priority
Method org.rcfaces.core.image.GeneratedImageInformation.setImageHeight(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 36 Medium
Method org.rcfaces.core.image.GeneratedImageInformation.setImageWidth(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 49 Medium

org.rcfaces.core.image.GenerationImageInformation

Bug Category Details Line Priority
Method org.rcfaces.core.image.GenerationImageInformation.setImageHeight(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 36 Medium
Method org.rcfaces.core.image.GenerationImageInformation.setImageWidth(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 49 Medium

org.rcfaces.core.internal.Constants

Bug Category Details Line Priority
org.rcfaces.core.internal.Constants.verifyImplementationTitle(String) is or uses a map or set of URLs, which can be a performance hog PERFORMANCE DMI_COLLECTION_OF_URLS 353 High
org.rcfaces.core.internal.Constants.ETAG_DIGEST_ALGORITHMS est un tableau modifiable MALICIOUS_CODE MS_MUTABLE_ARRAY 102 High
org.rcfaces.core.internal.Constants.HASH_DIGEST_ALGORITHMS est un tableau modifiable MALICIOUS_CODE MS_MUTABLE_ARRAY 108 High
org.rcfaces.core.internal.Constants.RESOURCE_VERSION_DIGEST_ALGORITHMS est un tableau modifiable MALICIOUS_CODE MS_MUTABLE_ARRAY 99 High
org.rcfaces.core.internal.Constants.SERIALISATION_HASH_ALGORITHMS est un tableau modifiable MALICIOUS_CODE MS_MUTABLE_ARRAY 105 High
Test de nullité redondant sur une valeur connue pour être à null dans org.rcfaces.core.internal.Constants.<static initializer>() STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 116 Medium

org.rcfaces.core.internal.RcfacesContext

Bug Category Details Line Priority
Synchronization on interned String could deadlock in org.rcfaces.core.internal.RcfacesContext.getInstance(FacesContext) MT_CORRECTNESS DL_SYNCHRONIZATION_ON_SHARED_CONSTANT 121 Medium
Synchronization on interned String could deadlock in org.rcfaces.core.internal.RcfacesContext.getInstance(ServletContext, ServletRequest, ServletResponse) MT_CORRECTNESS DL_SYNCHRONIZATION_ON_SHARED_CONSTANT 143 Medium

org.rcfaces.core.internal.component.BasicComponentEngine

Bug Category Details Line Priority
Method org.rcfaces.core.internal.component.BasicComponentEngine.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 47 Medium
Method org.rcfaces.core.internal.component.BasicComponentEngine.setProperty(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 351 Medium
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.component.BasicComponentEngine.getLocalProperty(String) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 175 Medium
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.component.BasicComponentEngine.isPropertySetted(String) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 668 Medium
Suspicious comparison of Boolean references in org.rcfaces.core.internal.component.BasicComponentEngine.getBoolProperty(String, boolean, FacesContext) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 124 Medium
Suspicious comparison of Boolean references in org.rcfaces.core.internal.component.BasicComponentEngine.getBoolProperty(String, boolean, FacesContext) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 128 Medium

org.rcfaces.core.internal.component.BasicDeltaPropertiesAccessor

Bug Category Details Line Priority
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.component.BasicDeltaPropertiesAccessor.toString() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 380 Medium
La méthode org.rcfaces.core.internal.component.BasicDeltaPropertiesAccessor.toString() concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 380 Medium

org.rcfaces.core.internal.component.BasicPropertiesAccessor

Bug Category Details Line Priority
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.component.BasicPropertiesAccessor.setProperty(FacesContext, String, Object) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 66 Medium
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.component.BasicPropertiesAccessor.toString() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 309 Medium
La méthode org.rcfaces.core.internal.component.BasicPropertiesAccessor.toString() concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 309 Medium

org.rcfaces.core.internal.component.BasicPropertiesManager

Bug Category Details Line Priority
Invocation de toString sur un tableau dans org.rcfaces.core.internal.component.BasicPropertiesManager.restoreManagerState(FacesContext, Object) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 208 High
Test de nullité redondant sur une valeur non nulle dans org.rcfaces.core.internal.component.BasicPropertiesManager.restoreManagerState(FacesContext, Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 204 Medium

org.rcfaces.core.internal.component.PropertiesRepository

Bug Category Details Line Priority
Method org.rcfaces.core.internal.component.PropertiesRepository.computeKey(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 60 Medium

org.rcfaces.core.internal.component.UIData0

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.component.UIData0.saveState(FacesContext) risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.component.UIData0.values MALICIOUS_CODE EI_EXPOSE_REP 635 Medium
La méthode org.rcfaces.core.internal.component.UIData0.restoreState(FacesContext, Object) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.internal.component.UIData0.values MALICIOUS_CODE EI_EXPOSE_REP2 641 Medium

org.rcfaces.core.internal.config.BorderRenderersRegistryImpl$BorderRendererFacade

Bug Category Details Line Priority
Synchronisation incohérente de org.rcfaces.core.internal.config.BorderRenderersRegistryImpl$BorderRendererFacade.className; verrouillée à 60% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 191 Medium

org.rcfaces.core.internal.config.BorderRenderersRegistryImpl$RenderKit

Bug Category Details Line Priority
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.config.BorderRenderersRegistryImpl$RenderKit.getBorderRendererFacade(String, String, String) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 84 Medium

org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl

Bug Category Details Line Priority
Test de nullité dans clazz d'une valeur préalablement déréférencée dans org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl.convertValidatorExpression(IRenderContext, String, String, String) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 982 Medium

org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ClientValidator

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ClientValidator.listRequiredClasses() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ClientValidator.requiredClasses MALICIOUS_CODE EI_EXPOSE_REP 534 Medium
La méthode org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ClientValidator.setRequiredClasses(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ClientValidator.requiredClasses MALICIOUS_CODE EI_EXPOSE_REP2 574 Medium

org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ParametersContainer

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ParametersContainer.listParameters() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ParametersContainer.parameters MALICIOUS_CODE EI_EXPOSE_REP 698 Medium

org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ServerConverter

Bug Category Details Line Priority
Test de nullité redondant sur une valeur connue pour être à null dans org.rcfaces.core.internal.config.ClientValidatorsRegistryImpl$ServerConverter.getInstance(FacesContext, UIComponent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 886 Medium

org.rcfaces.core.internal.config.ServicesRegistryImpl$ServiceFacade

Bug Category Details Line Priority
Synchronisation incohérente de org.rcfaces.core.internal.config.ServicesRegistryImpl$ServiceFacade.className; verrouillée à 50% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 195 Medium
Synchronisation incohérente de org.rcfaces.core.internal.config.ServicesRegistryImpl$ServiceFacade.id; verrouillée à 60% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 191 Medium

org.rcfaces.core.internal.content.AbstractOperationContentModel

Bug Category Details Line Priority
Synchronisation incohérente de org.rcfaces.core.internal.content.AbstractOperationContentModel.resourceKey; verrouillée à 66% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 311 Medium

org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent

Bug Category Details Line Priority
ContentAdapterFactory.java:[line 194] is set to null inside finalize method BAD_PRACTICE FI_FINALIZER_NULLS_FIELDS 194 Medium
org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent.writeObject(ObjectOutputStream) ignore le résultat de java.io.FileInputStream.read(byte[]) BAD_PRACTICE RR_NOT_CHECKED 308 Medium
org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent.finalize() ignores exceptional return value of java.io.File.delete() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 193 Medium
org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent is serializable but also an inner class of a non-serializable class BAD_PRACTICE SE_BAD_FIELD_INNER_CLASS 136-326 Medium
Le champ org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent.file est transient mais n'est pas alimenté lors de la désérialisation BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium
La classe org.rcfaces.core.internal.content.ContentAdapterFactory$FileResolvedContent devrait-elle être une classe interne static ? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 136-326 Medium

org.rcfaces.core.internal.content.FileBuffer

Bug Category Details Line Priority
FileBuffer.java:[line 188] is set to null inside finalize method BAD_PRACTICE FI_FINALIZER_NULLS_FIELDS 188 Medium

org.rcfaces.core.internal.contentAccessor.AbstractCompositeContentAccessorHandler$CompositeURLDescriptor

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.contentAccessor.AbstractCompositeContentAccessorHandler$CompositeURLDescriptor.listURLs() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.contentAccessor.AbstractCompositeContentAccessorHandler$CompositeURLDescriptor.urls MALICIOUS_CODE EI_EXPOSE_REP 114 Medium
Champ jamais écrit : org.rcfaces.core.internal.contentAccessor.AbstractCompositeContentAccessorHandler$CompositeURLDescriptor.urls CORRECTNESS UWF_UNWRITTEN_FIELD 114 Medium

org.rcfaces.core.internal.contentAccessor.BasicGeneratedResourceInformation

Bug Category Details Line Priority
Method org.rcfaces.core.internal.contentAccessor.BasicGeneratedResourceInformation.saveState(FacesContext) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 116 Medium

org.rcfaces.core.internal.contentAccessor.BasicGenerationResourceInformation

Bug Category Details Line Priority
Method org.rcfaces.core.internal.contentAccessor.BasicGenerationResourceInformation.setResponseLastModified(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 148 Medium

org.rcfaces.core.internal.contentAccessor.ContentAccessorsRegistryImpl

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.contentAccessor.ContentAccessorsRegistryImpl.listContentAccessorHandlers(IContentFamily) risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.contentAccessor.ContentAccessorsRegistryImpl.defaultContentAccessors MALICIOUS_CODE EI_EXPOSE_REP 51 Medium

org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$EndsWithRule

Bug Category Details Line Priority
org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$EndsWithRule doesn't override ResourceProxyHandlerImpl$BasicPatternRule.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 810-816 Medium

org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$RegExpPatternRule

Bug Category Details Line Priority
org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$RegExpPatternRule doesn't override ResourceProxyHandlerImpl$BasicPatternRule.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 830-838 Medium

org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$StartsWithRule

Bug Category Details Line Priority
org.rcfaces.core.internal.contentProxy.ResourceProxyHandlerImpl$StartsWithRule doesn't override ResourceProxyHandlerImpl$BasicPatternRule.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 790-796 Medium

org.rcfaces.core.internal.contentStorage.ContentStorageAccessorHandler

Bug Category Details Line Priority
Test de nullité dans contentAccessor d'une valeur préalablement déréférencée dans org.rcfaces.core.internal.contentStorage.ContentStorageAccessorHandler.handleContent(FacesContext, IContentAccessor, IGeneratedResourceInformation[], IGenerationResourceInformation) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 48 Medium

org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl

Bug Category Details Line Priority
Un appel de méthode dans org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl.registerRaw(FacesContext, Object, IGeneratedResourceInformation) passe null à un paramètre déréférencé de façon inconditionnelle dans org.rcfaces.core.internal.contentStorage.IContentStorageRepository.save(IResolvedContent, IContentModel) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 342 Medium

org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest

Bug Category Details Line Priority
Synchronisation incohérente de org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest.errorState; verrouillée à 50% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 414 Medium
Synchronisation incohérente de org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest.resolvedContent; verrouillée à 80% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 418 Medium
La classe org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest définit le champ d'instance org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest.contentModel non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium
La classe org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest définit le champ d'instance org.rcfaces.core.internal.contentStorage.ContentStorageEngineImpl$ResolvedContentAtRequest.generationInformation non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.rcfaces.core.internal.contentStorage.ContentStorageServlet

Bug Category Details Line Priority
org.rcfaces.core.internal.contentStorage.ContentStorageServlet.contentStorageRepository is a mutable servlet field MT_CORRECTNESS MSF_MUTABLE_SERVLET_FIELD 125 High
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.contentStorage.ContentStorageServlet.doGet(HttpServletRequest, HttpServletResponse) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 130 Medium
La classe org.rcfaces.core.internal.contentStorage.ContentStorageServlet définit le champ d'instance org.rcfaces.core.internal.contentStorage.ContentStorageServlet.contentStorageRepository non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.rcfaces.core.internal.contentStorage.GZipedResolvedContent

Bug Category Details Line Priority
GZipedResolvedContent.java:[line 237] is set to null inside finalize method BAD_PRACTICE FI_FINALIZER_NULLS_FIELDS 237 Medium
Synchronisation incohérente de org.rcfaces.core.internal.contentStorage.GZipedResolvedContent.gzippedFile; verrouillée à 75% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 128 Medium
Synchronisation incohérente de org.rcfaces.core.internal.contentStorage.GZipedResolvedContent.hash; verrouillée à 66% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 120 Medium
Synchronisation incohérente de org.rcfaces.core.internal.contentStorage.GZipedResolvedContent.length; verrouillée à 66% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 136 Medium

org.rcfaces.core.internal.converter.AdditionalInformationCardinalityConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.AdditionalInformationCardinalityConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 21 Medium

org.rcfaces.core.internal.converter.AsyncDecodeModeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.AsyncDecodeModeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 29 Medium

org.rcfaces.core.internal.converter.AsyncRenderModeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.AsyncRenderModeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 33 Medium
Method org.rcfaces.core.internal.converter.AsyncRenderModeConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 71 Medium

org.rcfaces.core.internal.converter.CalendarLayoutConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.CalendarLayoutConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 35 Medium

org.rcfaces.core.internal.converter.CalendarModeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.CalendarModeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 26 Medium

org.rcfaces.core.internal.converter.CardinalityConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.CardinalityConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 45 Medium

org.rcfaces.core.internal.converter.CheckCardinalityConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.CheckCardinalityConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 20 Medium

org.rcfaces.core.internal.converter.ClientDatesStrategyConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.ClientDatesStrategyConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 35 Medium

org.rcfaces.core.internal.converter.ClientFullStateConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.ClientFullStateConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 37 Medium

org.rcfaces.core.internal.converter.DragDropEffectsConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.DragDropEffectsConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 29 Medium
Method org.rcfaces.core.internal.converter.DragDropEffectsConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 69 Medium

org.rcfaces.core.internal.converter.HiddenModeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.HiddenModeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 25 Medium

org.rcfaces.core.internal.converter.HorizontalTextPositionConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.HorizontalTextPositionConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 35 Medium
org.rcfaces.core.internal.converter.HorizontalTextPositionConverter.HORIZONTAL_TEXT_POSITIONS n'est pas final mais devrait l'être MALICIOUS_CODE MS_SHOULD_BE_FINAL 38 High

org.rcfaces.core.internal.converter.InputTypeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.InputTypeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 43 Medium

org.rcfaces.core.internal.converter.KeyFlagsConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.KeyFlagsConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 28 Medium
Method org.rcfaces.core.internal.converter.KeyFlagsConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 72 Medium

org.rcfaces.core.internal.converter.LayoutManagerTypeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.LayoutManagerTypeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 33 Medium

org.rcfaces.core.internal.converter.NumberFormatTypeConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.NumberFormatTypeConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 26 Medium

org.rcfaces.core.internal.converter.PatchedNumberConverter

Bug Category Details Line Priority
Champ jamais écrit : org.rcfaces.core.internal.converter.PatchedNumberConverter.locale CORRECTNESS UWF_UNWRITTEN_FIELD 90 Medium

org.rcfaces.core.internal.converter.SelectionCardinalityConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.SelectionCardinalityConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 20 Medium

org.rcfaces.core.internal.converter.StrategyListenerConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.StrategyListenerConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 33 Medium

org.rcfaces.core.internal.converter.TextPositionConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.TextPositionConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 28 Medium

org.rcfaces.core.internal.converter.VirtualKeyConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.VirtualKeyConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 31 Medium
Method org.rcfaces.core.internal.converter.VirtualKeyConverter.convertInt(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 171 Medium

org.rcfaces.core.internal.converter.WeekDaysConverter

Bug Category Details Line Priority
Method org.rcfaces.core.internal.converter.WeekDaysConverter.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 31 Medium
Method org.rcfaces.core.internal.converter.WeekDaysConverter.computeNamesOfDayOfWeek(Map, Locale) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 118 Medium
Method org.rcfaces.core.internal.converter.WeekDaysConverter.getAsObject(FacesContext, UIComponent, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 104 Medium

org.rcfaces.core.internal.facelets.CameliaConverterHandler

Bug Category Details Line Priority
Déréférencement d'un pointeur null dans la méthode org.rcfaces.core.internal.facelets.CameliaConverterHandler.setAttributes(FaceletContext, Object) CORRECTNESS NP_ALWAYS_NULL 51 High

org.rcfaces.core.internal.facelets.FaceletViewHandler

Bug Category Details Line Priority
The class name org.rcfaces.core.internal.facelets.FaceletViewHandler shadows the simple name of the superclass com.sun.facelets.FaceletViewHandler BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 23-41 High

org.rcfaces.core.internal.lang.ByteBufferInputStream

Bug Category Details Line Priority
La méthode new org.rcfaces.core.internal.lang.ByteBufferInputStream(byte[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.internal.lang.ByteBufferInputStream.buf MALICIOUS_CODE EI_EXPOSE_REP2 51 Medium
La méthode new org.rcfaces.core.internal.lang.ByteBufferInputStream(byte[], int, int) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.internal.lang.ByteBufferInputStream.buf MALICIOUS_CODE EI_EXPOSE_REP2 72 Medium

org.rcfaces.core.internal.lang.StringAppender$1

Bug Category Details Line Priority
La méthode inaccessible org.rcfaces.core.internal.lang.StringAppender$1.write(char) est définie dans une classe anonyme CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 315-316 High

org.rcfaces.core.internal.lang.StringAppender2$1

Bug Category Details Line Priority
La méthode inaccessible org.rcfaces.core.internal.lang.StringAppender2$1.write(char) est définie dans une classe anonyme CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 418-419 High

org.rcfaces.core.internal.lang.StringTokenizer2

Bug Category Details Line Priority
Incrémentation compliquée, subtile au incorrecte dans la boucle for org.rcfaces.core.internal.lang.StringTokenizer2.countTokens() STYLE QF_QUESTIONABLE_FOR_LOOP 152 Medium

org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer0

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer0.getDefaultUnlockedProperties(FacesContext, UIComponent) risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer0.defaultUnlockedProperties MALICIOUS_CODE EI_EXPOSE_REP 62 Medium

org.rcfaces.core.internal.renderkit.AbstractProcessContext

Bug Category Details Line Priority
org.rcfaces.core.internal.renderkit.AbstractProcessContext.getDebugMode() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 91 Medium
org.rcfaces.core.internal.renderkit.AbstractProcessContext.getProfilerMode() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 95 Medium

org.rcfaces.core.internal.renderkit.AbstractProperties

Bug Category Details Line Priority
org.rcfaces.core.internal.renderkit.AbstractProperties.getBooleanProperty(String) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 38 Medium

org.rcfaces.core.internal.repository.AbstractRepository$LocalizedFile

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.AbstractRepository$LocalizedFile.getContentLocations() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.AbstractRepository$LocalizedFile.contentLocations MALICIOUS_CODE EI_EXPOSE_REP 350 Medium

org.rcfaces.core.internal.repository.BasicHierarchicalRepository

Bug Category Details Line Priority
Method org.rcfaces.core.internal.repository.BasicHierarchicalRepository.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 49 Medium

org.rcfaces.core.internal.repository.BasicHierarchicalRepository$HierarchicalFile

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.BasicHierarchicalRepository$HierarchicalFile.listDependencies() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.BasicHierarchicalRepository$HierarchicalFile.dependencies MALICIOUS_CODE EI_EXPOSE_REP 630 Medium
La méthode new org.rcfaces.core.internal.repository.BasicHierarchicalRepository$HierarchicalFile(BasicHierarchicalRepository, IHierarchicalRepository$IModule, String, String, String, Object, IHierarchicalRepository$IHierarchicalFile[], IRepository$IContentProvider) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.internal.repository.BasicHierarchicalRepository$HierarchicalFile.dependencies MALICIOUS_CODE EI_EXPOSE_REP2 594 Medium

org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module.listDependencies() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module.files MALICIOUS_CODE EI_EXPOSE_REP 810 Medium
La méthode org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module.listExternalDependencies() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module.externalDependencies MALICIOUS_CODE EI_EXPOSE_REP 822 Medium
La méthode org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module.listExternalModules() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module.externalModules MALICIOUS_CODE EI_EXPOSE_REP 867 Medium
org.rcfaces.core.internal.repository.BasicHierarchicalRepository$Module doesn't override BasicHierarchicalRepository$HierarchicalFile.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 769-910 Medium

org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl.listDependencies() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl.dependencies MALICIOUS_CODE EI_EXPOSE_REP 729 Medium
La méthode org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl.listExternalDependencies() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl.externalDependencies MALICIOUS_CODE EI_EXPOSE_REP 683 Medium
org.rcfaces.core.internal.repository.BasicHierarchicalRepository$SetImpl doesn't override BasicHierarchicalRepository$HierarchicalFile.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 661-752 Medium

org.rcfaces.core.internal.repository.HierarchicalRepositoryServlet$HierarchicalRecord

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.HierarchicalRepositoryServlet$HierarchicalRecord.getBuffer() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.HierarchicalRepositoryServlet$HierarchicalRecord.buffer MALICIOUS_CODE EI_EXPOSE_REP 250 Medium

org.rcfaces.core.internal.repository.RepositoryServlet$Record

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.RepositoryServlet$Record.getBuffer() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.RepositoryServlet$Record.buffer MALICIOUS_CODE EI_EXPOSE_REP 513 Medium
La méthode org.rcfaces.core.internal.repository.RepositoryServlet$Record.getGZipedBuffer() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.RepositoryServlet$Record.gzippedBuffer MALICIOUS_CODE EI_EXPOSE_REP 700 Medium

org.rcfaces.core.internal.repository.SourceContainer

Bug Category Details Line Priority
Comparison of String parameter using == or != in org.rcfaces.core.internal.repository.SourceContainer.getContent(String) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 407 High
La méthode org.rcfaces.core.internal.repository.SourceContainer.addURLContent(URLConnection, StringAppender) peut ne pas fermer un flux BAD_PRACTICE OS_OPEN_STREAM 431 Medium

org.rcfaces.core.internal.repository.SourceContainer$BasicParameterizedContent

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.repository.SourceContainer$BasicParameterizedContent.getGZipedBuffer() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.SourceContainer$BasicParameterizedContent.sourceBufferGZip MALICIOUS_CODE EI_EXPOSE_REP 739 Medium
La méthode org.rcfaces.core.internal.repository.SourceContainer$BasicParameterizedContent.getRawBuffer() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.repository.SourceContainer$BasicParameterizedContent.sourceBuffer MALICIOUS_CODE EI_EXPOSE_REP 735 Medium

org.rcfaces.core.internal.repository.SourceContainer$SourceFile

Bug Category Details Line Priority
La classe org.rcfaces.core.internal.repository.SourceContainer$SourceFile devrait-elle être une classe interne static ? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 743-755 Medium

org.rcfaces.core.internal.resource.IncludeResourceLoaderFactory$IncludeResourceLoader

Bug Category Details Line Priority
IncludeResourceLoaderFactory.java:[line 293] is set to null inside finalize method BAD_PRACTICE FI_FINALIZER_NULLS_FIELDS 293 Medium
Test de nullité redondant sur une valeur non nulle dans org.rcfaces.core.internal.resource.IncludeResourceLoaderFactory$IncludeResourceLoader.getContent() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 264 Medium
org.rcfaces.core.internal.resource.IncludeResourceLoaderFactory$IncludeResourceLoader.getContent() ignores exceptional return value of java.io.File.delete() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 275 Medium

org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceEventReturnValue

Bug Category Details Line Priority
La classe org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceEventReturnValue définit le champ d'instance org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceEventReturnValue.progressMonitor non transient et non sérialisable BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceImpl

Bug Category Details Line Priority
Champ jamais écrit : org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceImpl.errorMessage CORRECTNESS UWF_UNWRITTEN_FIELD 155 Medium

org.rcfaces.core.internal.service.log.CommonsLogger

Bug Category Details Line Priority
Method org.rcfaces.core.internal.service.log.CommonsLogger.<static initializer>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 43 Medium
La méthode org.rcfaces.core.internal.service.log.CommonsLogger.listFilters(FacesContext) risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.internal.service.log.CommonsLogger.filters MALICIOUS_CODE EI_EXPOSE_REP 110 Medium

org.rcfaces.core.internal.service.log.Java14Logger

Bug Category Details Line Priority
Champ jamais écrit : org.rcfaces.core.internal.service.log.Java14Logger.filters CORRECTNESS UWF_UNWRITTEN_FIELD 56 Medium

org.rcfaces.core.internal.service.log.Log4jLogger

Bug Category Details Line Priority
Champ jamais écrit : org.rcfaces.core.internal.service.log.Log4jLogger.filters CORRECTNESS UWF_UNWRITTEN_FIELD 47 Medium

org.rcfaces.core.internal.taglib.AbstractConverterCommandTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.AbstractConverterCommandTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 40 Medium

org.rcfaces.core.internal.taglib.AbstractItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.AbstractItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 70 Medium

org.rcfaces.core.internal.taglib.AbstractSeparatorTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.AbstractSeparatorTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 52 Medium

org.rcfaces.core.internal.taglib.CalendarTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.CalendarTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 71 Medium

org.rcfaces.core.internal.taglib.CameliaTag

Bug Category Details Line Priority
org.rcfaces.core.internal.taglib.CameliaTag.getBoolean(String) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 37 Medium

org.rcfaces.core.internal.taglib.ComponentsListTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ComponentsListTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 101 Medium

org.rcfaces.core.internal.taglib.DateItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.DateItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 77 Medium

org.rcfaces.core.internal.taglib.ExpandableItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ExpandableItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 58 Medium

org.rcfaces.core.internal.taglib.FieldSetTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.FieldSetTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 143 Medium

org.rcfaces.core.internal.taglib.FileItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.FileItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 46 Medium

org.rcfaces.core.internal.taglib.FocusManagerTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.FocusManagerTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 53 Medium

org.rcfaces.core.internal.taglib.HelpButtonTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.HelpButtonTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 47 Medium

org.rcfaces.core.internal.taglib.HyperLinkTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.HyperLinkTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 47 Medium

org.rcfaces.core.internal.taglib.ImageButtonTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ImageButtonTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 95 Medium

org.rcfaces.core.internal.taglib.ImageCheckButtonTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ImageCheckButtonTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 89 Medium

org.rcfaces.core.internal.taglib.ImageComboTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ImageComboTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 113 Medium

org.rcfaces.core.internal.taglib.ImagePagerButtonTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ImagePagerButtonTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 59 Medium

org.rcfaces.core.internal.taglib.ImageRadioButtonTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ImageRadioButtonTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 89 Medium

org.rcfaces.core.internal.taglib.ImageTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ImageTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 71 Medium

org.rcfaces.core.internal.taglib.KeyLabelTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.KeyLabelTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 65 Medium

org.rcfaces.core.internal.taglib.LineBreakTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.LineBreakTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 65 Medium

org.rcfaces.core.internal.taglib.MenuRadioItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.MenuRadioItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 53 Medium

org.rcfaces.core.internal.taglib.MessageFieldSetTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.MessageFieldSetTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 107 Medium

org.rcfaces.core.internal.taglib.MessageTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.MessageTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 125 Medium

org.rcfaces.core.internal.taglib.MessagesTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.MessagesTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 83 Medium

org.rcfaces.core.internal.taglib.PagerTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.PagerTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 77 Medium

org.rcfaces.core.internal.taglib.PeriodClientDataTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.PeriodClientDataTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 53 Medium

org.rcfaces.core.internal.taglib.ProgressBarTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ProgressBarTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 59 Medium

org.rcfaces.core.internal.taglib.RulerTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.RulerTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 167 Medium

org.rcfaces.core.internal.taglib.ScopeTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ScopeTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 59 Medium

org.rcfaces.core.internal.taglib.SelectImageItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.SelectImageItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 71 Medium

org.rcfaces.core.internal.taglib.SelectItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.SelectItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 47 Medium

org.rcfaces.core.internal.taglib.SelectItemsIteratorTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.SelectItemsIteratorTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 149 Medium

org.rcfaces.core.internal.taglib.ServerDataTag

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.taglib.ServerDataTag.doStartTag() utilise le même code pour deux branches STYLE DB_DUPLICATE_BRANCHES 65 Medium

org.rcfaces.core.internal.taglib.SpinnerTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.SpinnerTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 65 Medium

org.rcfaces.core.internal.taglib.SubmitWaitTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.SubmitWaitTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 101 Medium

org.rcfaces.core.internal.taglib.TabTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.TabTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 119 Medium

org.rcfaces.core.internal.taglib.TextEditorComboTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.TextEditorComboTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 53 Medium

org.rcfaces.core.internal.taglib.TextEditorImageButtonTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.TextEditorImageButtonTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 59 Medium

org.rcfaces.core.internal.taglib.TextEditorToolFolderTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.TextEditorToolFolderTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 65 Medium

org.rcfaces.core.internal.taglib.TextTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.TextTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 109 Medium

org.rcfaces.core.internal.taglib.ToolItemSeparatorTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ToolItemSeparatorTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 47 Medium

org.rcfaces.core.internal.taglib.ToolItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.ToolItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 107 Medium

org.rcfaces.core.internal.taglib.TreeNodeTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.TreeNodeTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 101 Medium

org.rcfaces.core.internal.taglib.UIImageItemTag

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.taglib.UIImageItemTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 83 Medium

org.rcfaces.core.internal.taglib.ValidationParameterTag

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.taglib.ValidationParameterTag.doStartTag() utilise le même code pour deux branches STYLE DB_DUPLICATE_BRANCHES 77 Medium

org.rcfaces.core.internal.tools.ArrayIndexesModel

Bug Category Details Line Priority
Method org.rcfaces.core.internal.tools.ArrayIndexesModel.garbage() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 124 Medium
La méthode org.rcfaces.core.internal.tools.ArrayIndexesModel.setIndexes(int[], boolean) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.internal.tools.ArrayIndexesModel.selectionIndexes MALICIOUS_CODE EI_EXPOSE_REP2 291 Medium

org.rcfaces.core.internal.tools.BindingTools

Bug Category Details Line Priority
Alimentation à perte d'une variable locale dans la méthode org.rcfaces.core.internal.tools.BindingTools.processVariableScope(FacesContext, IVariableScopeCapability, PhaseId) STYLE DLS_DEAD_LOCAL_STORE 112 Medium

org.rcfaces.core.internal.tools.FilterExpressionTools$1

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.FilterExpressionTools$1.getBooleanProperty(String) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 109 Medium

org.rcfaces.core.internal.tools.GridServerSort

Bug Category Details Line Priority
Method org.rcfaces.core.internal.tools.GridServerSort.<static initializer>() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 43 Medium
Method org.rcfaces.core.internal.tools.GridServerSort.computeSortedTranslation(FacesContext, IGridComponent, DataModel, ISortedComponent[]) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 201 Medium

org.rcfaces.core.internal.tools.GridServerSort$SortAlpha

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.GridServerSort$SortAlpha implémente Comparator mais pas Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 362-381 Medium

org.rcfaces.core.internal.tools.GridServerSort$SortAlphaIgnoreCase

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.GridServerSort$SortAlphaIgnoreCase implémente Comparator mais pas Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 390-408 Medium

org.rcfaces.core.internal.tools.GridServerSort$SortDate

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.GridServerSort$SortDate implémente Comparator mais pas Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 417-430 Medium

org.rcfaces.core.internal.tools.GridServerSort$SortDouble

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.GridServerSort$SortDouble implémente Comparator mais pas Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 326-353 Medium

org.rcfaces.core.internal.tools.GridServerSort$SortLong

Bug Category Details Line Priority
Method org.rcfaces.core.internal.tools.GridServerSort$SortLong.convertValue(FacesContext, UIComponent, Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 314 Medium
org.rcfaces.core.internal.tools.GridServerSort$SortLong implémente Comparator mais pas Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 289-317 Medium

org.rcfaces.core.internal.tools.GridTools

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.rcfaces.core.internal.tools.GridTools.setSortIds(IGridComponent, String), puisque chaque javax.faces.component.UIColumn est une instance de GridTools.java:[line 504] STYLE BC_VACUOUS_INSTANCEOF 504 Medium
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.tools.GridTools.getDataModel(Object, UIComponent, FacesContext) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 266 Medium

org.rcfaces.core.internal.tools.LocaleTools

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.rcfaces.core.internal.tools.LocaleTools.getFormatByType(Locale, TimeZone, int, int), puisque chaque java.text.DateFormat est une instance de LocaleTools.java:[line 231] STYLE BC_VACUOUS_INSTANCEOF 231 Medium

org.rcfaces.core.internal.tools.SelectItemsIteratorTools$1

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.SelectItemsIteratorTools$1.next() ne peut pas déclencher l'exception NoSuchElement BAD_PRACTICE IT_NO_SUCH_ELEMENT 264 Medium

org.rcfaces.core.internal.tools.StateFieldMarkerTools

Bug Category Details Line Priority
Synchronization on interned String could deadlock in org.rcfaces.core.internal.tools.StateFieldMarkerTools.getStateFieldMarker(FacesContext) MT_CORRECTNESS DL_SYNCHRONIZATION_ON_SHARED_CONSTANT 42 Medium

org.rcfaces.core.internal.tools.ValuesTools

Bug Category Details Line Priority
org.rcfaces.core.internal.tools.ValuesTools.valueToBoolean(ValueHolder) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 388 Medium
Test de nullité dans values d'une valeur préalablement déréférencée dans org.rcfaces.core.internal.tools.ValuesTools.convertValuesToString(Object[], UIComponent, FacesContext) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 262 Medium

org.rcfaces.core.internal.util.CachedChildrenList

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.rcfaces.core.internal.util.CachedChildrenList.verifyList(IContainerManager), puisque chaque java.util.ArrayList est une instance de CachedChildrenList.java:[line 93] STYLE BC_VACUOUS_INSTANCEOF 93 Medium

org.rcfaces.core.internal.util.Convertor$1

Bug Category Details Line Priority
Method new org.rcfaces.core.internal.util.Convertor$1() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 124 Medium
Method org.rcfaces.core.internal.util.Convertor$1.convert(Class, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 132 Medium

org.rcfaces.core.internal.util.Convertor$2

Bug Category Details Line Priority
Method new org.rcfaces.core.internal.util.Convertor$2() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 146 Medium
Method org.rcfaces.core.internal.util.Convertor$2.convert(Class, Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 154 Medium

org.rcfaces.core.internal.util.Convertor$5

Bug Category Details Line Priority
Method new org.rcfaces.core.internal.util.Convertor$5() invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead PERFORMANCE DM_NUMBER_CTOR 212 Medium
Method org.rcfaces.core.internal.util.Convertor$5.convert(Class, Object) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead PERFORMANCE DM_NUMBER_CTOR 220 Medium

org.rcfaces.core.internal.util.Convertor$6

Bug Category Details Line Priority
Method new org.rcfaces.core.internal.util.Convertor$6() invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead PERFORMANCE DM_NUMBER_CTOR 234 Medium
Method org.rcfaces.core.internal.util.Convertor$6.convert(Class, Object) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead PERFORMANCE DM_NUMBER_CTOR 242 Medium

org.rcfaces.core.internal.util.Delay

Bug Category Details Line Priority
Test d'égalité en virgule flottante dans org.rcfaces.core.internal.util.Delay.format(long). STYLE FE_FLOATING_POINT_EQUALITY 216 High

org.rcfaces.core.internal.util.ServletTools

Bug Category Details Line Priority
Chargement d'une valeur connue pour être à null dans org.rcfaces.core.internal.util.ServletTools.getDefaultLocale(ServletContext, HttpServletRequest, HttpServletResponse) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 128 Medium

org.rcfaces.core.internal.util.URLContentProvider

Bug Category Details Line Priority
Test de nullité dans language d'une valeur préalablement déréférencée dans org.rcfaces.core.internal.util.URLContentProvider.searchLocalizedContentReference(Object, Locale) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 60 Medium

org.rcfaces.core.internal.util.json.JSONArray

Bug Category Details Line Priority
Method org.rcfaces.core.internal.util.json.JSONArray.put(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 617 Medium
Method org.rcfaces.core.internal.util.json.JSONArray.put(int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 727 Medium
Method org.rcfaces.core.internal.util.json.JSONArray.put(int, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 745 Medium
Method org.rcfaces.core.internal.util.json.JSONArray.put(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 629 Medium
org.rcfaces.core.internal.util.json.JSONArray.toString() may return null BAD_PRACTICE NP_TOSTRING_COULD_RETURN_NULL 837 Medium

org.rcfaces.core.internal.util.json.JSONObject

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.rcfaces.core.internal.util.json.JSONObject.valueToString(Object), puisque chaque String est une instance de JSONObject.java:[line 1315] STYLE BC_VACUOUS_INSTANCEOF 1315 Medium
instanceof renverra toujours vrai dans org.rcfaces.core.internal.util.json.JSONObject.valueToString(Object, int, int), puisque chaque String est une instance de JSONObject.java:[line 1365] STYLE BC_VACUOUS_INSTANCEOF 1365 Medium
Method org.rcfaces.core.internal.util.json.JSONObject.put(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 960 Medium
Method org.rcfaces.core.internal.util.json.JSONObject.put(String, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 976 Medium
Appel de equals() avec un argument à null dans org.rcfaces.core.internal.util.json.JSONObject.valueToString(Object) CORRECTNESS EC_NULL_ARG 1305 Medium
Appel de equals() avec un argument à null dans org.rcfaces.core.internal.util.json.JSONObject.valueToString(Object, int, int) CORRECTNESS EC_NULL_ARG 1359 Medium
org.rcfaces.core.internal.util.json.JSONObject.toString() may return null BAD_PRACTICE NP_TOSTRING_COULD_RETURN_NULL 1198 Medium
La méthode new org.rcfaces.core.internal.util.json.JSONObject(Object) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé STYLE REC_CATCH_EXCEPTION 296 Medium

org.rcfaces.core.internal.util.json.JSONObject$Null

Bug Category Details Line Priority
org.rcfaces.core.internal.util.json.JSONObject$Null.equals(Object) is unusual STYLE EQ_UNUSUAL 124 Medium
org.rcfaces.core.internal.util.json.JSONObject$Null définit equals() et utilise Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 124 Medium

org.rcfaces.core.internal.util.json.JSONTokener

Bug Category Details Line Priority
Method org.rcfaces.core.internal.util.json.JSONTokener.nextValue() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 379 Medium

org.rcfaces.core.internal.validator.impl.DateChecker

Bug Category Details Line Priority
Un switch de org.rcfaces.core.internal.validator.impl.DateChecker.applyChecker(IClientValidatorContext, String) comporte un cas qui déborde sur le suivant STYLE SF_SWITCH_FALLTHROUGH 53-55 Medium

org.rcfaces.core.internal.validator.impl.HourChecker

Bug Category Details Line Priority
Un switch de org.rcfaces.core.internal.validator.impl.HourChecker.applyChecker(IClientValidatorContext, String) comporte un cas qui déborde sur le suivant STYLE SF_SWITCH_FALLTHROUGH 51-53 Medium

org.rcfaces.core.internal.validator.impl.NumFormatter

Bug Category Details Line Priority
Possible déréférencement d'un pointeur null dans org.rcfaces.core.internal.validator.impl.NumFormatter.applyFormatter(IClientValidatorContext, String) CORRECTNESS NP_NULL_ON_SOME_PATH 81 Medium
La méthode org.rcfaces.core.internal.validator.impl.NumFormatter.applyFormatter(IClientValidatorContext, String) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 97 Medium

org.rcfaces.core.internal.version.HashCodeTools

Bug Category Details Line Priority
La méthode org.rcfaces.core.internal.version.HashCodeTools.loadContentFromURL(URL) peut ne pas fermer un flux BAD_PRACTICE OS_OPEN_STREAM 177 Medium

org.rcfaces.core.internal.webapp.ConfiguredHttpServlet

Bug Category Details Line Priority
org.rcfaces.core.internal.webapp.ConfiguredHttpServlet.defaultLocale is a mutable servlet field MT_CORRECTNESS MSF_MUTABLE_SERVLET_FIELD 326 High

org.rcfaces.core.internal.webapp.ExtendedHttpServlet

Bug Category Details Line Priority
org.rcfaces.core.internal.webapp.ExtendedHttpServlet.HTTP_DATE_FORMATS devrait être package protected MALICIOUS_CODE MS_PKGPROTECT 74 Medium
Found static field of type java.text.DateFormat in org.rcfaces.core.internal.webapp.ExtendedHttpServlet.HTTP_DATE_FORMATS MT_CORRECTNESS STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE Not available High

org.rcfaces.core.item.BasicSelectItem

Bug Category Details Line Priority
La méthode org.rcfaces.core.item.BasicSelectItem.getDragTypes(SelectItem) risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.item.BasicSelectItem.dragTypes MALICIOUS_CODE EI_EXPOSE_REP 273 Medium
La méthode org.rcfaces.core.item.BasicSelectItem.setDragTypes(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.item.BasicSelectItem.dragTypes MALICIOUS_CODE EI_EXPOSE_REP2 280 Medium

org.rcfaces.core.item.BasicSelectItemGroup

Bug Category Details Line Priority
Champ jamais écrit : org.rcfaces.core.item.BasicSelectItemGroup.acceleratorKey CORRECTNESS UWF_UNWRITTEN_FIELD 191 Medium
Champ jamais écrit : org.rcfaces.core.item.BasicSelectItemGroup.styleClass CORRECTNESS UWF_UNWRITTEN_FIELD 187 Medium

org.rcfaces.core.item.DateItem

Bug Category Details Line Priority
Transtypage non vérifié/non confirmé de org.rcfaces.core.component.DateItemComponent vers component dans new org.rcfaces.core.item.DateItem(UISelectItem) STYLE BC_UNCONFIRMED_CAST 61 Medium

org.rcfaces.core.lang.OrderedSet

Bug Category Details Line Priority
instanceof renverra toujours vrai dans org.rcfaces.core.lang.OrderedSet.commit(), puisque chaque java.util.ArrayList est une instance de OrderedSet.java:[line 176] STYLE BC_VACUOUS_INSTANCEOF 176 Medium
org.rcfaces.core.lang.OrderedSet.equals(Object) ne vérifie pas la nullité d'un paramètre BAD_PRACTICE NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT 130-148 High

org.rcfaces.core.lang.Period

Bug Category Details Line Priority
La méthode org.rcfaces.core.lang.Period.getEnd() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.lang.Period.end MALICIOUS_CODE EI_EXPOSE_REP 30 Medium
La méthode org.rcfaces.core.lang.Period.getStart() risque d'exposer sa représentation interne en renvoyant org.rcfaces.core.lang.Period.start MALICIOUS_CODE EI_EXPOSE_REP 34 Medium
La méthode new org.rcfaces.core.lang.Period(Date, Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.lang.Period.end MALICIOUS_CODE EI_EXPOSE_REP2 26 Medium
La méthode new org.rcfaces.core.lang.Period(Date, Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.rcfaces.core.lang.Period.start MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

org.rcfaces.core.model.BasicContentModel

Bug Category Details Line Priority
Synchronisation incohérente de org.rcfaces.core.model.BasicContentModel.generationInformation; verrouillée à 66% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 33 Medium

org.rcfaces.core.model.ClientFacesMessage

Bug Category Details Line Priority
Champ jamais écrit : org.rcfaces.core.model.ClientFacesMessage.clientDataMap CORRECTNESS UWF_UNWRITTEN_FIELD 45 Medium

org.rcfaces.core.model.CollectionIndexesModel

Bug Category Details Line Priority
Method org.rcfaces.core.model.CollectionIndexesModel.getKey(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 119 Medium

org.rcfaces.core.preference.GridPreferences

Bug Category Details Line Priority
Method org.rcfaces.core.preference.GridPreferences.saveState(FacesContext) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 192 Medium

org.rcfaces.core.util.ViewSessionPatchStateManager

Bug Category Details Line Priority
Synchronisation incohérente de org.rcfaces.core.util.ViewSessionPatchStateManager.enabled; verrouillée à 75% MT_CORRECTNESS IS2_INCONSISTENT_SYNC 59 Medium
Suspicious comparison of Boolean references in org.rcfaces.core.util.ViewSessionPatchStateManager.saveSerializedView(FacesContext) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 59 Medium