IntelliJ IDEA 2019.1 Help

Coverage Tool Window

View | Tool Windows | Coverage

This tool window appears on running with coverage, and displays coverage measurement results.

The table shows how many lines, classes, and methods of your code are executed while the tests are running.

Results of the Code Coverage analysis shown in the tool window

Toolbar

Item

Description

the Up button

Click this button to go up one level.

the Flatten Packages button

When this button is pressed, all the packages are displayed as a single-level view.

the Jump to Source button

When this button is pressed, source code of the class selected in the tool window, automatically opens in a separate editor tab, and gains the focus.

the Jump from Source button

When this button is pressed, when source code of certain class gets the focus in the editor, the corresponding node is automatically highlighted in the tool window.

the Generate report button

Click this button to generate a code coverage report and save it to the specified directory. See Generating Code Coverage Report for details.

This toolbar button is duplicated by the main menu command Analyze | Generate Coverage Report.

Context menu

Item

Shortcut

Description

Jump to Source

F4

Choose this command to open the selected file in the editor.

Title bar context menu and buttons

You can right-click on the window title bar and use the context menu to configure its viewing mode, associate the window with a different tool window bar, or resize and hide the window.

You can also use the toolbar buttons:

Item

Shortcut

Description

icons general gearPlain svg

Click this button to access a subset of the context menu commands that let you configure window's viewing mode.

Hide tool windowShift+Escape

Use this icon or shortcut to hide the tool window.

When used in combination with the Alt key, clicking this icon hides all the tool windows attached to the same tool window bar.

Last modified: 20 June 2019

See Also

Procedures: