Home / Docs / Code Coverage
🧪

Code Coverage & Apex Test Runner

Code Quality & DevOps ● Live in Extension

Real-time Apex test execution engine with interactive line-by-line coverage visualization, asynchronous queue monitoring, and org-wide compliance reporting.

⚡ 1. Overview & Architecture

Real-time Apex test execution engine with interactive line-by-line coverage visualization, asynchronous queue monitoring, and org-wide compliance reporting.

Client-Side Security & Zero Proxying: All requests made by this tool run directly against your authenticated Salesforce organization using the current session. No credentials, schema data, or record contents ever leave your browser.

🧭 2. Step-by-Step Workflow

Follow these steps to get maximum velocity with Code Coverage:

1

Select Apex Class

Choose any Apex class to inspect its current code coverage and colored covered/uncovered lines.

2

Queue Test Execution

Select test classes and click Run Tests to enqueue asynchronous execution via the Tooling API.

3

Analyze Outcomes

Monitor live queue progress and review method-level pass/fail diagnostics and coverage changes.

🛠️ 3. Key Capabilities & Superpowers

🟢

Line-by-Line Visual Coverage

Covered lines highlighted in green and uncovered lines highlighted in red with gutter indicators directly in Monaco Editor.

🚀

Asynchronous Bulk Test Runner

Enqueue and run individual test classes, multiple classes, or org-wide test suites asynchronously.

📊

Org-Wide Coverage Aggregator

View current org coverage percentage against Salesforce's mandatory 75% deployment threshold.

📋

Test Results & Failure Tracing

Detailed test method outcome breakdown with failure stack traces, assertion messages, and execution duration.

📥

Excel/CSV Coverage Export

Export comprehensive coverage spreadsheets for deployment readiness documentation and release audits.

💡 4. Pro Tips & Keyboard Shortcuts

  • Red-highlighted lines pinpoint untested logic branches, catch blocks, and boundary conditions that need dedicated test methods.
  • Use the Excel export to provide stakeholders with verifiable coverage documentation prior to production deployment.

Explore More SF Lens Pro Guides

Discover how other integrated studio tools can accelerate your Salesforce development and administrative workflows.

All 33 Documentation Guides 📚 Interactive Feature Explorer ⚡