Always execute line coverage with checked coverage calculation to know existing lines.
@@ -324,15 +324,6 @@ def _get_coverage_ff_from_algorithm(
def _add_checked_coverage_instrumentation(constant_provider, executor):
- if (
- config.CoverageMetric.LINE
- in config.configuration.statistics_output.coverage_metrics
- ):
- # if LINE was already set, no need to re-instrument for LINE
- config.configuration.statistics_output.coverage_metrics = [
- config.CoverageMetric.CHECKED,
- ]
- else:
# LINE is required for CHECKED to discover all available lines
config.configuration.statistics_output.coverage_metrics = [
config.CoverageMetric.CHECKED,
