_finalize(queryOutput, cfg) {
    LogService.debug(`Analyzer "${this.name}": started _finalize method`);

    performance.mark('analyzer--finalize-start');
    const analyzerResult = ensureAnalyzerResultFormat(queryOutput, cfg, this);
    if (!cfg.suppressNonCriticalLogs) {
      LogService.success(
        `${LogService.pad(`finished ${this.name}`)}${displayProjectsInLog(this.identifier)}`,
      );
    }
    performance.mark('analyzer--finalize-end');
    const measurementFinalize = performance.measure(
      'analyzer--finalize',
      'analyzer--finalize-start',
      'analyzer--finalize-end',
    );
    LogService.perf(measurementFinalize);

    return analyzerResult;
  }
@param {QueryOutput} queryOutput
@param {AnalyzerConfig} cfg
@returns {AnalyzerQueryResult}