xmlSummary.saveSummary(summaryData, config.getJsonDirectory(), config.getVersion());
}
public void saveCoberturaXml() {
String json = ioUtils.loadFromFileSystem(new File(config.getJsonDirectory(), "jscoverage.json"));
String xml = coberturaXmlGenerator.generateXml(new CoberturaData(jsonDataMerger.jsonToMap(json).values()), ioUtils.getCanonicalPath(config.getSourceDirectory()), config.getVersion());
File dest = new File(config.getJsonDirectory(), "cobertura-coverage.xml");
ioUtils.copy(xml, dest);
}