The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 1386 | 280 | 0 | 0 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| FileBuffer.java:[line 188] is set to null inside finalize method | BAD_PRACTICE | FI_FINALIZER_NULLS_FIELDS | 188 | Medium |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Champ jamais écrit : org.rcfaces.core.internal.converter.PatchedNumberConverter.locale | CORRECTNESS | UWF_UNWRITTEN_FIELD | 90 | Medium |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Champ jamais écrit : org.rcfaces.core.internal.service.ClientServiceRegistryImpl$ClientServiceImpl.errorMessage | CORRECTNESS | UWF_UNWRITTEN_FIELD | 155 | Medium |
| 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 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Champ jamais écrit : org.rcfaces.core.internal.service.log.Java14Logger.filters | CORRECTNESS | UWF_UNWRITTEN_FIELD | 56 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Champ jamais écrit : org.rcfaces.core.internal.service.log.Log4jLogger.filters | CORRECTNESS | UWF_UNWRITTEN_FIELD | 47 | Medium |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Champ jamais écrit : org.rcfaces.core.model.ClientFacesMessage.clientDataMap | CORRECTNESS | UWF_UNWRITTEN_FIELD | 45 | Medium |
| 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 |
| 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 |
| 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 |