The following document contains the results of FindBugs
FindBugs Version is 3.0.0
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.archive.Archive.getCreateDate() may expose internal representation by returning Archive.createDate | MALICIOUS_CODE | EI_EXPOSE_REP | 389 | Medium |
com.logitags.cibet.actuator.archive.Archive.setCreateDate(Date) may expose internal representation by storing an externally mutable object into Archive.createDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 380 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field com.logitags.cibet.actuator.archive.ArchiveActuator.integrityCheck from instance method com.logitags.cibet.actuator.archive.ArchiveActuator.setIntegrityCheck(boolean) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 111 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.archive.IntegrityCheck.getCheckDate() may expose internal representation by returning IntegrityCheck.checkDate | MALICIOUS_CODE | EI_EXPOSE_REP | 285 | Medium |
com.logitags.cibet.actuator.archive.IntegrityCheck.setCheckDate(Date) may expose internal representation by storing an externally mutable object into IntegrityCheck.checkDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 295 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.dc.DcControllable.getApprovalDate() may expose internal representation by returning DcControllable.approvalDate | MALICIOUS_CODE | EI_EXPOSE_REP | 542 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.getCreateDate() may expose internal representation by returning DcControllable.createDate | MALICIOUS_CODE | EI_EXPOSE_REP | 435 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.getExecutionDate() may expose internal representation by returning DcControllable.executionDate | MALICIOUS_CODE | EI_EXPOSE_REP | 662 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.getFirstApprovalDate() may expose internal representation by returning DcControllable.firstApprovalDate | MALICIOUS_CODE | EI_EXPOSE_REP | 359 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.getScheduledDate() may expose internal representation by returning DcControllable.scheduledDate | MALICIOUS_CODE | EI_EXPOSE_REP | 647 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.setApprovalDate(Date) may expose internal representation by storing an externally mutable object into DcControllable.approvalDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 550 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.setCreateDate(Date) may expose internal representation by storing an externally mutable object into DcControllable.createDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 426 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.setExecutionDate(Date) may expose internal representation by storing an externally mutable object into DcControllable.executionDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 670 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.setFirstApprovalDate(Date) may expose internal representation by storing an externally mutable object into DcControllable.firstApprovalDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 349 | Medium |
com.logitags.cibet.actuator.dc.DcControllable.setScheduledDate(Date) may expose internal representation by storing an externally mutable object into DcControllable.scheduledDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 655 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in com.logitags.cibet.actuator.dc.FourEyesActuator.beforeEvent(EventMetadata) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 151 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in com.logitags.cibet.actuator.dc.TwoManRuleActuator.beforeEvent(EventMetadata) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 102 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.loadcontrol.LoadControlActuator.getCustomMonitors() may expose internal representation by returning LoadControlActuator.customMonitors | MALICIOUS_CODE | EI_EXPOSE_REP | 472 | Medium |
com.logitags.cibet.actuator.loadcontrol.LoadControlActuator.getStartTime() may expose internal representation by returning LoadControlActuator.startTime | MALICIOUS_CODE | EI_EXPOSE_REP | 366 | Medium |
com.logitags.cibet.actuator.loadcontrol.LoadControlActuator.setCustomMonitors(Monitor[]) may expose internal representation by storing an externally mutable object into LoadControlActuator.customMonitors | MALICIOUS_CODE | EI_EXPOSE_REP2 | 480 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.lock.LockedObject.getLockDate() may expose internal representation by returning LockedObject.lockDate | MALICIOUS_CODE | EI_EXPOSE_REP | 208 | Medium |
com.logitags.cibet.actuator.lock.LockedObject.getObject() may expose internal representation by returning LockedObject.object | MALICIOUS_CODE | EI_EXPOSE_REP | 343 | Medium |
com.logitags.cibet.actuator.lock.LockedObject.getUnlockDate() may expose internal representation by returning LockedObject.unlockDate | MALICIOUS_CODE | EI_EXPOSE_REP | 223 | Medium |
com.logitags.cibet.actuator.lock.LockedObject.setLockDate(Date) may expose internal representation by storing an externally mutable object into LockedObject.lockDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 216 | Medium |
com.logitags.cibet.actuator.lock.LockedObject.setObject(byte[]) may expose internal representation by storing an externally mutable object into LockedObject.object | MALICIOUS_CODE | EI_EXPOSE_REP2 | 351 | Medium |
com.logitags.cibet.actuator.lock.LockedObject.setUnlockDate(Date) may expose internal representation by storing an externally mutable object into LockedObject.unlockDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 231 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.scheduler.SchedulerActuator.getTimerStart() may expose internal representation by returning SchedulerActuator.timerStart | MALICIOUS_CODE | EI_EXPOSE_REP | 398 | Medium |
com.logitags.cibet.actuator.scheduler.SchedulerActuator.setTimerStart(Date) may expose internal representation by storing an externally mutable object into SchedulerActuator.timerStart | MALICIOUS_CODE | EI_EXPOSE_REP2 | 406 | Medium |
Switch statement found in com.logitags.cibet.actuator.scheduler.SchedulerActuator.beforeEvent(EventMetadata) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 146 | Medium |
Switch statement found in com.logitags.cibet.actuator.scheduler.SchedulerActuator.beforeEvent(EventMetadata) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 143 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.shiro.ShiroActuator.getIsPermittedAll() may expose internal representation by returning ShiroActuator.isPermittedAll | MALICIOUS_CODE | EI_EXPOSE_REP | 201 | Medium |
com.logitags.cibet.actuator.shiro.ShiroActuator.setIsPermittedAll(String[]) may expose internal representation by storing an externally mutable object into ShiroActuator.isPermittedAll | MALICIOUS_CODE | EI_EXPOSE_REP2 | 209 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.actuator.springsecurity.CibetMethodInvocation.getArguments() may expose internal representation by returning CibetMethodInvocation.arguments | MALICIOUS_CODE | EI_EXPOSE_REP | 75 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field com.logitags.cibet.actuator.springsecurity.SpringSecurityActuator.context from instance method com.logitags.cibet.actuator.springsecurity.SpringSecurityActuator.setApplicationContext(ApplicationContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 297 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Boxed value is unboxed and then immediately reboxed in com.logitags.cibet.config.PropertyConverter.convert(Class, Object) | PERFORMANCE | BX_UNBOXING_IMMEDIATELY_REBOXED | 89 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.core.EventResult.getExecutionTime() may expose internal representation by returning EventResult.executionTime | MALICIOUS_CODE | EI_EXPOSE_REP | 286 | Medium |
com.logitags.cibet.core.EventResult.setExecutionTime(Date) may expose internal representation by storing an externally mutable object into EventResult.executionTime | MALICIOUS_CODE | EI_EXPOSE_REP2 | 294 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.resource.Resource.getResult() may expose internal representation by returning Resource.result | MALICIOUS_CODE | EI_EXPOSE_REP | 537 | Medium |
com.logitags.cibet.resource.Resource.getTarget() may expose internal representation by returning Resource.target | MALICIOUS_CODE | EI_EXPOSE_REP | 498 | Medium |
com.logitags.cibet.resource.Resource.setResult(byte[]) may expose internal representation by storing an externally mutable object into Resource.result | MALICIOUS_CODE | EI_EXPOSE_REP2 | 548 | Medium |
com.logitags.cibet.resource.Resource.setTarget(byte[]) may expose internal representation by storing an externally mutable object into Resource.target | MALICIOUS_CODE | EI_EXPOSE_REP2 | 508 | Medium |
The field com.logitags.cibet.resource.Resource.httpRequest is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
The field com.logitags.cibet.resource.Resource.httpResponse is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
The field com.logitags.cibet.resource.Resource.object is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium | |
The field com.logitags.cibet.resource.Resource.resultObject is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.resource.ResourceParameter.getEncodedValue() may expose internal representation by returning ResourceParameter.encodedValue | MALICIOUS_CODE | EI_EXPOSE_REP | 171 | Medium |
com.logitags.cibet.resource.ResourceParameter.setEncodedValue(byte[]) may expose internal representation by storing an externally mutable object into ResourceParameter.encodedValue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 181 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.ejb.CibetRemoteContext.getEnvironment() may expose internal representation by returning CibetRemoteContext.environment | MALICIOUS_CODE | EI_EXPOSE_REP | 219 | Medium |
new com.logitags.cibet.sensor.ejb.CibetRemoteContext(Hashtable) may expose internal representation by storing an externally mutable object into CibetRemoteContext.environment | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jdbc.bridge.JdbcBridgeQuery.getResultList() may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 90 | Medium |
A prepared statement is generated from a nonconstant String in com.logitags.cibet.sensor.jdbc.bridge.JdbcBridgeQuery.executeUpdate() | SECURITY | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 169 | High |
A prepared statement is generated from a nonconstant String in com.logitags.cibet.sensor.jdbc.bridge.JdbcBridgeQuery.getResultList() | SECURITY | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 90 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jdbc.bridge.TableIdGenerator.loadSequence(Connection, String) may fail to clean up java.sql.Statement | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 185 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jdbc.def.ArchiveDefinition.remove(Connection, Object) may fail to clean up java.sql.Statement | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 308 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jdbc.def.DcControllableDefinition.remove(Connection, Object) may fail to clean up java.sql.Statement | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 365 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jdbc.def.EventResultDefinition.createFromResultSet(ResultSet) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null passed for nonnull parameter of CibetStatement.finish(boolean, EventMetadata, EventResult) in com.logitags.cibet.sensor.jdbc.driver.CibetPreparedStatement.execute() | CORRECTNESS | NP_NULL_PARAM_DEREF | 136 | Medium |
Null passed for nonnull parameter of CibetStatement.finish(boolean, EventMetadata, EventResult) in com.logitags.cibet.sensor.jdbc.driver.CibetPreparedStatement.executeUpdate() | CORRECTNESS | NP_NULL_PARAM_DEREF | 191 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Null passed for nonnull parameter of finish(boolean, EventMetadata, EventResult) in com.logitags.cibet.sensor.jdbc.driver.CibetStatement.internalExecute(String, Object) | CORRECTNESS | NP_NULL_PARAM_DEREF | 383 | Medium |
Null passed for nonnull parameter of finish(boolean, EventMetadata, EventResult) in com.logitags.cibet.sensor.jdbc.driver.CibetStatement.internalExecuteUpdate(String, Object) | CORRECTNESS | NP_NULL_PARAM_DEREF | 451 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The field com.logitags.cibet.sensor.jdbc.driver.SqlParameter.value is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jdbc.driver.SqlParser.findPrimaryKeyColumn() may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 225 | Medium |
com.logitags.cibet.sensor.jdbc.driver.SqlParser.refineColumnNames() may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 189 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible doublecheck on com.logitags.cibet.sensor.jpa.EclipselinkProvider$SecureJPAInitializer.isInitialized in com.logitags.cibet.sensor.jpa.EclipselinkProvider$SecureJPAInitializer.getJavaSECMPInitializer(ClassLoader) | MT_CORRECTNESS | DC_DOUBLECHECK | 59 | Medium |
Synchronization on Boolean in com.logitags.cibet.sensor.jpa.EclipselinkProvider$SecureJPAInitializer.getJavaSECMPInitializer(ClassLoader) | MT_CORRECTNESS | DL_SYNCHRONIZATION_ON_UNSHARED_BOXED_PRIMITIVE | 61 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.logitags.cibet.sensor.jpa.Provider.createContainerEntityManagerFactory(PersistenceUnitInfo, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 65 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field com.logitags.cibet.sensor.pojo.SpringBeanInvoker.context from instance method com.logitags.cibet.sensor.pojo.SpringBeanInvoker.setApplicationContext(ApplicationContext) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 94 | Medium |