The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.fulcrum.yaafi.cli.Getopt(String[], String) may expose internal representation by storing an externally mutable object into Getopt.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 59 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.fulcrum.yaafi.cli.Main.getArgs() may expose internal representation by returning Main.args | MALICIOUS_CODE | EI_EXPOSE_REP | 450 | Medium |
new org.apache.fulcrum.yaafi.cli.Main(String[]) may expose internal representation by storing an externally mutable object into Main.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 160 | Medium |
org.apache.fulcrum.yaafi.cli.Main.setArgs(String[]) may expose internal representation by storing an externally mutable object into Main.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 457 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Inconsistent synchronization of org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl.context; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 257 | Medium |
Inconsistent synchronization of org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl.serviceConfiguration; locked 75% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 942 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.fulcrum.yaafi.framework.factory.ServiceContainerConfiguration.getServiceManagerList() may expose internal representation by returning ServiceContainerConfiguration.serviceManagerList | MALICIOUS_CODE | EI_EXPOSE_REP | 582 | Medium |
org.apache.fulcrum.yaafi.framework.factory.ServiceContainerConfiguration.setServiceManagerList(String[]) may expose internal representation by storing an externally mutable object into ServiceContainerConfiguration.serviceManagerList | MALICIOUS_CODE | EI_EXPOSE_REP2 | 592 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorContextImpl.getArgs() may expose internal representation by returning AvalonInterceptorContextImpl.args | MALICIOUS_CODE | EI_EXPOSE_REP | 140 | Medium |
new org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorContextImpl(String, String, Object, Method, Object[]) may expose internal representation by storing an externally mutable object into AvalonInterceptorContextImpl.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 99 | Medium |
Write to static field org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorContextImpl.invocationCounter from instance method new org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorContextImpl(String, String, Object, Method, Object[]) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 94 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorInvocationHandler.getServiceInterceptorList() may expose internal representation by returning AvalonInterceptorInvocationHandler.serviceInterceptorList | MALICIOUS_CODE | EI_EXPOSE_REP | 95 | Medium |
new org.apache.fulcrum.yaafi.framework.interceptor.AvalonInterceptorInvocationHandler(String, String, Object, AvalonInterceptorService[]) may expose internal representation by storing an externally mutable object into AvalonInterceptorInvocationHandler.serviceInterceptorList | MALICIOUS_CODE | EI_EXPOSE_REP2 | 79 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: org.apache.fulcrum.yaafi.interceptor.baseservice.BaseInterceptorServiceImpl.serviceManager | CORRECTNESS | UWF_UNWRITTEN_FIELD | 224 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Return value of Object.toString() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 104 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationEntry.getServiceList() may expose internal representation by returning ReconfigurationEntry.serviceList | MALICIOUS_CODE | EI_EXPOSE_REP | 112 | Medium |
new org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationEntry(Logger, File, String, String[]) may expose internal representation by storing an externally mutable object into ReconfigurationEntry.serviceList | MALICIOUS_CODE | EI_EXPOSE_REP2 | 52 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerServiceImpl.instance from instance method org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerServiceImpl.dispose() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 129 | High |