FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
141311705

Files

ClassBugs
org.apache.camel.ExpectedBodyTypeException1
org.apache.camel.FailedToCreateProducerException1
org.apache.camel.bam.ActivityBuilder1
org.apache.camel.bam.ActivityBuilder$11
org.apache.camel.bam.ActivityBuilder$21
org.apache.camel.bam.model.ActivityState4
org.apache.camel.bam.model.TemporalEntity4
org.apache.camel.bam.processor.ActivityMonitorEngine1
org.apache.camel.bam.processor.NoCorrelationKeyException2
org.apache.camel.builder.FromBuilder$11
org.apache.camel.builder.IdempotentConsumerBuilder1
org.apache.camel.builder.ResequencerBuilder$11
org.apache.camel.builder.xml.MessageVariableResolver1
org.apache.camel.component.cxf.CxfComponent1
org.apache.camel.component.cxf.CxfInvokeProducer1
org.apache.camel.component.cxf.CxfProducer2
org.apache.camel.component.cxf.CxfProducer$ResultFuture1
org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream4
org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream$12
org.apache.camel.component.cxf.transport.CamelConduit$DecoupledDestination1
org.apache.camel.component.cxf.transport.CamelDestination3
org.apache.camel.component.cxf.transport.CamelDestination$CamelOutputStream2
org.apache.camel.component.cxf.transport.CamelTransportBase3
org.apache.camel.component.cxf.transport.CamelTransportFactory2
org.apache.camel.component.http.CamelServlet1
org.apache.camel.component.http.HttpComponent1
org.apache.camel.component.http.HttpProducer2
org.apache.camel.component.http.JettyHttpComponent2
org.apache.camel.component.http.JettyHttpComponent$ConnectorRef1
org.apache.camel.component.jbi.CamelJbiComponent1
org.apache.camel.component.jbi.JbiEndpoint$21
org.apache.camel.component.jms.EndpointMessageListener1
org.apache.camel.component.jmx.JMXEndpoint1
org.apache.camel.component.mail.MailBinding1
org.apache.camel.component.mail.MailMessage1
org.apache.camel.component.mina.MinaProducer$11
org.apache.camel.component.pojo.NoPojoAvailableException1
org.apache.camel.component.pojo.PojoInvocation2
org.apache.camel.component.pojo.timer.TimerConsumer$11
org.apache.camel.component.pojo.timer.TimerEndpoint2
org.apache.camel.component.quartz.QuartzEndpoint1
org.apache.camel.component.queue.QueueEndpointConsumer1
org.apache.camel.component.xmpp.XmppGroupChatProducer1
org.apache.camel.component.xmpp.XmppPrivateChatProducer1
org.apache.camel.converter.CollectionConverter1
org.apache.camel.converter.jaxp.BytesSource3
org.apache.camel.converter.jaxp.StringSource1
org.apache.camel.converter.jaxp.XmlConverter2
org.apache.camel.impl.DefaultCamelContext2
org.apache.camel.processor.Pipeline1
org.apache.camel.processor.RedeliveryPolicy3
org.apache.camel.processor.SendProcessor1
org.apache.camel.processor.idempotent.NoMessageIdException2
org.apache.camel.spring.CamelBeanPostProcessor2
org.apache.camel.spring.CamelBeanPostProcessor$31
org.apache.camel.spring.CamelBeanPostProcessor$41
org.apache.camel.spring.CamelContextFactoryBean2
org.apache.camel.spring.EndpointFactoryBean1
org.apache.camel.spring.Main$ParameterOption1
org.apache.camel.spring.RouteBuilderFinder3
org.apache.camel.spring.remoting.CamelServiceExporter1
org.apache.camel.spring.util.BeanInfo1
org.apache.camel.spring.util.BeanInfo$11
org.apache.camel.spring.util.ReflectionUtils2
org.apache.camel.spring.xml.BuilderStatement1
org.apache.camel.spring.xml.CamelBeanDefinitionParser1
org.apache.camel.spring.xml.CamelBeanDefinitionParser$11
org.apache.camel.spring.xml.CamelNamespaceHandler$21
org.apache.camel.spring.xml.RouteBuilderFactoryBean1
org.apache.camel.spring.xml.StatementRouteBuilder1
org.apache.camel.util.ExpressionComparator1
org.apache.camel.util.ExpressionListComparator1
org.apache.camel.util.FactoryFinder1
org.apache.camel.util.IntrospectionSupport4
org.apache.camel.util.ResolverUtil1
org.apache.camel.util.URISupport1
org.apache.camel.util.URISupport$CompositeData3
org.apache.camel.util.UuidGenerator1

