_getOutput(match) {
    var output = (this._found > 1) ? '\n' : '';
    var codeFragment = '';
    var instances = match.instances;
    var totalLines = this._getTotalLines(match);

    output += `<duplication lines="${totalLines}" id="${match.hash}">\n`;
    instances.forEach((instance) => output += this._getFile(instance));

    output += '<codefragment>';
    instances.forEach((instance) => {
      var location = this._getFormattedLocation(instance);
      var lines = this._getLines(instance);
      codeFragment += `\n${location}\n${chalk.grey(lines)}\n`;
    });
    output += `${this._escape(codeFragment)}</codefragment>\n</duplication>\n`;

    return output;
  }
Returns an XML string containing a <duplication> element, with <file>
children indicating the instance locations, and <codefragment> to hold the
lines.

@private

@param   {Match}  match The inspector match to output
@returns {string} The formatted output