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.
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.
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:
green — the level of code coverage is equal or more than 75% — this is the required level for Salesforce,
yellow — the level of code coverage is not high enough — 25-74%,
red — the level of code coverage is critically low — less than 25%.
In this section:
This also may be useful: