FindBugs Report

Project Information

FindBugs version: 1.3.8

Metrics

4141 lines of code analyzed, in 64 classes, in 10 packages.

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

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



Contents

Summary

Warning Type Number
Bad practice Warnings 1
Total 1

Warnings

Click on a warning row to see full context information.

Bad practice Warnings

Code Warning
NP org.qedeq.kernel.xml.handler.common.SimpleAttributes.getBoolean(String) has Boolean return type and returns explicit null

Details

NP_BOOLEAN_RETURN_NULL: Method with Boolean return type returns explicit null

A method that returns either Boolean.TRUE, Boolean.FALSE or null is an accident waiting to happen. This method can be invoked as though it returned a value of type boolean, and the compiler will insert automatic unboxing of the Boolean value. If a null value is returned, this will result in a NullPointerException.