jdepend.framework |
|
Java Source File Name | Type | Comment |
AbstractParser.java | Class | The AbstractParser class is the base class
for classes capable of parsing files to create a
JavaClass instance. |
AllTests.java | Class | |
ClassFileParser.java | Class | The ClassFileParser class is responsible for
parsing a Java class file to create a JavaClass
instance. |
ClassFileParserTest.java | Class | |
CollectAllCyclesTest.java | Class | |
ComponentTest.java | Class | |
ConstraintTest.java | Class | |
CycleTest.java | Class | |
DependencyConstraint.java | Class | The DependencyConstraint class is a constraint that tests
whether two package-dependency graphs are equivalent.
This class is useful for writing package dependency assertions (e.g. |
ExampleAbstractClass.java | Class | |
ExampleConcreteClass.java | Class | |
ExampleInterface.java | Interface | |
ExampleTest.java | Class | The ExampleTest is an example TestCase
that demonstrates tests for measuring the distance from the
main sequence (D), package dependency constraints, and the
existence of cyclic package dependencies. |
FileManager.java | Class | The FileManager class is responsible for extracting
Java class files (.class files) from a collection of
registered directories. |
FileManagerTest.java | Class | |
FilterTest.java | Class | |
JarFileParserTest.java | Class | |
JavaClass.java | Class | The JavaClass class represents a Java
class or interface. |
JavaClassBuilder.java | Class | The JavaClassBuilder builds JavaClass
instances from .class, .jar, .war, or .zip files. |
JavaPackage.java | Class | The JavaPackage class represents a Java package. |
JDepend.java | Class | The JDepend class analyzes directories of Java class files
and generates the following metrics for each Java package.
- Afferent Coupling (Ca)
The number of packages that depend upon the classes within the analyzed
package.
- Efferent Coupling (Ce)
The number of packages that the classes in the analyzed package depend upon.
- Abstractness (A)
The ratio of the number of abstract classes (and interfaces) in the analyzed
package to the total number of classes in the analyzed package.
The range for this metric is 0 to 1, with A=0 indicating a completely
concrete package and A=1 indicating a completely abstract package.
- Instability (I)
The ratio of efferent coupling (Ce) to total coupling (Ce + Ca) such that I =
Ce / (Ce + Ca).
The range for this metric is 0 to 1, with I=0 indicating a completely stable
package and I=1 indicating a completely instable package.
- Distance from the Main Sequence (D)
The perpendicular distance of a package from the idealized line A + I = 1. |
JDependTestCase.java | Class | |
MetricTest.java | Class | |
PackageComparator.java | Class | The PackageComparator class is a Comparator
used to compare two JavaPackage instances for order using a
sorting strategy. |
PackageFilter.java | Class | The PackageFilter class is used to filter imported
package names. |
ParserListener.java | Interface | The ParserListener interface defines a listener
notified upon the completion of parsing events. |
PropertyConfigurator.java | Class | The PropertyConfigurator class contains configuration
information contained in the jdepend.properties file,
if such a file exists either in the user's home directory or somewhere
in the classpath. |
PropertyConfiguratorTest.java | Class | |