Class CoverageStatistics


  • public class CoverageStatistics
    extends Object
    Represents the different mappings of coverage metric and baseline to actual values.
    • Method Detail

      • getValue

        public Optional<Value> getValue​(Baseline baseline,
                                        Metric metric)
        Returns the value for the specified baseline and metric.
        Parameters:
        baseline - the baseline of the value
        metric - the metric of the value
        Returns:
        the value, if available
      • containsValue

        public boolean containsValue​(Baseline baseline,
                                     Metric metric)
        Returns whether a value for the specified metric and baseline is available.
        Parameters:
        baseline - the baseline of the value
        metric - the metric of the value
        Returns:
        true, if a value is available, false otherwise