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 |
CurrentNode, PopNode, PostprocessBeforeDependenciesClassNode, PostprocessBeforeDependenciesPackageNode, PostprocessClassNode, PostprocessFeatureNode, PostprocessPackageNode, PreprocessAfterDependenciesClassNode, PreprocessAfterDependenciesPackageNode, PushNode, Strategy, 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)
NbCharts
public static int NbCharts()
ChartName
public static java.lang.String ChartName(int i)
ChartData
public long[] ChartData(int i)
ChartSize
public int ChartSize()
Packages
public java.util.Collection Packages()
Classes
public java.util.Collection Classes()
Features
public java.util.Collection Features()
NbOutbound
public long NbOutbound()
NbInbound
public long NbInbound()
NbOutboundPackages
public long NbOutboundPackages()
NbInboundPackages
public long NbInboundPackages()
NbOutboundClasses
public long NbOutboundClasses()
NbInboundClasses
public long NbInboundClasses()
NbOutboundFeatures
public long NbOutboundFeatures()
NbInboundFeatures
public long NbInboundFeatures()
PreprocessPackageNode
public void PreprocessPackageNode(PackageNode node)
- Overrides:
PreprocessPackageNode
in class VisitorBase
VisitInboundPackageNode
public void VisitInboundPackageNode(PackageNode node)
- Overrides:
VisitInboundPackageNode
in class VisitorBase
VisitOutboundPackageNode
public void VisitOutboundPackageNode(PackageNode node)
- Overrides:
VisitOutboundPackageNode
in class VisitorBase
PreprocessClassNode
public void PreprocessClassNode(ClassNode node)
- Overrides:
PreprocessClassNode
in class VisitorBase
VisitInboundClassNode
public void VisitInboundClassNode(ClassNode node)
- Overrides:
VisitInboundClassNode
in class VisitorBase
VisitOutboundClassNode
public void VisitOutboundClassNode(ClassNode node)
- Overrides:
VisitOutboundClassNode
in class VisitorBase
PreprocessFeatureNode
public void PreprocessFeatureNode(FeatureNode node)
- Overrides:
PreprocessFeatureNode
in class VisitorBase
VisitInboundFeatureNode
public void VisitInboundFeatureNode(FeatureNode node)
- Overrides:
VisitInboundFeatureNode
in class VisitorBase
VisitOutboundFeatureNode
public void VisitOutboundFeatureNode(FeatureNode node)
- Overrides:
VisitOutboundFeatureNode
in class VisitorBase