Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.11

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
100 9 0 0

Files

Class Bugs
it.tidalwave.role.io.spi.FileTextReadable 1
it.tidalwave.role.io.spi.FileTextWritable 1
it.tidalwave.role.spi.DefaultContextManager 3
it.tidalwave.role.ui.function.WeakCopyFunctionSupport 1
it.tidalwave.role.ui.impl.AsDisplayableComparator 1
it.tidalwave.role.ui.impl.DefaultPresentationModel$1 1
it.tidalwave.role.ui.impl.DisplayableComparator 1

it.tidalwave.role.io.spi.FileTextReadable

Bug Category Details Line Priority
Found reliance on default encoding in it.tidalwave.role.io.spi.FileTextReadable.openReader(): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 60 High

it.tidalwave.role.io.spi.FileTextWritable

Bug Category Details Line Priority
Found reliance on default encoding in it.tidalwave.role.io.spi.FileTextWritable.openWriter(): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 60 High

it.tidalwave.role.spi.DefaultContextManager

Bug Category Details Line Priority

it.tidalwave.role.ui.function.WeakCopyFunctionSupport

Bug Category Details Line Priority
Non-null field targetValue is not initialized by new it.tidalwave.role.ui.function.WeakCopyFunctionSupport(ChangingSource) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 49 Medium

it.tidalwave.role.ui.impl.AsDisplayableComparator

Bug Category Details Line Priority
it.tidalwave.role.ui.impl.AsDisplayableComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 44 Low

it.tidalwave.role.ui.impl.DefaultPresentationModel$1

Bug Category Details Line Priority
Redundant nullcheck of role, which is known to be non-null in it.tidalwave.role.ui.impl.DefaultPresentationModel$1.run(Throwable) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 109 Low

it.tidalwave.role.ui.impl.DisplayableComparator

Bug Category Details Line Priority
it.tidalwave.role.ui.impl.DisplayableComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 43 Low