The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 292 | 22 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| CamelBeanPostProcessor.applicationContext not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| CamelBeanPostProcessor.camelContext not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.camel.spring.CamelBeanPostProcessor$3 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.camel.spring.CamelBeanPostProcessor$4 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.camel.spring.CamelContextFactoryBean.getPackages() may expose internal representation by returning CamelContextFactoryBean.packages | MALICIOUS_CODE | EI_EXPOSE_REP | 115 |
| org.apache.camel.spring.CamelContextFactoryBean.setPackages(String[]) may expose internal representation by storing an externally mutable object into CamelContextFactoryBean.packages | MALICIOUS_CODE | EI_EXPOSE_REP2 | 125 |
| Bug | Category | Details | Line |
|---|---|---|---|
| EndpointFactoryBean.context not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Unread field: org.apache.camel.spring.Main$ParameterOption.parameterName | PERFORMANCE | URF_UNREAD_FIELD | 178 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.camel.spring.RouteBuilderFinder.getPackages() may expose internal representation by returning RouteBuilderFinder.packages | MALICIOUS_CODE | EI_EXPOSE_REP | 53 |
| org.apache.camel.spring.RouteBuilderFinder.RouteBuilderFinder(ApplicationContext, String[]) may expose internal representation by storing an externally mutable object into RouteBuilderFinder.packages | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 |
| org.apache.camel.spring.RouteBuilderFinder.setPackages(String[]) may expose internal representation by storing an externally mutable object into RouteBuilderFinder.packages | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 |
| Bug | Category | Details | Line |
|---|---|---|---|
| CamelServiceExporter.pojoComponent not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to content in org.apache.camel.spring.util.BeanInfo.createParameterUnmarshalExpressionForAnnotation(Class, Method, Class, Annotation) | STYLE | DLS_DEAD_LOCAL_STORE | 193 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.camel.spring.util.BeanInfo$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| 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 block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 54 |
| 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 block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 58 |
| Bug | Category | Details | Line |
|---|---|---|---|
| BuilderStatement.actions not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| Nullcheck of childElements at line 68 of value previously dereferenced in org.apache.camel.spring.xml.CamelBeanDefinitionParser.parseInternal(Element, ParserContext) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 66 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.camel.spring.xml.CamelBeanDefinitionParser$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.camel.spring.xml.CamelNamespaceHandler$2 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| RouteBuilderFactoryBean.context not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| StatementRouteBuilder.routes not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |