code: public void parseReport(File xmlFile) {
      try {
        parseSources(xmlFile);
        parsePackages(xmlFile);
      } catch (XMLStreamException e) {
        throw MessageException.of("Unable to parse Cobertura report.", e);
      }
    }
docs: Parse a Cobertura xml report and create measures accordingly