Class AggregatedClassCoverage

  • All Implemented Interfaces:
    AggregatedCoverage

    public class AggregatedClassCoverage
    extends java.lang.Object
    implements AggregatedCoverage
    Test class coverage model. The class coverage is an aggregation of all test method coverages.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getCoveragePercentage()
      Retrives the coverage percentage for all process definitions.
      double getCoveragePercentage​(java.lang.String processDefinitionKey)
      Retrieves the coverage percentage for the given process definition key.
      java.util.Set<java.lang.String> getCoveredFlowNodeIds​(java.lang.String processDefinitionKey)
      Retrieves covered flow node IDs for the given process definition key.
      java.util.Set<CoveredFlowNode> getCoveredFlowNodes​(java.lang.String processDefinitionKey)
      Retrieves covered flow nodes for the given process definition key.
      java.util.Set<java.lang.String> getCoveredSequenceFlowIds​(java.lang.String processDefinitionKey)
      Retrieves covered sequence flow IDs for the given process definition key.
      java.util.Set<CoveredSequenceFlow> getCoveredSequenceFlows​(java.lang.String processDefinitionKey)
      Retrieves covered sequence flow IDs for the given process definition key.
      java.util.Set<org.camunda.bpm.engine.repository.ProcessDefinition> getProcessDefinitions()
      Retrieves the process definitions of the coverage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AggregatedClassCoverage

        public AggregatedClassCoverage​(java.util.List<ClassCoverage> classCoverages)
    • Method Detail

      • getCoveredFlowNodeIds

        public java.util.Set<java.lang.String> getCoveredFlowNodeIds​(java.lang.String processDefinitionKey)
        Description copied from interface: AggregatedCoverage
        Retrieves covered flow node IDs for the given process definition key.
        Specified by:
        getCoveredFlowNodeIds in interface AggregatedCoverage
        Returns:
      • getCoveredSequenceFlowIds

        public java.util.Set<java.lang.String> getCoveredSequenceFlowIds​(java.lang.String processDefinitionKey)
        Description copied from interface: AggregatedCoverage
        Retrieves covered sequence flow IDs for the given process definition key.
        Specified by:
        getCoveredSequenceFlowIds in interface AggregatedCoverage
        Returns:
      • getProcessDefinitions

        public java.util.Set<org.camunda.bpm.engine.repository.ProcessDefinition> getProcessDefinitions()
        Description copied from interface: AggregatedCoverage
        Retrieves the process definitions of the coverage.
        Specified by:
        getProcessDefinitions in interface AggregatedCoverage
        Returns:
      • getCoveragePercentage

        public double getCoveragePercentage​(java.lang.String processDefinitionKey)
        Description copied from interface: AggregatedCoverage
        Retrieves the coverage percentage for the given process definition key.
        Specified by:
        getCoveragePercentage in interface AggregatedCoverage
        Returns: