https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/codebuild/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/codebuild/describe-code-coverages.rst
**To get detailed information about code coverage test results in AWS CodeBuild.**

The following ``describe-code-coverages`` example gets information about the code coverage test results in the specified report. ::

    aws codebuild describe-code-coverages \
        --report-arn arn:aws:codebuild:<region-ID>:<account-ID>:report/<report-group-name>:<report-ID>

Output::

    {
        "codeCoverages": [
            {
                "id": "20a0adcc-db13-4b66-804b-ecaf9f852855",
                "reportARN": "arn:aws:codebuild:<region-ID>:972506530580:report/<report-group-name>:<report-ID>",
                "filePath": "<source-file-1-path>",
                "lineCoveragePercentage": 83.33,
                "linesCovered": 5,
                "linesMissed": 1,
                "branchCoveragePercentage": 50.0,
                "branchesCovered": 1,
                "branchesMissed": 1,
                "expired": "2020-11-20T21:22:45+00:00"
            },
            {
                "id": "0887162d-bf57-4cf1-a164-e432373d1a83",
                "reportARN": "arn:aws:codebuild:<region-ID>:972506530580:report/<report-group-name>:<report-ID>",
                "filePath": "<source-file-2-path>",
                "lineCoveragePercentage": 90.9,
                "linesCovered": 10,
                "linesMissed": 1,
                "branchCoveragePercentage": 50.0,
                "branchesCovered": 1,
                "branchesMissed": 1,
                "expired": "2020-11-20T21:22:45+00:00"
            }
        ]
    }

For more information, see `Code coverage reports <https://docs.aws.amazon.com/codebuild/latest/userguide/code-coverage-report.html>`__ in the *AWS CodeBuild User Guide*.

https://t.me/RX1948 - 2025