TPTP 4.1.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.hyades.trace.views.util.internal
Class Coverage

java.lang.Object
  extended byorg.eclipse.hyades.trace.views.util.internal.Coverage
Direct Known Subclasses:
CoverageFolder, CoverageLeaf

public abstract class Coverage
extends java.lang.Object


Field Summary
protected  CoverageAnalysis analysis
           
 
Constructor Summary
Coverage(CoverageAnalysis analysis, Coverage parent)
           
 
Method Summary
 void addTraceObjects(org.eclipse.emf.ecore.EObject traceObject)
           
 int getCalls()
           
abstract  java.util.ArrayList getChilds()
           
abstract  int getMethods()
           
abstract  int getMethodsHit()
           
abstract  int getMethodsMissed()
           
abstract  double getPercentage()
           
 org.eclipse.emf.ecore.EObject getTraceObj()
           
 java.util.ArrayList getTraceObjects()
           
 void setCalls(int calls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

analysis

protected final CoverageAnalysis analysis
Constructor Detail

Coverage

public Coverage(CoverageAnalysis analysis,
                Coverage parent)
Parameters:
analysis -
parent -
Method Detail

addTraceObjects

public void addTraceObjects(org.eclipse.emf.ecore.EObject traceObject)
Parameters:
traceObject -

getTraceObjects

public java.util.ArrayList getTraceObjects()
Returns:
the array of all EObject associated to this coverage data

getTraceObj

public org.eclipse.emf.ecore.EObject getTraceObj()
Returns:
the first one of the EObject list associated to this coverage data

getMethods

public abstract int getMethods()

getMethodsHit

public abstract int getMethodsHit()

getMethodsMissed

public abstract int getMethodsMissed()

getPercentage

public abstract double getPercentage()

getChilds

public abstract java.util.ArrayList getChilds()

setCalls

public void setCalls(int calls)
Parameters:
calls -

getCalls

public int getCalls()
Returns:

TPTP 4.1.0 Tracing and Profiling Tools Project
Internal API Specification