Code Coverage panel

In order to get access to the Code Coverage results, you should open the Code Coverage panel. The Code Coverage panel unites all the data about how your code is covered by tests. To open it, click in the Main Menu: View ⇒ Pads ⇒ Code Coverage.


Open code Coverage panel


In this panel, you can find all needed data about code coverage of your Apex code:

  • Name — a list of all Apex tests combined by projects,
  • Covered lines — the number of lines covered by tests in every item and percentage of the covered lines,
  • Uncovered lines — the number of lines that are not covered by tests in every item and percentage of the uncovered lines.

Code Coverage panel


Double-clicking on any line in this table will open the selected file in the editor.

The items in the Code Coverage have different indicators depending on the percentage of covered lines:

status is OK green — the level of code coverage is equal or more than 75% — this is the required level for Salesforce,

coverage is not enough yellow — the level of code coverage is not high enough — 25-74%,

the critical status red — the level of code coverage is critically low — less than 25%.

In this section:

This also may be useful:

Last modified: 2017/06/12 14:30

footer image