The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe com.legstar.cixs.jbossesb.HostContextFactory$EnvVarResolver devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 60-67 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode com.legstar.cixs.jbossesb.JbossEsbConfig.getJbossEsbHome() utilise le même code pour deux branches | STYLE | DB_DUPLICATE_BRANCHES | 18 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Ecriture d'un champ statique com.legstar.eclipse.plugin.jbossesbgen.Activator.mPlugin depuis la méthode d'une instance new com.legstar.eclipse.plugin.jbossesbgen.Activator() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 46 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe com.legstar.eclipse.plugin.jbossesbgen.ClasspathInitializer$JarFilter devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 138-141 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode com.legstar.eclipse.plugin.jbossesbgen.dialogs.WsdlPortSelectionDialog.loadWsdl(String) fait une utilisation inefficace d'un itérateur sur keySet au lieu d'un itérateur sur entrySet | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 165 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Le champ org.jboss.internal.soa.esb.couriers.tx.InVMXAResource._opcode est transient mais n'est pas alimenté lors de la désérialisation | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
| Le champ org.jboss.internal.soa.esb.couriers.tx.InVMXAResource.msgObject est transient mais n'est pas alimenté lors de la désérialisation | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Le champ org.jboss.internal.soa.esb.message.format.serialized.SerializedValueImpl.value est transient mais n'est pas alimenté lors de la désérialisation | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.internal.soa.esb.message.format.xml.PropertiesImpl.getProperty(String, Object) n'est pas synchronisée alors que org.jboss.internal.soa.esb.message.format.xml.PropertiesImpl.setProperty(String, Object) l'est | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 67-68 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Alimentation à perte d'une variable locale dans la méthode org.jboss.internal.soa.esb.parameters.ParamFileRepository.add(String, String) | STYLE | DLS_DEAD_LOCAL_STORE | 95 | Medium |
| Alimentation à perte d'une variable locale dans la méthode org.jboss.internal.soa.esb.parameters.ParamFileRepository.remove(String) | STYLE | DLS_DEAD_LOCAL_STORE | 177 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Synchronisation incohérente de org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.isXAAware; verrouillée à 75% | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 819 | Medium |
| Synchronisation incohérente de org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.terminated; verrouillée à 50% | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 923 | Medium |
| org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.isConnectionFailure(JMSException) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 449 | Medium |
| Possible déréférencement d'un pointeur null dans org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.<static initializer>() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 679 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Synchronisation incohérente de org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool$JmsSessionPool.freeSessionsMap; verrouillée à 70% | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 1112 | Medium |
| Synchronisation incohérente de org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool$JmsSessionPool.inUseSessionsMap; verrouillée à 70% | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 1090 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.internal.soa.esb.rosetta.pooling.handlers.JBossMessagingConnectionExceptionHandler.isConnectionFailure(JMSException) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 51 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.internal.soa.esb.rosetta.pooling.handlers.WMQConnectionExceptionHandler.isConnectionFailure(JMSException) has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 63 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.internal.soa.esb.util.Exit$1.run() invoque System.exit(...), qui stoppe toute la JVM | BAD_PRACTICE | DM_EXIT | 78 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store of org.jboss.metadata.web.jboss.JBossWebMetaData.class in org.jboss.internal.soa.esb.util.JBossDeployerUtil.isWebMetaDataPresent() | CORRECTNESS | DLS_DEAD_STORE_OF_CLASS_LITERAL | 140 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.internal.soa.esb.util.SecureFtpImpl.downloadFile(String, String) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 566 | Medium |
| Un switch de new org.jboss.internal.soa.esb.util.SecureFtpImpl(SFTPEpr, boolean) comporte un cas qui déborde sur le suivant | STYLE | SF_SWITCH_FALLTHROUGH | 129-131 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Synchronization performed on java.util.concurrent.ConcurrentHashMap in org.jboss.soa.esb.actions.Aggregator.createAggregateMessage(String, Map) | MT_CORRECTNESS | JLM_JSR166_UTILCONCURRENT_MONITORENTER | 391 | Medium |
| Synchronization performed on java.util.concurrent.ConcurrentHashMap in org.jboss.soa.esb.actions.Aggregator.process(Message) | MT_CORRECTNESS | JLM_JSR166_UTILCONCURRENT_MONITORENTER | 183 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.actions.Aggregator$TimeoutChecker.run() ignores exceptional return value of java.util.concurrent.locks.Condition.await(long, TimeUnit) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 539 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.actions.routing.http.HttpRouter.getMappedHeaderList() risque d'exposer sa représentation interne en renvoyant org.jboss.soa.esb.actions.routing.http.HttpRouter.mappedHeaderList | MALICIOUS_CODE | EI_EXPOSE_REP | 309 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.FTPEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 57-304 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.FTPSEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 48-236 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.FileEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 64-515 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.HibernateEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 62-387 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.JDBCEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 72-579 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.JMSEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 61-814 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.LogicalEPR doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 47-156 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.eprs.SFTPEpr doesn't override org.jboss.soa.esb.addressing.EPR.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 48-239 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.addressing.util.EPRManager.removeEPR(String) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 178 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.common.ModulePropertyManager.setManagers(Hashtable) peut exposer un état interne statique en stockant un objet modifiable dans le champs statique org.jboss.soa.esb.common.ModulePropertyManager.managers | MALICIOUS_CODE | EI_EXPOSE_STATIC_REP2 | 227 | Medium |
| La méthode statique publique org.jboss.soa.esb.common.ModulePropertyManager.getManagers() peut exposer une représentation interne en renvoyant org.jboss.soa.esb.common.ModulePropertyManager.managers | MALICIOUS_CODE | MS_EXPOSE_REP | 223 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.helpers.Email.getAttachments() risque d'exposer sa représentation interne en renvoyant org.jboss.soa.esb.helpers.Email.attachments | MALICIOUS_CODE | EI_EXPOSE_REP | 248 | Medium |
| La méthode org.jboss.soa.esb.helpers.Email.setAttachments(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.jboss.soa.esb.helpers.Email.attachments | MALICIOUS_CODE | EI_EXPOSE_REP2 | 255 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode new org.jboss.soa.esb.helpers.persist.SimpleDataSource(String, String, String, String) peut ne pas fermer une ressource base de données | BAD_PRACTICE | ODR_OPEN_DATABASE_RESOURCE | 120 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.helpers.persist.SqlDbTable.getAllFields() risque d'exposer sa représentation interne en renvoyant org.jboss.soa.esb.helpers.persist.SqlDbTable.m_oaFields | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible double vérification sur org.jboss.soa.esb.http.HttpConfiguration.mbeanServer dans org.jboss.soa.esb.http.HttpConfiguration.getMBeanServer() | MT_CORRECTNESS | DC_DOUBLECHECK | 54-58 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Synchronisation incohérente de org.jboss.soa.esb.lifecycle.LifecycleResource.destroyed; verrouillée à 50% | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 111 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.StandAloneBootStrapper.initiateController(String, String, String, String) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 227 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.config.Configuration.create(String, ObjectName, List, List) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 183 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Alimentation à perte d'une variable locale dans la méthode org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration() | STYLE | DLS_DEAD_LOCAL_STORE | 315 | Medium |
| La méthode org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration() intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 333 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.config.Generator.generate(File) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 136 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.create(DeploymentInfo) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 356 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.config.JBoss4ESBDeployment.createService() ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 213 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.config.WebGatewayBuilder.createWebserviceWars(WebDeploymentArchive) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 188 | Medium |
| org.jboss.soa.esb.listeners.config.WebGatewayBuilder.createTempDeploymentFile(File, String, boolean) ignores exceptional return value of java.io.File.mkdir() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 231 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.config.WebGatewayBuilder$WebDeploymentClassLoader devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 255-270 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible déréférencement d'un pointeur null dans org.jboss.soa.esb.listeners.deployers.mc.EsbDeployment.create() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 215 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.deployers.mc.EsbDeploymentMBean.states devrait être sorti de l'interface et mis en package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 69 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.deployers.mc.EsbMetaData définit le champ d'instance org.jboss.soa.esb.listeners.deployers.mc.EsbMetaData.model non transient et non sérialisable | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.deployers.mc.GroupingStructure.setMetaDataPaths(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.jboss.soa.esb.listeners.deployers.mc.GroupingStructure.metaDataPaths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 195 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible déréférencement d'un pointeur null dans org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeployment.create() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 217 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.deployers.mc.as6.EsbDeploymentMBean.states devrait être sorti de l'interface et mis en package protected | MALICIOUS_CODE | MS_OOI_PKGPROTECT | 69 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.deployers.mc.as6.EsbMetaData définit le champ d'instance org.jboss.soa.esb.listeners.deployers.mc.as6.EsbMetaData.model non transient et non sérialisable | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.deployers.mc.as6.GroupingStructure.setMetaDataPaths(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.jboss.soa.esb.listeners.deployers.mc.as6.GroupingStructure.metaDataPaths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 243 | Medium |
| org.jboss.soa.esb.listeners.deployers.mc.as6.GroupingStructure.DEFAULT_JAR_SUFFIXES n'est pas final mais devrait l'être | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 55 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.deployers.mc.as6.WebGatewayBuilder.createWebserviceWars(WebDeploymentArchive) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 191 | Medium |
| org.jboss.soa.esb.listeners.deployers.mc.as6.WebGatewayBuilder.createTempDeploymentFile(File, String, boolean) ignores exceptional return value of java.io.File.mkdir() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 234 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.deployers.mc.as6.WebGatewayBuilder$WebDeploymentClassLoader devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 265-280 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Alimentation à perte d'une variable locale dans la méthode org.jboss.soa.esb.listeners.gateway.HibernateGatewayListener.doInitialise() | STYLE | DLS_DEAD_LOCAL_STORE | 132 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener$JBossRemotingMessageComposer.populateMessage(Message, InvocationRequest) fait une utilisation inefficace d'un itérateur sur keySet au lieu d'un itérateur sur entrySet | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 622 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.gateway.RemoteFileMessageComposer.getFileContents(File) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 109 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.bytesToFile(byte[], File) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 231 | Medium |
| org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileContents(File) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 133 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible déréférencement d'un pointeur null dans org.jboss.soa.esb.listeners.gateway.camel.CamelGateway.doInitialise() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 195 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Possible double vérification sur org.jboss.soa.esb.listeners.gateway.http.HttpGatewayServlet.contractInfo dans org.jboss.soa.esb.listeners.gateway.http.HttpGatewayServlet.getContract() | MT_CORRECTNESS | DC_DOUBLECHECK | 352-354 | Medium |
| org.jboss.soa.esb.listeners.gateway.http.HttpGatewayServlet.contractInfo is a mutable servlet field | MT_CORRECTNESS | MSF_MUTABLE_SERVLET_FIELD | 352 | High |
| La méthode org.jboss.soa.esb.listeners.gateway.http.HttpGatewayServlet.handleWsdlRequest(HttpServletRequest, HttpServletResponse) peut ne pas fermer un flux | BAD_PRACTICE | OS_OPEN_STREAM | 346 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.waitForStateChange(ManagedLifecycleState, long, boolean) ignores exceptional return value of java.util.concurrent.locks.Condition.await(long, TimeUnit) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 405 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.listeners.lifecycle.AbstractThreadedManagedLifecycle.waitForRunningStateChange(ManagedLifecycleThreadState, long) ignores exceptional return value of java.util.concurrent.locks.Condition.await(long, TimeUnit) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 302 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method new org.jboss.soa.esb.listeners.message.ActionStatusBean(long, int, Message, String, String) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 66 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.message.BeanContainerAction$AttachmentResolver devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 404-433 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.message.BeanContainerAction$BodyResolver devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 371-400 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La classe org.jboss.soa.esb.listeners.message.BeanContainerAction$PropertyResolver devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 338-367 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Ecriture d'un champ statique org.jboss.soa.esb.listeners.message.MessageAlerts.alerts depuis la méthode d'une instance new org.jboss.soa.esb.listeners.message.MessageAlerts() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 47 | High |
| Ecriture d'un champ statique org.jboss.soa.esb.listeners.message.MessageAlerts.alerts depuis la méthode d'une instance org.jboss.soa.esb.listeners.message.MessageAlerts.clearAlerts() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 51 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.jboss.soa.esb.listeners.message.MessageAwareListener.getCourier() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 492 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Primitive value is boxed and then immediately unboxed in org.jboss.soa.esb.listeners.message.ServiceMessageCounter.init(ConfigTree) | PERFORMANCE | BX_BOXING_IMMEDIATELY_UNBOXED | 292 | Medium |
| Method org.jboss.soa.esb.listeners.message.ServiceMessageCounter.init(ConfigTree) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 292 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.listeners.message.mime.MimeDecoder$Factory.getInstanceByType(String) peut ne pas fermer un flux | BAD_PRACTICE | OS_OPEN_STREAM | 89 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.message.body.content.ServiceControlCommand.getCollectionTime() risque d'exposer sa représentation interne en renvoyant org.jboss.soa.esb.message.body.content.ServiceControlCommand.collectionTime | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
| La méthode new org.jboss.soa.esb.message.body.content.ServiceControlCommand(String, String, Date, String, String, String) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.jboss.soa.esb.message.body.content.ServiceControlCommand.collectionTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 62 | Medium |
| La méthode org.jboss.soa.esb.message.body.content.ServiceControlCommand.setCollectionTime(Date) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.jboss.soa.esb.message.body.content.ServiceControlCommand.collectionTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 120 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.mock.MockAction.exception devrait être package protected | MALICIOUS_CODE | MS_PKGPROTECT | Not available | Medium |
| Ecriture d'un champ statique org.jboss.soa.esb.mock.MockAction.message depuis la méthode d'une instance org.jboss.soa.esb.mock.MockAction.process(Message) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 41 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Alimentation à perte d'une variable locale dans la méthode org.jboss.soa.esb.notification.NotifyFTP.getFtpEpr() | STYLE | DLS_DEAD_LOCAL_STORE | 133 | Medium |
| org.jboss.soa.esb.notification.NotifyFTP.sendNotification(Message) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 167 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.notification.NotifyFiles$NotificationFile doesn't override java.io.File.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 258-279 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Initialisation paresseuse incorrecte du champ statique org.jboss.soa.esb.services.registry.RegistryFactory.interceptors dans org.jboss.soa.esb.services.registry.RegistryFactory.configureInterceptors(Registry) | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 136-205 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.services.security.auth.ws.UsernameToken.getPassword() risque d'exposer sa représentation interne en renvoyant org.jboss.soa.esb.services.security.auth.ws.UsernameToken.password | MALICIOUS_CODE | EI_EXPOSE_REP | 37 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| L'utilisation de GetResource dans org.jboss.soa.esb.util.DeploymentArchive.addEntry(String, String) peut-être instable si la classe est étendue | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 125 | High |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.util.FileUtil.copyFile(File, File) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 204 | Medium |
| org.jboss.soa.esb.util.FileUtil.moveFile(File, File) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 150 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.util.FtpClientUtil.downloadFile(String, String) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 426 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.jboss.soa.esb.util.ObjLocatorSorter$RowCmp implémente Comparator mais pas Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 72-88 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Transtypage non vérifié/non confirmé de org.jboss.soa.esb.addressing.eprs.FTPSEpr vers p_oEpr dans org.jboss.soa.esb.util.RemoteFileSystemFactory.getRemoteFileSystem(FTPEpr, boolean) | STYLE | BC_UNCONFIRMED_CAST | 64 | Medium |
| Transtypage non vérifié/non confirmé de org.jboss.soa.esb.addressing.eprs.SFTPEpr vers p_oEpr dans org.jboss.soa.esb.util.RemoteFileSystemFactory.getRemoteFileSystem(FTPEpr, boolean) | STYLE | BC_UNCONFIRMED_CAST | 66 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| La méthode org.jboss.soa.esb.util.Util.format(String) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé | STYLE | REC_CATCH_EXCEPTION | 331 | Medium |