Save coverage data to a file
Generate the report
From the main menu, select Coverage tool window., or click in the
Note that this option becomes available only after you run the necessary tests with coverage.
In the Generate Coverage Report dialog, specify the directory where the generated report will be stored, and optionally select the Open generated HTML in browser checkbox.
Note that if you are going to save a code coverage report for one of the multiple projects opened in the same window, it is important to check the suggested target location, because IntelliJ IDEA suggests the previously used location.