boolean (RunConfigurationBase configuration, Object listener, RunnerSettings runnerSettings) { if (listener instanceof CoverageListener) { if (!(runnerSettings instanceof CoverageRunnerData)) return true; final CoverageEnabledConfiguration coverageEnabledConfiguration = CoverageEnabledConfiguration.getOrCreate(configuration); return !(coverageEnabledConfiguration.getCoverageRunner() instanceof IDEACoverageRunner) || !(coverageEnabledConfiguration.isTrackPerTestCoverage() && coverageEnabledConfiguration.isBranchCoverageEnabled()); } return false; }