code_coverages
Creates, updates, deletes, gets or lists a code_coverages resource.
Overview
| Name | code_coverages |
| Type | Resource |
| Id | aws.codebuild.code_coverages |
Fields
The following fields are returned by SELECT queries:
- describe_code_coverages
| Name | Datatype | Description |
|---|---|---|
id | string | The identifier of the code coverage report. |
branch_coverage_percentage | number (double) | The percentage of branches that are covered by your tests. |
branches_covered | integer | The number of conditional branches that are covered by your tests. |
branches_missed | integer | The number of conditional branches that are not covered by your tests. |
expired | string (date-time) | The date and time that the tests were run. |
file_path | string | The path of the test report file. |
line_coverage_percentage | number (double) | The percentage of lines that are covered by your tests. |
lines_covered | integer | The number of lines that are covered by your tests. |
lines_missed | integer | The number of lines that are not covered by your tests. |
report_arn | string | The ARN of the report. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_code_coverages | select | region | Retrieves one or more code coverage reports. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_code_coverages
Retrieves one or more code coverage reports.
SELECT
id,
branch_coverage_percentage,
branches_covered,
branches_missed,
expired,
file_path,
line_coverage_percentage,
lines_covered,
lines_missed,
report_arn
FROM aws.codebuild.code_coverages
WHERE region = '{{ region }}' -- required
;