private void runReport() throws IOException {
        if (config.isInvalid()) {
            System.out.println(config.getHelpText());
            mainHelper.exit(1);
        } else if (config.showHelp()) {
            System.out.println(config.getHelpText());
        } else if (config.getReportFormat() == ReportFormat.LCOV) {
            generateLCovDataFile();
        } else  if (config.getReportFormat() == ReportFormat.XMLSUMMARY) {
            saveXmlSummary();
        } else  if (config.getReportFormat() == ReportFormat.COBERTURAXML) {
            saveCoberturaXml();
        } else if (config.isMerge()) {
            mergeReports();
        } else {
            System.out.println(config.getHelpText());
            mainHelper.exit(1);
        }
    }