Check Apex Code Coverage
sf_check_code_coverageRetrieve Apex code coverage statistics from Salesforce using the Tooling API. Identify classes that miss the 75% deployment threshold, with optional filters by class name or coverage percentage.
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 % |