lib/statistics.js
function (reporter, definition) {
  this.reporter = reporter
  this.definition = definition

  this.reporter.beforeRenderListeners.add(definition.name, this, Statistics.prototype.handleBeforeRender)
  this.reporter.afterRenderListeners.add(definition.name, this, Statistics.prototype.handleAfterRender)
  this._defineEntities()
}
function (reporter, definition) {
  this.reporter = reporter
  this.definition = definition

  this.reporter.beforeRenderListeners.add(definition.name, this, Statistics.prototype.handleBeforeRender)
  this.reporter.afterRenderListeners.add(definition.name, this, Statistics.prototype.handleAfterRender)
  this._defineEntities()
}
/* Copyright(c) 2014 Jan Blaha

Extension storing 5min based statistics - amount of successfully generated, amount of failures