Class CodeCoverageReportSummary

    • Method Detail

      • lineCoveragePercentage

        public final Double lineCoveragePercentage()

        The percentage of lines that are covered by your tests.

        Returns:
        The percentage of lines that are covered by your tests.
      • linesCovered

        public final Integer linesCovered()

        The number of lines that are covered by your tests.

        Returns:
        The number of lines that are covered by your tests.
      • linesMissed

        public final Integer linesMissed()

        The number of lines that are not covered by your tests.

        Returns:
        The number of lines that are not covered by your tests.
      • branchCoveragePercentage

        public final Double branchCoveragePercentage()

        The percentage of branches that are covered by your tests.

        Returns:
        The percentage of branches that are covered by your tests.
      • branchesCovered

        public final Integer branchesCovered()

        The number of conditional branches that are covered by your tests.

        Returns:
        The number of conditional branches that are covered by your tests.
      • branchesMissed

        public final Integer branchesMissed()

        The number of conditional branches that are not covered by your tests.

        Returns:
        The number of conditional branches that are not covered by your tests.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)