Loading
Enhance Salesforce with Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Inspect Code Coverage Results

          Inspect Code Coverage Results

          After you run tests using the Application Test Execution page, you can view code coverage details in the Developer Console.

          Required Editions

          Available in: Lightning Experience

          Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions

          See Supported Editions for Flow Builder and Licenses for Integrated Features

          See Checking Code Coverage

          To reduce calculation time of overall code coverage results obtained through Estimate your organization's code coverage on the Application Test Execution page, click Options..., select Store Only Aggregated Code Coverage, and then click OK. Use this option only when you have many tests and large volumes of Apex code, that is, when the number of Apex test methods multiplied by the number of all classes and triggers is in the range of hundreds of thousands. This option causes code coverage results to be stored in aggregate form for all test methods. As a result, you can’t view code coverage results for an individual test method, including the blue and red highlighting that shows line-by-line code coverage in the Developer Console. For more information on running tests, see Salesforce Help: Create a Test Run and Apex Developer Guide: Run Unit Test Methods.

          Note
          Note You can speed up Apex test runs by opting out of collecting code coverage information when you want faster feedback on pass or fail status rather than coverage data. When you opt out, no data about Apex test coverage is stored. To opt out, select the Skip Code Coverage option.
           
          Loading
          Salesforce Help | Article