org.apache.camel.ExpectedBodyTypeException

BugCategoryDetailsLine
Class org.apache.camel.ExpectedBodyTypeException defines non-transient non-serializable instance field exchangeBAD_PRACTICESE_BAD_FIELDNot available

org.apache.camel.FailedToCreateProducerException

BugCategoryDetailsLine
Class org.apache.camel.FailedToCreateProducerException defines non-transient non-serializable instance field endpointBAD_PRACTICESE_BAD_FIELDNot available

org.apache.camel.bam.ActivityBuilder

BugCategoryDetailsLine
Redundant nullcheck of processor, which is known to be non-null in org.apache.camel.bam.ActivityBuilder.createRoute()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE57

org.apache.camel.bam.ActivityBuilder$1

BugCategoryDetailsLine
The class org.apache.camel.bam.ActivityBuilder$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.bam.ActivityBuilder$2

BugCategoryDetailsLine
The class org.apache.camel.bam.ActivityBuilder$2 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.bam.model.ActivityState

BugCategoryDetailsLine
org.apache.camel.bam.model.ActivityState.getTimeExpected() may expose internal representation by returning ActivityState.timeExpectedMALICIOUS_CODEEI_EXPOSE_REP123
org.apache.camel.bam.model.ActivityState.getTimeOverdue() may expose internal representation by returning ActivityState.timeOverdueMALICIOUS_CODEEI_EXPOSE_REP131
org.apache.camel.bam.model.ActivityState.setTimeExpected(Date) may expose internal representation by storing an externally mutable object into ActivityState.timeExpectedMALICIOUS_CODEEI_EXPOSE_REP2127
org.apache.camel.bam.model.ActivityState.setTimeOverdue(Date) may expose internal representation by storing an externally mutable object into ActivityState.timeOverdueMALICIOUS_CODEEI_EXPOSE_REP2135

org.apache.camel.bam.model.TemporalEntity

BugCategoryDetailsLine
org.apache.camel.bam.model.TemporalEntity.getTimeCompleted() may expose internal representation by returning TemporalEntity.timeCompletedMALICIOUS_CODEEI_EXPOSE_REP48
org.apache.camel.bam.model.TemporalEntity.getTimeStarted() may expose internal representation by returning TemporalEntity.timeStartedMALICIOUS_CODEEI_EXPOSE_REP40
org.apache.camel.bam.model.TemporalEntity.setTimeCompleted(Date) may expose internal representation by storing an externally mutable object into TemporalEntity.timeCompletedMALICIOUS_CODEEI_EXPOSE_REP252
org.apache.camel.bam.model.TemporalEntity.setTimeStarted(Date) may expose internal representation by storing an externally mutable object into TemporalEntity.timeStartedMALICIOUS_CODEEI_EXPOSE_REP244

org.apache.camel.bam.processor.ActivityMonitorEngine

BugCategoryDetailsLine
Exception is caught when Exception is not thrown in org.apache.camel.bam.processor.ActivityMonitorEngine.run()STYLEREC_CATCH_EXCEPTION97

org.apache.camel.bam.processor.NoCorrelationKeyException

BugCategoryDetailsLine
Class org.apache.camel.bam.processor.NoCorrelationKeyException defines non-transient non-serializable instance field exchangeBAD_PRACTICESE_BAD_FIELDNot available
Class org.apache.camel.bam.processor.NoCorrelationKeyException defines non-transient non-serializable instance field processorBAD_PRACTICESE_BAD_FIELDNot available

org.apache.camel.builder.FromBuilder$1

BugCategoryDetailsLine
The class org.apache.camel.builder.FromBuilder$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.builder.IdempotentConsumerBuilder

BugCategoryDetailsLine
Class org.apache.camel.builder.IdempotentConsumerBuilder implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available

org.apache.camel.builder.ResequencerBuilder$1

BugCategoryDetailsLine
The class org.apache.camel.builder.ResequencerBuilder$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.builder.xml.MessageVariableResolver

