Check Apex Code Coverage
sf_check_code_coverageRetrieve Apex coverage stats from Tooling API to see which classes meet the 75% deployment threshold. Filter by class or coverage level to identify under-tested code.
Instructions
Retrieves Apex code coverage statistics from the org using the Tooling API. Shows which classes meet or fail the 75% coverage threshold required for deployment. Use after running Apex tests to assess coverage.
className: optional filter to show only classes matching this name minCoverage: optional threshold — only return classes below this coverage percentage
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | No | Filter by Apex class name (partial match) | |
| minCoverage | No | Only show classes below this coverage % |