IntelliJ IDEA 2021.1 Help

Coverage

Use this page to configure how coverage data is collected and processed.

When new coverage is gathered

These options control how collected coverage data is processed.

Show options before applying coverage to the editorShow the Code Coverage dialog every time you launch a new run configuration with code coverage. The coverage options dialog is displayed when different coverage data has been produced.
Do not apply collected coverageDiscard new code coverage results.
Replace active suites with the new oneDiscard active suites and use the new one every time you launch a new run configuration with code coverage.
Add to active suitesAppend new code coverage suite to the active suites every time you launch a new run configuration with code coverage.
Activate Coverage ViewShow the Coverage tool window when an application or test is run with coverage.

Java coverage

These options control which Java code elements should be excluded from coverage statistics.

ItemDescription
Ignore implicit constructorsExclude implicitly declared default constructors from coverage statistics. Default constructors that are declared explicitly will remain included.
Ignore empty private constructors of utility classesExclude from coverage statistics empty private constructors in classes where all other methods are static.
Last modified: 27 May 2021