BugCategoryDetailsLine
MessageVariableResolver.exchange not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.cxf.CxfComponent

BugCategoryDetailsLine
Dead store to u in org.apache.camel.component.cxf.CxfComponent.createEndpoint(String, String, Map)STYLEDLS_DEAD_LOCAL_STORE51

org.apache.camel.component.cxf.CxfInvokeProducer

BugCategoryDetailsLine
CxfInvokeProducer.client not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.cxf.CxfProducer

BugCategoryDetailsLine
Dead store to response in org.apache.camel.component.cxf.CxfProducer.process(CxfExchange)STYLEDLS_DEAD_LOCAL_STORE72
CxfProducer.conduit not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.cxf.CxfProducer$ResultFuture

BugCategoryDetailsLine
Should org.apache.camel.component.cxf.CxfProducer$ResultFuture be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream

BugCategoryDetailsLine
Load of known null value in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse()STYLENP_LOAD_OF_KNOWN_NULL_VALUE234
Load of known null value in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse()STYLENP_LOAD_OF_KNOWN_NULL_VALUE245
A known null value is checked to see if it is an instance of java.lang.String in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse()CORRECTNESSNP_NULL_INSTANCEOF238
Non-virtual method call in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse() passes null for unconditionally dereferenced parameter of java.io.ByteArrayInputStream.ByteArrayInputStream(byte[])CORRECTNESSNP_NULL_PARAM_DEREF_NONVIRTUAL245

org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream$1

BugCategoryDetailsLine
Redundant nullcheck of correlationID which is known to be null in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream$1.process(Exchange)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE180
Redundant nullcheck of id which is known to be null in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream$1.process(Exchange)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE170

org.apache.camel.component.cxf.transport.CamelConduit$DecoupledDestination

BugCategoryDetailsLine
Should org.apache.camel.component.cxf.transport.CamelConduit$DecoupledDestination be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

org.apache.camel.component.cxf.transport.CamelDestination

BugCategoryDetailsLine
Unread field: org.apache.camel.component.cxf.transport.CamelDestination.endpointPERFORMANCEURF_UNREAD_FIELD90
Unread field: org.apache.camel.component.cxf.transport.CamelDestination.conduitInitiatorPERFORMANCEURF_UNREAD_FIELD67
Unwritten field: org.apache.camel.component.cxf.transport.CamelDestination.camelUriCORRECTNESSUWF_UNWRITTEN_FIELD90

org.apache.camel.component.cxf.transport.CamelDestination$CamelOutputStream

BugCategoryDetailsLine
Unused field: org.apache.camel.component.cxf.transport.CamelDestination$CamelOutputStream.replyToPERFORMANCEUUF_UNUSED_FIELDNot available
Unused field: org.apache.camel.component.cxf.transport.CamelDestination$CamelOutputStream.senderPERFORMANCEUUF_UNUSED_FIELDNot available

org.apache.camel.component.cxf.transport.CamelTransportBase

BugCategoryDetailsLine
org.apache.camel.component.cxf.transport.CamelTransportBase.close() might ignore java.lang.ExceptionBAD_PRACTICEDE_MIGHT_IGNORE62
Unread field: org.apache.camel.component.cxf.transport.CamelTransportBase.camelContextPERFORMANCEURF_UNREAD_FIELD39
Unwritten field: org.apache.camel.component.cxf.transport.CamelTransportBase.replyDestinationCORRECTNESSUWF_UNWRITTEN_FIELD50

org.apache.camel.component.cxf.transport.CamelTransportFactory

BugCategoryDetailsLine
Method call in org.apache.camel.component.cxf.transport.CamelTransportFactory.getConduit(EndpointInfo) passes null for unconditionally dereferenced parameter of getConduit(EndpointInfo, EndpointReferenceType)CORRECTNESSNP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS68
CamelTransportFactory.bus not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.http.CamelServlet

BugCategoryDetailsLine
org.apache.camel.component.http.CamelServlet is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.apache.camel.component.http.HttpComponent

BugCategoryDetailsLine
HttpComponent.camelServlet not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.http.HttpProducer

BugCategoryDetailsLine
Redundant nullcheck of requestEntity, which is known to be non-null in org.apache.camel.component.http.HttpProducer.createMethod(Exchange)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE67
Class org.apache.camel.component.http.HttpProducer implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available

