FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
30 10 0 0

org.nhindirect.dns.DNSSocketServer

Bug Category Details Line Priority
Integral division result cast to double or float in org.nhindirect.dns.DNSSocketServer.getResourceRequestLoad() STYLE ICAST_IDIV_CAST_TO_DOUBLE 278 Medium
Increment of volatile field org.nhindirect.dns.DNSSocketServer.rejectedCount in org.nhindirect.dns.DNSSocketServer.submitDNSRequest(Object) MT_CORRECTNESS VO_VOLATILE_INCREMENT 206 High
Increment of volatile field org.nhindirect.dns.DNSSocketServer.requestCount in org.nhindirect.dns.DNSSocketServer.updateCountMetrics() MT_CORRECTNESS VO_VOLATILE_INCREMENT 219 High

org.nhindirect.dns.DNSSocketServer$TemporalCountBucket

Bug Category Details Line Priority
Increment of volatile field org.nhindirect.dns.DNSSocketServer$TemporalCountBucket.count in org.nhindirect.dns.DNSSocketServer$TemporalCountBucket.increment(long) MT_CORRECTNESS VO_VOLATILE_INCREMENT 306 High

org.nhindirect.dns.RESTServiceDNSStore

Bug Category Details Line Priority
Found reliance on default encoding in org.nhindirect.dns.RESTServiceDNSStore.processCERTRecordRequest(String): new String(byte[]) I18N DM_DEFAULT_ENCODING 295 High
Possible null pointer dereference of AbstractDNSStore.soaRecords in org.nhindirect.dns.RESTServiceDNSStore.checkForSoaRecord(String) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 379 Medium
Exception is caught when Exception is not thrown in org.nhindirect.dns.RESTServiceDNSStore.processCERTRecordRequest(String) STYLE REC_CATCH_EXCEPTION 333 Medium

org.nhindirect.dns.TCPServer$RequestTask

Bug Category Details Line Priority
Redundant nullcheck of query which is known to be null in org.nhindirect.dns.TCPServer$RequestTask.run() STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 251 Medium

org.nhindirect.dns.UDPServer$RequestTask

Bug Category Details Line Priority
Redundant nullcheck of query which is known to be null in org.nhindirect.dns.UDPServer$RequestTask.run() STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 226 Medium

org.nhindirect.dns.service.DNSServerService

Bug Category Details Line Priority
Inconsistent synchronization of org.nhindirect.dns.service.DNSServerService.server; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 60 Medium