SpotBugs Report

Project Information

Project: codeCompCommon (spotbugsMain)

SpotBugs version: 4.0.0

Code analyzed:



Metrics

222 lines of code analyzed, in 11 classes, in 2 packages.

Metric Total Density*
High Priority Warnings 0.00
Medium Priority Warnings 1 4.50
Total Warnings 1 4.50

(* Defects per Thousand lines of non-commenting source statements)



Contents

Summary

Warning Type Number
Performance Warnings 1
Total 1

Warnings

Click on a warning row to see full context information.

Performance Warnings

Code Warning
SIC Should edu.odu.cs.cs350.codeCompCommon.iterators.TreeIterator$State be a _static_ inner class?

Details

SIC_INNER_SHOULD_BE_STATIC: Should be a static inner class

This class is an inner class, but does not use its embedded reference to the object which created it.  This reference makes the instances of the class larger, and may keep the reference to the creator object alive longer than necessary.  If possible, the class should be made static.