com.jeantessier.dependency
Class MetricsGatherer
java.lang.Object
|
+--com.jeantessier.dependency.VisitorBase
|
+--com.jeantessier.dependency.MetricsGatherer
- All Implemented Interfaces:
- Visitor
- public class MetricsGatherer
- extends VisitorBase
| Methods inherited from class com.jeantessier.dependency.VisitorBase |
getCurrentNode, getStrategy, popNode, postprocessBeforeDependenciesClassNode, postprocessBeforeDependenciesPackageNode, postprocessClassNode, postprocessFeatureNode, postprocessPackageNode, preprocessAfterDependenciesClassNode, preprocessAfterDependenciesPackageNode, pushNode, traverseInbound, traverseNodes, traverseOutbound, visitClassNode, visitFeatureNode, visitPackageNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHART_INDEX
public static final int CHART_INDEX
CLASSES_PER_PACKAGE
public static final int CLASSES_PER_PACKAGE
FEATURES_PER_CLASS
public static final int FEATURES_PER_CLASS
INBOUNDS_PER_PACKAGE
public static final int INBOUNDS_PER_PACKAGE
OUTBOUNDS_PER_PACKAGE
public static final int OUTBOUNDS_PER_PACKAGE
INBOUNDS_PER_CLASS
public static final int INBOUNDS_PER_CLASS
OUTBOUNDS_PER_CLASS
public static final int OUTBOUNDS_PER_CLASS
INBOUNDS_PER_FEATURE
public static final int INBOUNDS_PER_FEATURE
OUTBOUNDS_PER_FEATURE
public static final int OUTBOUNDS_PER_FEATURE
NB_CHARTS
public static final int NB_CHARTS
MetricsGatherer
public MetricsGatherer()
MetricsGatherer
public MetricsGatherer(TraversalStrategy strategy)
getNbCharts
public static int getNbCharts()
getChartName
public static java.lang.String getChartName(int i)
getChartData
public long[] getChartData(int i)
getChartMaximum
public int getChartMaximum()
getPackages
public java.util.Collection getPackages()
getClasses
public java.util.Collection getClasses()
getFeatures
public java.util.Collection getFeatures()
getNbOutbound
public long getNbOutbound()
getNbInbound
public long getNbInbound()
getNbOutboundPackages
public long getNbOutboundPackages()
getNbInboundPackages
public long getNbInboundPackages()
getNbOutboundClasses
public long getNbOutboundClasses()
getNbInboundClasses
public long getNbInboundClasses()
getNbOutboundFeatures
public long getNbOutboundFeatures()
getNbInboundFeatures
public long getNbInboundFeatures()
preprocessPackageNode
public void preprocessPackageNode(PackageNode node)
- Overrides:
preprocessPackageNode in class VisitorBase
visitInboundPackageNode
public void visitInboundPackageNode(PackageNode node)
- PackageNode --> CurrentNode()
- Overrides:
visitInboundPackageNode in class VisitorBase
visitOutboundPackageNode
public void visitOutboundPackageNode(PackageNode node)
- CurrentNode() --> PackageNode
- Overrides:
visitOutboundPackageNode in class VisitorBase
preprocessClassNode
public void preprocessClassNode(ClassNode node)
- Overrides:
preprocessClassNode in class VisitorBase
visitInboundClassNode
public void visitInboundClassNode(ClassNode node)
- ClassNode --> CurrentNode()
- Overrides:
visitInboundClassNode in class VisitorBase
visitOutboundClassNode
public void visitOutboundClassNode(ClassNode node)
- CurrentNode() --> ClassNode
- Overrides:
visitOutboundClassNode in class VisitorBase
preprocessFeatureNode
public void preprocessFeatureNode(FeatureNode node)
- Overrides:
preprocessFeatureNode in class VisitorBase
visitInboundFeatureNode
public void visitInboundFeatureNode(FeatureNode node)
- FeatureNode --> CurrentNode()
- Overrides:
visitInboundFeatureNode in class VisitorBase
visitOutboundFeatureNode
public void visitOutboundFeatureNode(FeatureNode node)
- CurrentNode() --> FeatureNode
- Overrides:
visitOutboundFeatureNode in class VisitorBase
Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.