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 ⇒ Code coverage.

Open Code Coverage panel from the Main Menu

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%.

You can click on a column'​s header, and the data will be sorted in ascending or descending order. Also, the columns can be filtered, so you can find what you need faster and easier.


Clicking on the Filter icon in a column'​s header will open the filter window. Here you can specify the search parameters and quickly find the exact version that you need.

The filter

First of all, you should select the item that will be determined as a search scope. You can check only the items that you are interesting in, or you can check Select all. The next inputs help you to get a more precise search result:

  • the drop-down lists with search conditions:​
    • ​Is equal to,
    • ​Is not equal to,
    • ​Starts with,​
    • ​Ends with,​
    • ​Contains,​
    • ​Does not contain,
    • ​Is contained in,
    • ​Is not contained in,
    • ​Is empty,
    • ​Is not empty,
    • ​Is less than,
    • ​Is less than or equal to,
    • ​Is greater than,​
    • ​Is greater than or equal to,​
    • ​Is null,
    • ​Is not null,
  • a text input, where you can type a text for the condition above,
  • the button Match case, which makes the search case-sensitive,​
  • a drop-down list with the logic operators ​And​ / ​Or​.

The buttons at the bottom of the Filter window help you to manage the search process. You will get the search result immediately after selecting the search scope and selecting the search parameters. If you want to close the Filter window, click the Filter button, or the ​x​ button in the top right corner — the filter still will be active (and its icon will be highlighted). To cancel the filter, open this filter again by clicking the filter'​s icon and click the Clear filter button.

The Date column has the same filter, except one field — instead of a text input there is a date input, so you can type the exact date or choose it from the calendar.

The filder with date


In this section:

This also may be useful:

Last modified: 2018/02/21 15:50

footer image