SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
8 11 0 0

Files

Class Bugs
de.aikiit.mailclena.MailClenaParameterParser 1
de.aikiit.mailclena.MailConfiguration 9
de.aikiit.mailclena.mail.MailClient 1

de.aikiit.mailclena.MailClenaParameterParser

Bug Category Details Line Priority
Do not catch NullPointerException like in de.aikiit.mailclena.MailClenaParameterParser.extractConfiguration(String[]) STYLE DCN_NULLPOINTER_EXCEPTION 70 Medium

de.aikiit.mailclena.MailConfiguration

Bug Category Details Line Priority
Exception thrown in class de.aikiit.mailclena.MailConfiguration at new de.aikiit.mailclena.MailConfiguration(String, String, String, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 29 Medium
Redundant nullcheck of this$command, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of this$host, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of this$password, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of this$username, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of $command, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.hashCode() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of $host, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.hashCode() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of $password, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.hashCode() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium
Redundant nullcheck of $username, which is known to be non-null in de.aikiit.mailclena.MailConfiguration.hashCode() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 28 Medium

de.aikiit.mailclena.mail.MailClient

Bug Category Details Line Priority
new de.aikiit.mailclena.mail.MailClient(MailConfiguration) may expose internal representation by storing an externally mutable object into MailClient.mailConfiguration MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium