FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
250 25 0 0

org.apache.turbine.Turbine

Bug Category Details Line Priority
org.apache.turbine.Turbine.handleHorribleException(HttpServletResponse, Throwable) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 900 Medium
Write to static field org.apache.turbine.Turbine.firstDoGet from instance method org.apache.turbine.Turbine.destroy() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 731 High
Write to static field org.apache.turbine.Turbine.firstInit from instance method org.apache.turbine.Turbine.destroy() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 730 High
Write to static field org.apache.turbine.Turbine.applicationRoot from instance method org.apache.turbine.Turbine.configure(ServletConfig, ServletContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 263 Medium
Write to static field org.apache.turbine.Turbine.webappRoot from instance method org.apache.turbine.Turbine.configure(ServletConfig, ServletContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 267 Medium

org.apache.turbine.om.security.DefaultUserImpl

Bug Category Details Line Priority
org.apache.turbine.om.security.DefaultUserImpl.getLastAccessDate() may expose internal representation by returning DefaultUserImpl.lastAccessDate MALICIOUS_CODE EI_EXPOSE_REP 429 Medium

org.apache.turbine.services.BaseUnicastRemoteService

Bug Category Details Line Priority
Class org.apache.turbine.services.BaseUnicastRemoteService defines non-transient non-serializable instance field configuration BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class org.apache.turbine.services.BaseUnicastRemoteService defines non-transient non-serializable instance field initableBroker BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class org.apache.turbine.services.BaseUnicastRemoteService defines non-transient non-serializable instance field serviceBroker BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.turbine.services.naming.TurbineNamingService

Bug Category Details Line Priority
Write to static field org.apache.turbine.services.naming.TurbineNamingService.contextPropsList from instance method org.apache.turbine.services.naming.TurbineNamingService.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 84 Medium

org.apache.turbine.services.pull.TurbinePullService

Bug Category Details Line Priority
Redundant nullcheck of tool, which is known to be non-null in org.apache.turbine.services.pull.TurbinePullService.populateWithPermTools(List, Context, Object, User) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 636 Medium
Redundant nullcheck of tool, which is known to be non-null in org.apache.turbine.services.pull.TurbinePullService.populateWithSessionTools(List, Context, RunData, User) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 553 Medium

org.apache.turbine.services.schedule.AbstractSchedulerService$MainLoop

Bug Category Details Line Priority

org.apache.turbine.services.schedule.BaseJobEntryTorque

Bug Category Details Line Priority
org.apache.turbine.services.schedule.BaseJobEntryTorque.getProperty() may expose internal representation by returning BaseJobEntryTorque.property MALICIOUS_CODE EI_EXPOSE_REP 331 Medium
org.apache.turbine.services.schedule.BaseJobEntryTorque.setProperty(byte[]) may expose internal representation by storing an externally mutable object into BaseJobEntryTorque.property MALICIOUS_CODE EI_EXPOSE_REP2 346 Medium

org.apache.turbine.services.schedule.JobEntryQuartz

Bug Category Details Line Priority
org.apache.turbine.services.schedule.JobEntryQuartz defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 41 Medium

org.apache.turbine.services.session.SessionListener

Bug Category Details Line Priority
Class org.apache.turbine.services.session.SessionListener defines non-transient non-serializable instance field sessionService BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.turbine.services.template.BaseTemplateEngineService

Bug Category Details Line Priority
org.apache.turbine.services.template.BaseTemplateEngineService.getTemplateEngineServiceConfiguration() may expose internal representation by returning BaseTemplateEngineService.configuration MALICIOUS_CODE EI_EXPOSE_REP 72 Medium

org.apache.turbine.services.template.mapper.ScreenDefaultTemplateMapper

Bug Category Details Line Priority
Dead store to componentSize in org.apache.turbine.services.template.mapper.ScreenDefaultTemplateMapper.doMapping(String) STYLE DLS_DEAD_LOCAL_STORE 84 Medium

org.apache.turbine.services.uniqueid.TurbineUniqueIdService

Bug Category Details Line Priority
Write to static field org.apache.turbine.services.uniqueid.TurbineUniqueIdService.counter from instance method org.apache.turbine.services.uniqueid.TurbineUniqueIdService.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 69 High
Write to static field org.apache.turbine.services.uniqueid.TurbineUniqueIdService.turbineId from instance method org.apache.turbine.services.uniqueid.TurbineUniqueIdService.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 81 Medium
Write to static field org.apache.turbine.services.uniqueid.TurbineUniqueIdService.turbineURL from instance method org.apache.turbine.services.uniqueid.TurbineUniqueIdService.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 77 Medium

org.apache.turbine.util.ObjectUtils

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.turbine.util.ObjectUtils.deserialize(byte[]) STYLE REC_CATCH_EXCEPTION 94 Medium

org.apache.turbine.util.ServerData

Bug Category Details Line Priority
org.apache.turbine.util.ServerData defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 132-133 Medium

org.apache.turbine.util.TurbineConfig

Bug Category Details Line Priority
Unread public/protected field: org.apache.turbine.util.TurbineConfig.timeout STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 100 Medium