{
"sections": [
"title",
"description",
"supported_soap_calls",
"supported_rest_api_http_methods",
"fields",
"special_access_rules",
"wsdl_segment"
],
"title": "ApexCodeCoverage - Tooling API",
"description": "Represents code coverage test results for an Apex class or trigger. Available in Tooling API version 29.0 and later.",
"supported_soap_calls": "`describeSObjects()`, `query()`, `retrieve()`",
"supported_rest_api_http_methods": "`Query`, `GET`",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"ApexTestClassId": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The ID of the test class."
},
"TestMethodName": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The name of the test method."
},
"ApexClassorTriggerId": {
"type": "string",
"properties": "Filter, Group, Sort",
"description": "The ID of the class or trigger under test."
},
"NumLinesCovered": {
"type": "int",
"properties": "Filter, Group, Sort",
"description": "The number of covered lines."
},
"NumLinesUncovered": {
"type": "int",
"properties": "Filter, Group, Sort",
"description": "The number of uncovered lines."
},
"Coverage": {
"type": "complexvalue",
"properties": "None",
"description": "Two lists of integers. The first is the covered lines, and the second is the list of uncovered lines. If a line is missing from both lists, the line isn’t executable and doesn’t require coverage. Coverage includes these fields: coveredLines namespace uncoveredLines"
}
},
"special_access_rules": "In API version 49.0 and later, users must have the View Setup and Configuration and View All Data permissions to access this object.",
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n\n```"
}