adaptj.toolkits.analyses.metrics
Class RecursionMetric

java.lang.Object
  |
  +--adaptj.toolkits.Customizable
        |
        +--adaptj.toolkits.TimedCustomizable
              |
              +--adaptj.toolkits.TimedEventBoxApplicable
                    |
                    +--adaptj.toolkits.EventOperation
                          |
                          +--adaptj.toolkits.analyses.metrics.MetricAnalysis
                                |
                                +--adaptj.toolkits.analyses.metrics.RecursionMetric
All Implemented Interfaces:
ICustomizable, IEventBoxApplicable, IInitializable, ITimedCustomizable, XMLOutputable

public class RecursionMetric
extends MetricAnalysis


Nested Class Summary
(package private)  class RecursionMetric.CallstackItem
           
 
Field Summary
(package private)  RecursionMetric.CallstackItem callStack
           
(package private)  int callStackDepth
           
(package private)  RecursionMetric.CallstackItem csitemPool
           
(package private)  int maxCallStackDepth
           
(package private)  int maxRecursiveDepth
           
(package private)  long recEntries
           
(package private)  long totalEntries
           
 
Constructor Summary
RecursionMetric(java.lang.String name)
           
 
Method Summary
 void doApply(EventBox box)
           
 void doInit()
           
 EventDependency[] registerEventDependencies()
           
 java.lang.String[] registerOperationDependencies()
           
 
Methods inherited from class adaptj.toolkits.analyses.metrics.MetricAnalysis
analysisDone, computeResults, displayHelp, doDone, getLongName, getOption, outputXML, setOption
 
Methods inherited from class adaptj.toolkits.EventOperation
doPreInit
 
Methods inherited from class adaptj.toolkits.TimedEventBoxApplicable
apply, done, doVerboseDone, doVerboseInit, doVerbosePreInit, init, preInit
 
Methods inherited from class adaptj.toolkits.TimedCustomizable
getTime, isTimed, setTimed, startTimer, stopTimer
 
Methods inherited from class adaptj.toolkits.Customizable
getDescription, getName, isEnabled, isVerbose, setEnabled, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface adaptj.toolkits.ICustomizable
getDescription, getName, isEnabled, isVerbose, setEnabled, setVerbose
 

Field Detail

callStack

RecursionMetric.CallstackItem callStack

csitemPool

RecursionMetric.CallstackItem csitemPool

callStackDepth

int callStackDepth

maxCallStackDepth

int maxCallStackDepth

maxRecursiveDepth

int maxRecursiveDepth

recEntries

long recEntries

totalEntries

long totalEntries
Constructor Detail

RecursionMetric

public RecursionMetric(java.lang.String name)
Method Detail

registerEventDependencies

public EventDependency[] registerEventDependencies()
Specified by:
registerEventDependencies in interface IEventBoxApplicable
Specified by:
registerEventDependencies in class TimedEventBoxApplicable

registerOperationDependencies

public java.lang.String[] registerOperationDependencies()
Specified by:
registerOperationDependencies in interface IEventBoxApplicable
Specified by:
registerOperationDependencies in class TimedEventBoxApplicable

doInit

public void doInit()
Overrides:
doInit in class EventOperation

doApply

public void doApply(EventBox box)
Specified by:
doApply in class TimedEventBoxApplicable