FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is experimental

Effort is max

Summary

ClassesBugsErrorsMissing Classes
263000

net.sf.openv4j.AccessType

BugCategoryDetailsLinePriority

net.sf.openv4j.DataPoint

BugCategoryDetailsLinePriority
Method net.sf.openv4j.DataPoint.getFormatString() uses the same code for two switch clausesSTYLEDB_DUPLICATE_SWITCH_CLAUSES6897247277303
net.sf.openv4j.DataPoint.BLOCKS_16 should be package protectedMALICIOUS_CODEMS_PKGPROTECT4572
Suspicious comparison of Byte references in net.sf.openv4j.DataPoint.compareBytes(MemoryImage, int, int, int)CORRECTNESSRC_REF_COMPARISON5371

net.sf.openv4j.DataType

BugCategoryDetailsLinePriority

net.sf.openv4j.Devices

BugCategoryDetailsLinePriority

net.sf.openv4j.ErrorListEntry

BugCategoryDetailsLinePriority
net.sf.openv4j.ErrorListEntry.getTinestamp() may expose internal representation by returning ErrorListEntry.tinestampMALICIOUS_CODEEI_EXPOSE_REP642
new net.sf.openv4j.ErrorListEntry(int, Date) may expose internal representation by storing an externally mutable object into ErrorListEntry.tinestampMALICIOUS_CODEEI_EXPOSE_REP2462
net.sf.openv4j.ErrorListEntry.setTinestamp(Date) may expose internal representation by storing an externally mutable object into ErrorListEntry.tinestampMALICIOUS_CODEEI_EXPOSE_REP2822

net.sf.openv4j.Group

BugCategoryDetailsLinePriority

net.sf.openv4j.GroupAndNameComparator

BugCategoryDetailsLinePriority
net.sf.openv4j.GroupAndNameComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE142

net.sf.openv4j.Holiday

BugCategoryDetailsLinePriority
net.sf.openv4j.Holiday.getEnd() may expose internal representation by returning Holiday.endMALICIOUS_CODEEI_EXPOSE_REP462
net.sf.openv4j.Holiday.getStart() may expose internal representation by returning Holiday.startMALICIOUS_CODEEI_EXPOSE_REP642
net.sf.openv4j.Holiday.setEnd(Date) may expose internal representation by storing an externally mutable object into Holiday.endMALICIOUS_CODEEI_EXPOSE_REP2822
net.sf.openv4j.Holiday.setStart(Date) may expose internal representation by storing an externally mutable object into Holiday.startMALICIOUS_CODEEI_EXPOSE_REP21002

net.sf.openv4j.Property

BugCategoryDetailsLinePriority

net.sf.openv4j.PropertyType

BugCategoryDetailsLinePriority

net.sf.openv4j.Protocol

BugCategoryDetailsLinePriority

net.sf.openv4j.protocolhandlers.DataBlock

BugCategoryDetailsLinePriority
net.sf.openv4j.protocolhandlers.DataBlock.getBytes() may expose internal representation by returning DataBlock.dataMALICIOUS_CODEEI_EXPOSE_REP752
net.sf.openv4j.protocolhandlers.DataBlock.setBytesAtPos(int, byte[]) may expose internal representation by storing an externally mutable object into DataBlock.dataMALICIOUS_CODEEI_EXPOSE_REP2882

net.sf.openv4j.protocolhandlers.ProtocolHandler

BugCategoryDetailsLinePriority
net.sf.openv4j.protocolhandlers.ProtocolHandler.close() calls Thread.sleep() with a lock heldMT_CORRECTNESSSWL_SLEEP_WITH_LOCK_HELD692

net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener

BugCategoryDetailsLinePriority
Naked notify in net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.checkConnBroken(int, ProtocolHandler$State)MT_CORRECTNESSNN_NAKED_NOTIFY3052
Naked notify in net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.dataReaded(int)MT_CORRECTNESSNN_NAKED_NOTIFY3422
Naked notify in net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.dataWritten(int)MT_CORRECTNESSNN_NAKED_NOTIFY3662
Exception is caught when Exception is not thrown in net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.run()STYLEREC_CATCH_EXCEPTION2534
Switch statement found in net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.run() where default case is missingSTYLESF_SWITCH_NO_DEFAULT2383
Private method net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.checkClosed(int) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD2883
Unread field: net.sf.openv4j.protocolhandlers.ProtocolHandler$StreamListener.timeoutTimeStampPERFORMANCEURF_UNREAD_FIELD2632

net.sf.openv4j.protocolhandlers.SimpleDataContainer

BugCategoryDetailsLinePriority
Format-string method String.format(String, Object[]) called with format string "0x04x :" wants 0 arguments but is given 1 in net.sf.openv4j.protocolhandlers.SimpleDataContainer.toString()CORRECTNESSVA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED1461