TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.llc.core.report
Interface IComponent


public interface IComponent

This interface defines what is visible to a component's visitor.
See ICoverageVisitor.


Method Summary
 IComponent[] getComponents()
           
 ICoverageClass[] getCoverageClasses()
           
 int getCoveredLines()
           
 int getCoveredMethods()
           
 java.lang.String getName()
           
 IComponent getParent()
           
 int getParentDepth()
           
 java.util.Map getProperties()
           
 int getTotalLines()
           
 int getTotalMethods()
           
 int getUncoveredLines()
           
 int getUncoveredMethods()
           
 

Method Detail

getName

java.lang.String getName()
Returns:
the name of the component

getParent

IComponent getParent()
Returns:
the parent component of this component

getParentDepth

int getParentDepth()
Returns:
number of parents (0 for root node that has no parent)

getProperties

java.util.Map getProperties()
Returns:
available properties characterizing this component

getCoveredMethods

int getCoveredMethods()
Returns:
the number of covered methods in this component and its sub-components

getUncoveredMethods

int getUncoveredMethods()
Returns:
the number of not covered methods in this component and its sub-components

getTotalMethods

int getTotalMethods()
Returns:
the total number of methods in this component and its sub-components

getCoveredLines

int getCoveredLines()
Returns:
the number of covered lines (actually coverage units) in this component and its sub-components

getUncoveredLines

int getUncoveredLines()
Returns:
the number of not covered lines (actually coverage units) in this component and its sub-components

getTotalLines

int getTotalLines()
Returns:
the total number of lines (actually coverage units) in this component and its sub-components

getComponents

IComponent[] getComponents()
Returns:
the sub-components of this component

getCoverageClasses

ICoverageClass[] getCoverageClasses()
Returns:
the coverage classes directly belonging to this component

TPTP 4.6.0 Platform Project
Public API Specification