| java.lang.Object jdepend.swingui.JDepend
JDepend | public class JDepend implements ParserListener(Code) | | The JDepend class analyzes directories of Java class files,
generates metrics for each Java package, and reports the metrics in a Swing
tree.
author: Mike Clark author: Clarkware Consulting, Inc. |
Constructor Summary | |
public | JDepend() Constructs a JDepend instance. |
Method Summary | |
public void | addDirectory(String name) Adds the specified directory name to the collection of directories to be
analyzed. | public void | analyze() Analyzes the registered directories, generates metrics for each Java
package, and reports the metrics in a graphical format. | public static void | main(String[] args) | public void | onParsedJavaClass(JavaClass jClass) Called whenever a Java source file is parsed into the specified
JavaClass instance. | public void | setComponents(String components) Sets the comma-separated list of components. | public void | setFilter(PackageFilter filter) Sets the package filter. |
JDepend | public JDepend()(Code) | | Constructs a JDepend instance.
|
addDirectory | public void addDirectory(String name) throws IOException(Code) | | Adds the specified directory name to the collection of directories to be
analyzed.
Parameters: name - Directory name. throws: IOException - If the directory does not exist. |
analyze | public void analyze()(Code) | | Analyzes the registered directories, generates metrics for each Java
package, and reports the metrics in a graphical format.
|
onParsedJavaClass | public void onParsedJavaClass(JavaClass jClass)(Code) | | Called whenever a Java source file is parsed into the specified
JavaClass instance.
Parameters: jClass - Parsed Java class. |
setComponents | public void setComponents(String components)(Code) | | Sets the comma-separated list of components.
|
setFilter | public void setFilter(PackageFilter filter)(Code) | | Sets the package filter.
Parameters: filter - Package filter. |
|
|