Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
14 5 0 0

Files

Class Bugs
dev.aherscu.qa.jgiven.rabbitmq.AbstractRabbitMqTest 2
dev.aherscu.qa.jgiven.rabbitmq.model.Message$MessageBuilder 1
dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler$QueueHandlerBuilder 1
dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler$Singleton$SingletonBuilder 1

dev.aherscu.qa.jgiven.rabbitmq.AbstractRabbitMqTest

Bug Category Details Line Priority
AbstractRabbitMqTest.connection not initialized in constructor and dereferenced in dev.aherscu.qa.jgiven.rabbitmq.AbstractRabbitMqTest.afterClassCloseConnection() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 56 Low
Unwritten public or protected field: dev.aherscu.qa.jgiven.rabbitmq.AbstractRabbitMqTest.queueHandler STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 50 Medium

dev.aherscu.qa.jgiven.rabbitmq.model.Message$MessageBuilder

Bug Category Details Line Priority
dev.aherscu.qa.jgiven.rabbitmq.model.Message$MessageBuilder.properties(AMQP$BasicProperties) may expose internal representation by storing an externally mutable object into Message$MessageBuilder.properties$value MALICIOUS_CODE EI_EXPOSE_REP2 23 Medium

dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler$QueueHandlerBuilder

Bug Category Details Line Priority
dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler$QueueHandlerBuilder.channel(Channel) may expose internal representation by storing an externally mutable object into QueueHandler$QueueHandlerBuilder.channel MALICIOUS_CODE EI_EXPOSE_REP2 68 Medium

dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler$Singleton$SingletonBuilder

Bug Category Details Line Priority
dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler$Singleton$SingletonBuilder.connectionFactory(ConnectionFactory) may expose internal representation by storing an externally mutable object into QueueHandler$Singleton$SingletonBuilder.connectionFactory MALICIOUS_CODE EI_EXPOSE_REP2 114 Medium