Class CodeCoverage

    • Method Detail

      • id

        public final String id()

        The identifier of the code coverage report.

        Returns:
        The identifier of the code coverage report.
      • reportARN

        public final String reportARN()

        The ARN of the report.

        Returns:
        The ARN of the report.
      • filePath

        public final String filePath()

        The path of the test report file.

        Returns:
        The path of the test report file.
      • 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.
      • expired

        public final Instant expired()

        The date and time that the tests were run.

        Returns:
        The date and time that the tests were run.
      • 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)