FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
62 17 0 0

in.ac.bits.protocolanalyzer.analyzer.PacketWrapper

Bug Category Details Line Priority
in.ac.bits.protocolanalyzer.analyzer.PacketWrapper.getPacketTimestamp() may expose internal representation by returning PacketWrapper.packetTimestamp MALICIOUS_CODE EI_EXPOSE_REP 28 Medium
in.ac.bits.protocolanalyzer.analyzer.PacketWrapper.setPacketTimestamp(Timestamp) may expose internal representation by storing an externally mutable object into PacketWrapper.packetTimestamp MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium

in.ac.bits.protocolanalyzer.analyzer.PcapAnalyzer

Bug Category Details Line Priority
Integral division result cast to double or float in in.ac.bits.protocolanalyzer.analyzer.PcapAnalyzer.readFile() STYLE ICAST_IDIV_CAST_TO_DOUBLE 101 Medium

in.ac.bits.protocolanalyzer.analyzer.TimeSeriesAnalyzer

Bug Category Details Line Priority
in.ac.bits.protocolanalyzer.analyzer.TimeSeriesAnalyzer.getMeanTimeofArrival() may expose internal representation by returning TimeSeriesAnalyzer.meanTimeofArrival MALICIOUS_CODE EI_EXPOSE_REP 28 Medium
in.ac.bits.protocolanalyzer.analyzer.TimeSeriesAnalyzer.getStandardDeviation() may expose internal representation by returning TimeSeriesAnalyzer.standardDeviation MALICIOUS_CODE EI_EXPOSE_REP 29 Medium

in.ac.bits.protocolanalyzer.analyzer.link.LinkAnalyzer

Bug Category Details Line Priority
Useless object stored in variable lae of method in.ac.bits.protocolanalyzer.analyzer.link.LinkAnalyzer.analyzePacket(PacketWrapper) STYLE UC_USELESS_OBJECT 38 Medium

in.ac.bits.protocolanalyzer.analyzer.network.NetworkAnalyzer

Bug Category Details Line Priority
Useless object stored in variable nae of method in.ac.bits.protocolanalyzer.analyzer.network.NetworkAnalyzer.analyzePacket(PacketWrapper) STYLE UC_USELESS_OBJECT 39 Medium

in.ac.bits.protocolanalyzer.analyzer.transport.IcmpAnalyzer

Bug Category Details Line Priority
Return value of String.hashCode() ignored in in.ac.bits.protocolanalyzer.analyzer.transport.IcmpAnalyzer.setNextProtocolType() CORRECTNESS RV_RETURN_VALUE_IGNORED 101 Medium

in.ac.bits.protocolanalyzer.analyzer.transport.TcpAnalyzer

Bug Category Details Line Priority
Return value of String.hashCode() ignored in in.ac.bits.protocolanalyzer.analyzer.transport.TcpAnalyzer.setNextProtocolType() CORRECTNESS RV_RETURN_VALUE_IGNORED 150 Medium

in.ac.bits.protocolanalyzer.analyzer.transport.TransportAnalyzer

Bug Category Details Line Priority
Useless object stored in variable tae of method in.ac.bits.protocolanalyzer.analyzer.transport.TransportAnalyzer.analyzePacket(PacketWrapper) STYLE UC_USELESS_OBJECT 40 Medium

in.ac.bits.protocolanalyzer.analyzer.transport.UdpAnalyzer

Bug Category Details Line Priority
Return value of String.hashCode() ignored in in.ac.bits.protocolanalyzer.analyzer.transport.UdpAnalyzer.setNextProtocolType() CORRECTNESS RV_RETURN_VALUE_IGNORED 108 Medium

in.ac.bits.protocolanalyzer.persistence.entity.LinkAnalyzerEntity

Bug Category Details Line Priority
in.ac.bits.protocolanalyzer.persistence.entity.LinkAnalyzerEntity.getTimestamp() may expose internal representation by returning LinkAnalyzerEntity.timestamp MALICIOUS_CODE EI_EXPOSE_REP 27 Medium
in.ac.bits.protocolanalyzer.persistence.entity.LinkAnalyzerEntity.setTimestamp(Timestamp) may expose internal representation by storing an externally mutable object into LinkAnalyzerEntity.timestamp MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium

in.ac.bits.protocolanalyzer.protocol.Protocol

Bug Category Details Line Priority
Write to static field in.ac.bits.protocolanalyzer.protocol.Protocol.cellTable from instance method in.ac.bits.protocolanalyzer.protocol.Protocol.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 39 Medium
Write to static field in.ac.bits.protocolanalyzer.protocol.Protocol.classTable from instance method in.ac.bits.protocolanalyzer.protocol.Protocol.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 38 Medium
Write to static field in.ac.bits.protocolanalyzer.protocol.Protocol.protocolTable from instance method in.ac.bits.protocolanalyzer.protocol.Protocol.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 37 Medium

in.ac.bits.protocolanalyzer.protocol.ProtocolGraph

Bug Category Details Line Priority
Null passed for non-null parameter of in.ac.bits.protocolanalyzer.analyzer.Session.connectCells(Map) in in.ac.bits.protocolanalyzer.protocol.ProtocolGraph.configureSessionCells(Session) CORRECTNESS NP_NULL_PARAM_DEREF 62 Medium