CoverageSuitesBundle () { if (myModel == null) { return null; } final RunProfile runConf = myModel.getProperties().getConfiguration(); if (runConf instanceof RunConfigurationBase<?> base) { // if coverage supported for run configuration if (CoverageEnabledConfiguration.isApplicableTo(base)) { // Get coverage settings Executor executor = myProperties.getExecutor(); if (executor != null && executor.getId().equals(CoverageExecutor.EXECUTOR_ID)) { CoverageSuite suite = CoverageEnabledConfiguration.getOrCreate(base).getCurrentCoverageSuite(); return ContainerUtil.find(CoverageDataManager.getInstance(myProperties.getProject()).activeSuites(), b -> b.contains(suite)); } } } return null; }