code: @Override
      public String renderReport(final DiagnosticConfig config) {
          final StringBuilder res = new StringBuilder();
          printCommands(config, res);
          printBundles(config, res);
          if (config.isPrintInstallers()) {
              printInstallers(config, res);
              printDisabledExtensions(config, res, true);
          } else {
              printExtensionsOnly(config, res);
          }
          printModules(config, res);
          return res.toString();
      }
docs: Renders diagnostic report according to config.
  
  @param config print config
  @return rendered diagnostic