https://platform.codeclimate.com/schemas/file-coverage
Information about test coverage of a file within a commit.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | FileCoverage.schema.json |
object
(FileCoverage)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
_type | string |
Optional | cannot be null | FileCoverage |
self | string |
Required | cannot be null | FileCoverage |
repository | Merged | Required | cannot be null | FileCoverage |
commitOid | string |
Required | cannot be null | FileCoverage |
file | string |
Optional | cannot be null | FileCoverage |
lineHits | array |
Required | cannot be null | FileCoverage |
filesCount | integer |
Optional | cannot be null | FileCoverage |
htmlUrl | string |
Optional | cannot be null | FileCoverage |
createdAt | string |
Optional | cannot be null | FileCoverage |
updatedAt | string |
Optional | cannot be null | FileCoverage |
deletedAt | string |
Optional | cannot be null | FileCoverage |
_type
- is optional
- Type:
string
- cannot be null
- defined in: FileCoverage
string
constant: the value of this property must be equal to:
"FileCoverage"
The canonical URI for this record.
self
- is required
- Type:
string
- cannot be null
- defined in: FileCoverage
string
URI: the string must be a URI, according to RFC 3986
The self
URI of the Repository this test coverage applies to, or a nested Repository record.
repository
- is required
- Type: merged type (Details)
- cannot be null
- defined in: FileCoverage
merged type (Details)
one (and only one) of
The commit oid this test coverage is for.
commitOid
- is required
- Type:
string
- cannot be null
- defined in: FileCoverage
string
The path of the file for these test results.
file
- is optional
- Type:
string
- cannot be null
- defined in: FileCoverage
string
The number of hits on each line in the file, starting with line 1. An entry for every line should be present.
lineHits
- is required
- Type: an array of merged types (Details)
- cannot be null
- defined in: FileCoverage
an array of merged types (Details)
The number of files.
filesCount
- is optional
- Type:
integer
- cannot be null
- defined in: FileCoverage
integer
minimum: the value of this number must greater than or equal to: 0
The URL to view this coverage.
htmlUrl
- is optional
- Type:
string
- cannot be null
- defined in: FileCoverage
string
URI: the string must be a URI, according to RFC 3986
The time this coverage was created.
createdAt
- is optional
- Type:
string
- cannot be null
- defined in: FileCoverage
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time this coverage was last updated.
updatedAt
- is optional
- Type:
string
- cannot be null
- defined in: FileCoverage
string
date time: the string must be a date time string, according to RFC 3339, section 5.6
The time coverage was deleted.
deletedAt
- is optional
- Type:
string
- cannot be null
- defined in: FileCoverage
string
date time: the string must be a date time string, according to RFC 3339, section 5.6