FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
136 7 0 0

pl.edu.agh.cast.zestalgorithms.Activator

Bug Category Details Line
Write to static field pl.edu.agh.cast.zestalgorithms.Activator.plugin from instance method pl.edu.agh.cast.zestalgorithms.Activator.Activator() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 30
Write to static field pl.edu.agh.cast.zestalgorithms.Activator.plugin from instance method pl.edu.agh.cast.zestalgorithms.Activator.stop(BundleContext) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 50

pl.edu.agh.cast.zestalgorithms.Messages

Bug Category Details Line
pl.edu.agh.cast.zestalgorithms.Messages.LayoutAlgorithmAdapter_0 isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL Not available

pl.edu.agh.cast.zestalgorithms.core.LayoutAlgorithmAdapter

Bug Category Details Line
Method pl.edu.agh.cast.zestalgorithms.core.LayoutAlgorithmAdapter.getLayoutRelationships(Collection, Map) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 141
Method pl.edu.agh.cast.zestalgorithms.core.LayoutAlgorithmAdapter.getNodesToLayout(Collection, Map) uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 155

pl.edu.agh.cast.zestalgorithms.core.LayoutAlgorithmAdapter$1

Bug Category Details Line
The class pl.edu.agh.cast.zestalgorithms.core.LayoutAlgorithmAdapter$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 85-100

pl.edu.agh.cast.zestalgorithms.core.LayoutEntityAdapter

Bug Category Details Line
pl.edu.agh.cast.zestalgorithms.core.LayoutEntityAdapter defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 114-120