FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
132 23 0 0

org.bitrepository.access.ContributorQuery

Bug Category Details Line Priority
org.bitrepository.access.ContributorQuery.getMaxTimestamp() may expose internal representation by returning ContributorQuery.maxTimestamp MALICIOUS_CODE EI_EXPOSE_REP 76 Medium
org.bitrepository.access.ContributorQuery.getMinTimestamp() may expose internal representation by returning ContributorQuery.minTimestamp MALICIOUS_CODE EI_EXPOSE_REP 72 Medium
new org.bitrepository.access.ContributorQuery(String, Date, Date, Integer) may expose internal representation by storing an externally mutable object into ContributorQuery.maxTimestamp MALICIOUS_CODE EI_EXPOSE_REP2 64 Medium
new org.bitrepository.access.ContributorQuery(String, Date, Date, Integer) may expose internal representation by storing an externally mutable object into ContributorQuery.minTimestamp MALICIOUS_CODE EI_EXPOSE_REP2 63 Medium

org.bitrepository.access.getaudittrails.client.AuditTrailConversationContext

Bug Category Details Line Priority
org.bitrepository.access.getaudittrails.client.AuditTrailConversationContext.getComponentQueries() may expose internal representation by returning AuditTrailConversationContext.componentQueries MALICIOUS_CODE EI_EXPOSE_REP 55 Medium
new org.bitrepository.access.getaudittrails.client.AuditTrailConversationContext(String, AuditTrailQuery[], String, String, Settings, MessageSender, String, Collection, EventHandler, String) may expose internal representation by storing an externally mutable object into AuditTrailConversationContext.componentQueries MALICIOUS_CODE EI_EXPOSE_REP2 50 Medium

org.bitrepository.access.getchecksums.conversation.GetChecksumsConversationContext

Bug Category Details Line Priority
org.bitrepository.access.getchecksums.conversation.GetChecksumsConversationContext.getContributorQueries() may expose internal representation by returning GetChecksumsConversationContext.contributorQueries MALICIOUS_CODE EI_EXPOSE_REP 70 Medium
new org.bitrepository.access.getchecksums.conversation.GetChecksumsConversationContext(String, ContributorQuery[], String, ChecksumSpecTYPE, URL, Settings, MessageSender, String, Collection, EventHandler, String) may expose internal representation by storing an externally mutable object into GetChecksumsConversationContext.contributorQueries MALICIOUS_CODE EI_EXPOSE_REP2 64 Medium

org.bitrepository.access.getfile.selectors.FastestPillarSelectorForGetFile

Bug Category Details Line Priority
Unchecked/unconfirmed cast from org.bitrepository.bitrepositorymessages.MessageResponse to org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse in org.bitrepository.access.getfile.selectors.FastestPillarSelectorForGetFile.selectComponent(MessageResponse) STYLE BC_UNCONFIRMED_CAST 40 Medium

org.bitrepository.access.getfileids.conversation.GetFileIDsConversationContext

Bug Category Details Line Priority
org.bitrepository.access.getfileids.conversation.GetFileIDsConversationContext.getContributorQueries() may expose internal representation by returning GetFileIDsConversationContext.contributorQueries MALICIOUS_CODE EI_EXPOSE_REP 58 Medium
new org.bitrepository.access.getfileids.conversation.GetFileIDsConversationContext(String, ContributorQuery[], String, URL, Settings, MessageSender, String, Collection, EventHandler) may expose internal representation by storing an externally mutable object into GetFileIDsConversationContext.contributorQueries MALICIOUS_CODE EI_EXPOSE_REP2 53 Medium

org.bitrepository.client.conversation.ConversationEventMonitor

Bug Category Details Line Priority
Possible null pointer dereference of e in org.bitrepository.client.conversation.ConversationEventMonitor.warning(String, Exception) CORRECTNESS NP_NULL_ON_SOME_PATH 250 High

org.bitrepository.client.conversation.StateBasedConversation

Bug Category Details Line Priority
Unread field: org.bitrepository.client.conversation.StateBasedConversation.log PERFORMANCE URF_UNREAD_FIELD 39 Medium

org.bitrepository.client.eventhandler.BlockingEventHandler

Bug Category Details Line Priority
Wait not in loop in org.bitrepository.client.eventhandler.BlockingEventHandler.awaitFinished() MT_CORRECTNESS WA_NOT_IN_LOOP 69 Medium

org.bitrepository.commandline.CommandLineClient

Bug Category Details Line Priority
new org.bitrepository.commandline.CommandLineClient(String[]) invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 96 Medium
org.bitrepository.commandline.CommandLineClient.runCommand() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 69 Medium

org.bitrepository.commandline.DeleteFile

Bug Category Details Line Priority
org.bitrepository.commandline.DeleteFile.performOperation() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 110 Medium

org.bitrepository.commandline.GetChecksums

Bug Category Details Line Priority
org.bitrepository.commandline.GetChecksums.performOperation() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 97 Medium

org.bitrepository.commandline.GetFile

Bug Category Details Line Priority
org.bitrepository.commandline.GetFile.performOperation() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 98 Medium

org.bitrepository.commandline.GetFileIDs

Bug Category Details Line Priority
org.bitrepository.commandline.GetFileIDs.performOperation() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 77 Medium

org.bitrepository.commandline.PutFile

Bug Category Details Line Priority
org.bitrepository.commandline.PutFile.performOperation() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 82 Medium

org.bitrepository.commandline.ReplaceFile

Bug Category Details Line Priority
org.bitrepository.commandline.ReplaceFile.performOperation() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 119 Medium

org.bitrepository.modify.replacefile.conversation.IdentifyPillarsForReplaceFile

Bug Category Details Line Priority
Dead store to response in org.bitrepository.modify.replacefile.conversation.IdentifyPillarsForReplaceFile.handleFailureResponse(MessageResponse) STYLE DLS_DEAD_LOCAL_STORE 59 Medium