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
1421900

Files

ClassBugs
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.ProcessInstance4
org.apache.camel.bam.model.TemporalEntity4
org.apache.camel.bam.processor.ActivityMonitorEngine2
org.apache.camel.bam.processor.NoCorrelationKeyException1
org.apache.camel.bam.rules.ActivityRules1

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_REP127
org.apache.camel.bam.model.ActivityState.getTimeOverdue() may expose internal representation by returning ActivityState.timeOverdueMALICIOUS_CODEEI_EXPOSE_REP136
org.apache.camel.bam.model.ActivityState.setTimeExpected(Date) may expose internal representation by storing an externally mutable object into ActivityState.timeExpectedMALICIOUS_CODEEI_EXPOSE_REP2131
org.apache.camel.bam.model.ActivityState.setTimeOverdue(Date) may expose internal representation by storing an externally mutable object into ActivityState.timeOverdueMALICIOUS_CODEEI_EXPOSE_REP2140

org.apache.camel.bam.model.ProcessInstance

BugCategoryDetailsLine
org.apache.camel.bam.model.ProcessInstance.getTimeCompleted() may expose internal representation by returning ProcessInstance.timeCompletedMALICIOUS_CODEEI_EXPOSE_REP99
org.apache.camel.bam.model.ProcessInstance.getTimeStarted() may expose internal representation by returning ProcessInstance.timeStartedMALICIOUS_CODEEI_EXPOSE_REP90
org.apache.camel.bam.model.ProcessInstance.setTimeCompleted(Date) may expose internal representation by storing an externally mutable object into ProcessInstance.timeCompletedMALICIOUS_CODEEI_EXPOSE_REP2103
org.apache.camel.bam.model.ProcessInstance.setTimeStarted(Date) may expose internal representation by storing an externally mutable object into ProcessInstance.timeStartedMALICIOUS_CODEEI_EXPOSE_REP294

org.apache.camel.bam.model.TemporalEntity

BugCategoryDetailsLine
org.apache.camel.bam.model.TemporalEntity.getTimeCompleted() may expose internal representation by returning TemporalEntity.timeCompletedMALICIOUS_CODEEI_EXPOSE_REP53
org.apache.camel.bam.model.TemporalEntity.getTimeStarted() may expose internal representation by returning TemporalEntity.timeStartedMALICIOUS_CODEEI_EXPOSE_REP44
org.apache.camel.bam.model.TemporalEntity.setTimeCompleted(Date) may expose internal representation by storing an externally mutable object into TemporalEntity.timeCompletedMALICIOUS_CODEEI_EXPOSE_REP257
org.apache.camel.bam.model.TemporalEntity.setTimeStarted(Date) may expose internal representation by storing an externally mutable object into TemporalEntity.timeStartedMALICIOUS_CODEEI_EXPOSE_REP248

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
Unwritten field: org.apache.camel.bam.processor.ActivityMonitorEngine.escalateLevelCORRECTNESSUWF_UNWRITTEN_FIELD44

org.apache.camel.bam.processor.NoCorrelationKeyException

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

org.apache.camel.bam.rules.ActivityRules

BugCategoryDetailsLine
Unread field: org.apache.camel.bam.rules.ActivityRules.activityDefinitionPERFORMANCEURF_UNREAD_FIELD80