FindBugs Report

Project Information

FindBugs version: 1.3.8

Metrics

4995 lines of code analyzed, in 161 classes, in 9 packages.

Metric Total Density*
High Priority Warnings 0.00
Medium Priority Warnings 2 0.40
Total Warnings 2 0.40

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



Contents

Summary

Warning Type Number
Bad practice Warnings 1
Dodgy Warnings 1
Total 2

Warnings

Click on a warning row to see full context information.

Bad practice Warnings

Code Warning
Dm org.qedeq.gui.se.control.ExitAction.actionPerformed(ActionEvent) invokes System.exit(...), which shuts down the entire virtual machine

Dodgy Warnings

Code Warning
DLS Dead store to elements in org.qedeq.gui.se.pane.ParserPane$1.actionPerformed(ActionEvent)

Details

DLS_DEAD_LOCAL_STORE: Dead store to local variable

This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used.

Note that Sun's javac compiler often generates dead stores for final local variables. Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.

DM_EXIT: Method invokes System.exit(...)

Invoking System.exit shuts down the entire Java virtual machine. This should only been done when it is appropriate. Such calls make it hard or impossible for your code to be invoked by other code. Consider throwing a RuntimeException instead.