filmov
tv
SOQL to find code coverage in Salesforce

Показать описание
Code coverage is stored in two Lightning Platform Tooling API objects:
1. ApexCodeCoverageAggregate:
ApexCodeCoverageAggregate stores the sum of covered lines for a class after checking all test methods that test it.
2. ApexCodeCoverage:
ApexCodeCoverage stores the lines that are covered and uncovered by each individual test method.
Blog Post:
1. ApexCodeCoverageAggregate:
ApexCodeCoverageAggregate stores the sum of covered lines for a class after checking all test methods that test it.
2. ApexCodeCoverage:
ApexCodeCoverage stores the lines that are covered and uncovered by each individual test method.
Blog Post: