edu.umd.cs.findbugs

Class FindBugsAnalysisFeatures

public abstract class FindBugsAnalysisFeatures extends Object

Boolean-valued analysis properties for FindBugs.

Author: David Hovemeyer

See Also: AnalysisContext AnalysisContext

Field Summary
static intINTERPROCEDURAL_ANALYSIS
Enable interprocedural analysis.
static intINTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES
static intRELAXED_REPORTING_MODE
"Relaxed" warning reporting mode.
Method Summary
static booleanisRelaxedMode()
Get relaxed reporting mode.
static voidsetRelaxedMode(boolean relaxedMode)
Set relaxed reporting mode.

Field Detail

INTERPROCEDURAL_ANALYSIS

public static final int INTERPROCEDURAL_ANALYSIS
Enable interprocedural analysis.

INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES

public static final int INTERPROCEDURAL_ANALYSIS_OF_REFERENCED_CLASSES

RELAXED_REPORTING_MODE

public static final int RELAXED_REPORTING_MODE
"Relaxed" warning reporting mode. Rather than using hard-coded heuristics to decide when to suppress a warning, report warnings freely and encode the heuristics as BugProperties (for consumption by a machine-learning-based ranking algorithm).

Method Detail

isRelaxedMode

public static boolean isRelaxedMode()
Get relaxed reporting mode.

Returns: true if relaxed reporting mode should be enabled, false if not

setRelaxedMode

public static void setRelaxedMode(boolean relaxedMode)
Set relaxed reporting mode.

Parameters: relaxedMode true if relaxed reporting mode should be enabled, false if not

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.