org.apache.camel.component.http.JettyHttpComponent

BugCategoryDetailsLine
Dead store to connectorRef in org.apache.camel.component.http.JettyHttpComponent.connect(HttpConsumer)STYLEDLS_DEAD_LOCAL_STORE111
JettyHttpComponent.server not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.http.JettyHttpComponent$ConnectorRef

BugCategoryDetailsLine
Should org.apache.camel.component.http.JettyHttpComponent$ConnectorRef be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

org.apache.camel.component.jbi.CamelJbiComponent

BugCategoryDetailsLine
Dead store to parts in org.apache.camel.component.jbi.CamelJbiComponent.activateJbiEndpoint(JbiEndpoint, Processor)STYLEDLS_DEAD_LOCAL_STORE156

org.apache.camel.component.jbi.JbiEndpoint$2

BugCategoryDetailsLine
Unread field: org.apache.camel.component.jbi.JbiEndpoint$2.jbiEndpointPERFORMANCEURF_UNREAD_FIELD59

org.apache.camel.component.jms.EndpointMessageListener

BugCategoryDetailsLine
Confusing to have methods org.apache.camel.component.jms.EndpointMessageListener.onMessage(Message) and org.apache.camel.component.cxf.CxfProducer$ResultFuture.onMessage(Message)BAD_PRACTICENM_CONFUSING49-58

org.apache.camel.component.jmx.JMXEndpoint

BugCategoryDetailsLine
JMXEndpoint.mbeanServer not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.mail.MailBinding

BugCategoryDetailsLine
Exception is caught when Exception is not thrown in org.apache.camel.component.mail.MailBinding.populateMailMessage(MailEndpoint, MimeMessage, Exchange)STYLEREC_CATCH_EXCEPTION55

org.apache.camel.component.mail.MailMessage

BugCategoryDetailsLine
Confusing to have methods org.apache.camel.component.mail.MailMessage.setMessage(Message) and org.apache.camel.component.cxf.CxfMessage.setMessage(Message)BAD_PRACTICENM_CONFUSING69-70

org.apache.camel.component.mina.MinaProducer$1

BugCategoryDetailsLine
The class org.apache.camel.component.mina.MinaProducer$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.component.pojo.NoPojoAvailableException

BugCategoryDetailsLine
Class org.apache.camel.component.pojo.NoPojoAvailableException defines non-transient non-serializable instance field endpointBAD_PRACTICESE_BAD_FIELDNot available

org.apache.camel.component.pojo.PojoInvocation

BugCategoryDetailsLine
org.apache.camel.component.pojo.PojoInvocation.getArgs() may expose internal representation by returning PojoInvocation.argsMALICIOUS_CODEEI_EXPOSE_REP34
org.apache.camel.component.pojo.PojoInvocation.PojoInvocation(Object, Method, Object[]) may expose internal representation by storing an externally mutable object into PojoInvocation.argsMALICIOUS_CODEEI_EXPOSE_REP230

org.apache.camel.component.pojo.timer.TimerConsumer$1

BugCategoryDetailsLine
The class org.apache.camel.component.pojo.timer.TimerConsumer$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.component.pojo.timer.TimerEndpoint

BugCategoryDetailsLine
org.apache.camel.component.pojo.timer.TimerEndpoint.getTime() may expose internal representation by returning TimerEndpoint.timeMALICIOUS_CODEEI_EXPOSE_REP114
org.apache.camel.component.pojo.timer.TimerEndpoint.setTime(Date) may expose internal representation by storing an externally mutable object into TimerEndpoint.timeMALICIOUS_CODEEI_EXPOSE_REP2118

org.apache.camel.component.quartz.QuartzEndpoint

BugCategoryDetailsLine
Non-virtual method call in org.apache.camel.component.quartz.QuartzEndpoint.createExchange() passes null for unconditionally dereferenced parameter of QuartzExchange.QuartzExchange(CamelContext, JobExecutionContext)CORRECTNESSNP_NULL_PARAM_DEREF_NONVIRTUAL122

org.apache.camel.component.queue.QueueEndpointConsumer

BugCategoryDetailsLine
QueueEndpointConsumer.thread not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.xmpp.XmppGroupChatProducer

BugCategoryDetailsLine
XmppGroupChatProducer.chat not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.component.xmpp.XmppPrivateChatProducer

