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.
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