Esta página aún no está disponible en español. Estamos trabajando en su traducción. Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.
Code Coverage
Retrieve and analyze code coverage data from Code Coverage. See the Code Coverage page for more information.
Retrieve aggregated code coverage statistics for a specific branch in a repository.
This endpoint provides overall coverage metrics as well as breakdowns by service
and code owner.
Note: This endpoint requires the code_coverage_read permission.
This endpoint requires the code_coverage_read permission.
OAuth apps require the code_coverage_read authorization scope to access this endpoint.
Attributes for requesting code coverage summary for a branch.
branch [required]
string
The branch name.
repository_id [required]
string
The repository identifier.
type [required]
enum
JSON:API type for branch coverage summary request. The value must always be ci_app_coverage_branch_summary_request.
Allowed enum values: ci_app_coverage_branch_summary_request
Retrieve aggregated code coverage statistics for a specific commit in a repository.
This endpoint provides overall coverage metrics as well as breakdowns by service
and code owner.
The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).
Note: This endpoint requires the code_coverage_read permission.
This endpoint requires the code_coverage_read permission.
OAuth apps require the code_coverage_read authorization scope to access this endpoint.
Attributes for requesting code coverage summary for a commit.
commit_sha [required]
string
The commit SHA (40-character hexadecimal string).
repository_id [required]
string
The repository identifier.
type [required]
enum
JSON:API type for commit coverage summary request. The value must always be ci_app_coverage_commit_summary_request.
Allowed enum values: ci_app_coverage_commit_summary_request