BugCategoryDetailsLine
XmppPrivateChatProducer.chat not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.converter.CollectionConverter

BugCategoryDetailsLine
Should org.apache.camel.converter.CollectionConverter.toArray(Collection) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS43

org.apache.camel.converter.jaxp.BytesSource

BugCategoryDetailsLine
org.apache.camel.converter.jaxp.BytesSource.getData() may expose internal representation by returning BytesSource.dataMALICIOUS_CODEEI_EXPOSE_REP54
org.apache.camel.converter.jaxp.BytesSource.BytesSource(byte[]) may expose internal representation by storing an externally mutable object into BytesSource.dataMALICIOUS_CODEEI_EXPOSE_REP237
org.apache.camel.converter.jaxp.BytesSource.BytesSource(byte[], String) may expose internal representation by storing an externally mutable object into BytesSource.dataMALICIOUS_CODEEI_EXPOSE_REP241

org.apache.camel.converter.jaxp.StringSource

BugCategoryDetailsLine
org.apache.camel.converter.jaxp.StringSource is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.apache.camel.converter.jaxp.XmlConverter

BugCategoryDetailsLine
org.apache.camel.converter.jaxp.XmlConverter.defaultCharset isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL65
Exception is caught when Exception is not thrown in org.apache.camel.converter.jaxp.XmlConverter.toSAXSourceFromDOM(DOMSource)STYLEREC_CATCH_EXCEPTION288

org.apache.camel.impl.DefaultCamelContext

BugCategoryDetailsLine
Redundant nullcheck of answer, which is known to be non-null in org.apache.camel.impl.DefaultCamelContext.getEndpoint(String)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE211
Class org.apache.camel.impl.DefaultCamelContext implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available

org.apache.camel.processor.Pipeline

BugCategoryDetailsLine
Class org.apache.camel.processor.Pipeline implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available

org.apache.camel.processor.RedeliveryPolicy

BugCategoryDetailsLine
org.apache.camel.processor.RedeliveryPolicy.randomNumberGenerator should be package protectedMALICIOUS_CODEMS_PKGPROTECTNot available
org.apache.camel.processor.RedeliveryPolicy is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available
The field org.apache.camel.processor.RedeliveryPolicy.randomNumberGenerator is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDNot available

org.apache.camel.processor.SendProcessor

BugCategoryDetailsLine
Class org.apache.camel.processor.SendProcessor implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available

org.apache.camel.processor.idempotent.NoMessageIdException

BugCategoryDetailsLine
Class org.apache.camel.processor.idempotent.NoMessageIdException defines non-transient non-serializable instance field exchangeBAD_PRACTICESE_BAD_FIELDNot available
Class org.apache.camel.processor.idempotent.NoMessageIdException defines non-transient non-serializable instance field expressionBAD_PRACTICESE_BAD_FIELDNot available

org.apache.camel.spring.CamelBeanPostProcessor

BugCategoryDetailsLine
CamelBeanPostProcessor.applicationContext not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
CamelBeanPostProcessor.camelContext not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.spring.CamelBeanPostProcessor$3

BugCategoryDetailsLine
The class org.apache.camel.spring.CamelBeanPostProcessor$3 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.spring.CamelBeanPostProcessor$4

BugCategoryDetailsLine
The class org.apache.camel.spring.CamelBeanPostProcessor$4 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.spring.CamelContextFactoryBean

BugCategoryDetailsLine
org.apache.camel.spring.CamelContextFactoryBean.getPackages() may expose internal representation by returning CamelContextFactoryBean.packagesMALICIOUS_CODEEI_EXPOSE_REP115
org.apache.camel.spring.CamelContextFactoryBean.setPackages(String[]) may expose internal representation by storing an externally mutable object into CamelContextFactoryBean.packagesMALICIOUS_CODEEI_EXPOSE_REP2125

org.apache.camel.spring.EndpointFactoryBean

BugCategoryDetailsLine
EndpointFactoryBean.context not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.spring.Main$ParameterOption

BugCategoryDetailsLine
Unread field: org.apache.camel.spring.Main$ParameterOption.parameterNamePERFORMANCEURF_UNREAD_FIELD178

org.apache.camel.spring.RouteBuilderFinder

