Skip to content

CodeCoverage

Source code in docs_src/capo_codebuild/types/code_coverage.py
class CodeCoverage(TypedDict, closed=True):
    id: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The identifier of the code coverage report.</p>"""
    report_arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The ARN of the report.</p>"""
    file_path: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p>The path of the test report file.</p>"""
    line_coverage_percentage: NotRequired["capo_codebuild.types.percentage.Percentage"]
    """<p>The percentage of lines that are covered by your tests.</p>"""
    lines_covered: NotRequired["capo_codebuild.types.non_negative_int.NonNegativeInt"]
    """<p>The number of lines that are covered by your tests.</p>"""
    lines_missed: NotRequired["capo_codebuild.types.non_negative_int.NonNegativeInt"]
    """<p>The number of lines that are not covered by your tests.</p>"""
    branch_coverage_percentage: NotRequired[
        "capo_codebuild.types.percentage.Percentage"
    ]
    """<p>The percentage of branches that are covered by your tests.</p>"""
    branches_covered: NotRequired[
        "capo_codebuild.types.non_negative_int.NonNegativeInt"
    ]
    """<p>The number of conditional branches that are covered by your tests.</p>"""
    branches_missed: NotRequired["capo_codebuild.types.non_negative_int.NonNegativeInt"]
    """<p>The number of conditional branches that are not covered by your tests.</p>"""
    expired: NotRequired["capo_codebuild.types.timestamp.Timestamp"]
    """<p>The date and time that the tests were run.</p>"""

branch_coverage_percentage instance-attribute

branch_coverage_percentage: NotRequired[Percentage]

The percentage of branches that are covered by your tests.

branches_covered instance-attribute

branches_covered: NotRequired[NonNegativeInt]

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

branches_missed instance-attribute

branches_missed: NotRequired[NonNegativeInt]

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

expired instance-attribute

expired: NotRequired[Timestamp]

The date and time that the tests were run.

file_path instance-attribute

file_path: NotRequired[NonEmptyString]

The path of the test report file.

id instance-attribute

id: NotRequired[NonEmptyString]

The identifier of the code coverage report.

line_coverage_percentage instance-attribute

line_coverage_percentage: NotRequired[Percentage]

The percentage of lines that are covered by your tests.

lines_covered instance-attribute

lines_covered: NotRequired[NonNegativeInt]

The number of lines that are covered by your tests.

lines_missed instance-attribute

lines_missed: NotRequired[NonNegativeInt]

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

report_arn instance-attribute

report_arn: NotRequired[NonEmptyString]

The ARN of the report.