jdepend.swingui
Class JDepend
- ParserListener
public class JDepend
extends java.lang.Object
The JDepend
class analyzes directories of Java class files,
generates metrics for each Java package, and reports the metrics in a Swing
tree.
- Mike Clark
- Clarkware Consulting, Inc.
JDepend() - Constructs a
JDepend instance.
|
void | addDirectory(String name) - Adds the specified directory name to the collection of directories to be
analyzed.
|
void | analyze() - Analyzes the registered directories, generates metrics for each Java
package, and reports the metrics in a graphical format.
|
static void | main(String[] args)
|
void | onParsedJavaClass(JavaClass jClass) - Called whenever a Java source file is parsed into the specified
JavaClass instance.
|
void | setComponents(String components) - Sets the comma-separated list of components.
|
void | setFilter(PackageFilter filter) - Sets the package filter.
|
JDepend
public JDepend()
Constructs a JDepend
instance.
addDirectory
public void addDirectory(String name)
throws IOException
Adds the specified directory name to the collection of directories to be
analyzed.
analyze
public void analyze()
Analyzes the registered directories, generates metrics for each Java
package, and reports the metrics in a graphical format.
main
public static void main(String[] args)
onParsedJavaClass
public void onParsedJavaClass(JavaClass jClass)
Called whenever a Java source file is parsed into the specified
JavaClass
instance.
- onParsedJavaClass in interface ParserListener
jClass
- Parsed Java class.
setComponents
public void setComponents(String components)
Sets the comma-separated list of components.
setFilter
public void setFilter(PackageFilter filter)
Sets the package filter.
Copyright B) 1999-2005 Clarkware Consulting, Inc.