BugCategoryDetailsLine
org.apache.camel.spring.RouteBuilderFinder.getPackages() may expose internal representation by returning RouteBuilderFinder.packagesMALICIOUS_CODEEI_EXPOSE_REP53
org.apache.camel.spring.RouteBuilderFinder.RouteBuilderFinder(ApplicationContext, String[]) may expose internal representation by storing an externally mutable object into RouteBuilderFinder.packagesMALICIOUS_CODEEI_EXPOSE_REP244
org.apache.camel.spring.RouteBuilderFinder.setPackages(String[]) may expose internal representation by storing an externally mutable object into RouteBuilderFinder.packagesMALICIOUS_CODEEI_EXPOSE_REP257

org.apache.camel.spring.remoting.CamelServiceExporter

BugCategoryDetailsLine
CamelServiceExporter.pojoComponent not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.spring.util.BeanInfo

BugCategoryDetailsLine
Dead store to content in org.apache.camel.spring.util.BeanInfo.createParameterUnmarshalExpressionForAnnotation(Class, Method, Class, Annotation)STYLEDLS_DEAD_LOCAL_STORE193

org.apache.camel.spring.util.BeanInfo$1

BugCategoryDetailsLine
The class org.apache.camel.spring.util.BeanInfo$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.spring.util.ReflectionUtils

BugCategoryDetailsLine
org.apache.camel.spring.util.ReflectionUtils.setField(Field, Object, Object) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged blockBAD_PRACTICEDP_DO_INSIDE_DO_PRIVILEGED54
org.apache.camel.spring.util.ReflectionUtils.setField(Field, Object, Object) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged blockBAD_PRACTICEDP_DO_INSIDE_DO_PRIVILEGED58

org.apache.camel.spring.xml.BuilderStatement

BugCategoryDetailsLine
BuilderStatement.actions not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.spring.xml.CamelBeanDefinitionParser

BugCategoryDetailsLine
Nullcheck of childElements at line 68 of value previously dereferenced in org.apache.camel.spring.xml.CamelBeanDefinitionParser.parseInternal(Element, ParserContext)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE66

org.apache.camel.spring.xml.CamelBeanDefinitionParser$1

BugCategoryDetailsLine
The class org.apache.camel.spring.xml.CamelBeanDefinitionParser$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.spring.xml.CamelNamespaceHandler$2

BugCategoryDetailsLine
The class org.apache.camel.spring.xml.CamelNamespaceHandler$2 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

org.apache.camel.spring.xml.RouteBuilderFactoryBean

BugCategoryDetailsLine
RouteBuilderFactoryBean.context not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.spring.xml.StatementRouteBuilder

BugCategoryDetailsLine
StatementRouteBuilder.routes not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.util.ExpressionComparator

BugCategoryDetailsLine
org.apache.camel.util.ExpressionComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLENot available

org.apache.camel.util.ExpressionListComparator

BugCategoryDetailsLine
org.apache.camel.util.ExpressionListComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLENot available

org.apache.camel.util.FactoryFinder

BugCategoryDetailsLine
org.apache.camel.util.FactoryFinder.doFindFactoryProperies(String) might ignore java.lang.ExceptionBAD_PRACTICEDE_MIGHT_IGNORE134

org.apache.camel.util.IntrospectionSupport

BugCategoryDetailsLine
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE189
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE69
Method org.apache.camel.util.IntrospectionSupport.extractProperties(Map, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR114
Method org.apache.camel.util.IntrospectionSupport.setProperties(Object, Map, String) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR94

org.apache.camel.util.ResolverUtil

BugCategoryDetailsLine
org.apache.camel.util.ResolverUtil.loadImplementationsInJar(ResolverUtil$Test, String, File) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM290

org.apache.camel.util.URISupport

BugCategoryDetailsLine
Method org.apache.camel.util.URISupport.createQueryString(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR287

org.apache.camel.util.URISupport$CompositeData

BugCategoryDetailsLine
org.apache.camel.util.URISupport$CompositeData.getComponents() may expose internal representation by returning URISupport$CompositeData.componentsMALICIOUS_CODEEI_EXPOSE_REP44
URISupport$CompositeData.components not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
URISupport$CompositeData.parameters not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.apache.camel.util.UuidGenerator

BugCategoryDetailsLine
Exception is caught when Exception is not thrown in org.apache.camel.util.UuidGenerator.<static initializer>()STYLEREC_CATCH_EXCEPTION56