public class DCD
extends java.lang.Object
When performing dead code detection, there are various sets of files/classes which must be identified. An analogy of the dead code analysis as a foot race is used to help clarify each of these sets:
Typically there is intersection between the set of direct users, indirect users and dead code candidates, although it is not required. If the sets are defined too tightly, there the potential for a lot of code to be considered as dead code. You may need to expand the direct users or indirect users sets, or explore using different options.
Constructor and Description |
---|
DCD() |
Modifier and Type | Method and Description |
---|---|
static void |
dump(UsageGraph usageGraph,
boolean verbose) |
static void |
main(java.lang.String[] args) |
static void |
report(UsageGraph usageGraph,
boolean verbose) |
public static void dump(UsageGraph usageGraph, boolean verbose)
public static void report(UsageGraph usageGraph, boolean verbose)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2002-2014 InfoEther. All Rights Reserved.