code: function processReport(xml, computation) {
    if (xml.packages.package instanceof Array) {
      // Process all the packages
      xml.packages.package.forEach(function(packageObject) {
        processPackage(packageObject, computation);
      });
  
    } else {
      processPackage(xml.packages.package, computation);
    }
  }
docs: Processes the XML report based on the package.
  
  <package>...</package>
  
  @param {Object} xml is the parsed report.
  @param {Object} computation is result of computation.