/* automatically generated by JSCoverage - do not edit */
if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
if (! _$jscoverage['express 3.0.6/middleware.js']) {
  _$jscoverage['express 3.0.6/middleware.js'] = [];
  _$jscoverage['express 3.0.6/middleware.js'][6] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][18] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][19] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][20] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][21] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][22] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][23] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][24] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][26] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][27] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][29] = 0;
  _$jscoverage['express 3.0.6/middleware.js'][31] = 0;
}
_$jscoverage['express 3.0.6/middleware.js'][6]++;
var utils = require("./utils");
_$jscoverage['express 3.0.6/middleware.js'][18]++;
exports.init = (function (app) {
  _$jscoverage['express 3.0.6/middleware.js'][19]++;
  return (function expressInit(req, res, next) {
  _$jscoverage['express 3.0.6/middleware.js'][20]++;
  req.app = res.app = app;
  _$jscoverage['express 3.0.6/middleware.js'][21]++;
  if (app.settings["x-powered-by"]) {
    _$jscoverage['express 3.0.6/middleware.js'][21]++;
    res.setHeader("X-Powered-By", "Express");
  }
  _$jscoverage['express 3.0.6/middleware.js'][22]++;
  req.res = res;
  _$jscoverage['express 3.0.6/middleware.js'][23]++;
  res.req = req;
  _$jscoverage['express 3.0.6/middleware.js'][24]++;
  req.next = next;
  _$jscoverage['express 3.0.6/middleware.js'][26]++;
  req.__proto__ = app.request;
  _$jscoverage['express 3.0.6/middleware.js'][27]++;
  res.__proto__ = app.response;
  _$jscoverage['express 3.0.6/middleware.js'][29]++;
  res.locals = res.locals || utils.locals(res);
  _$jscoverage['express 3.0.6/middleware.js'][31]++;
  next();
});
});
_$jscoverage['express 3.0.6/middleware.js'].source = ["","/**"," * Module dependencies."," */","","var utils = require('./utils');","","/**"," * Initialization middleware, exposing the"," * request and response to eachother, as well"," * as defaulting the X-Powered-By header field."," *"," * @param {Function} app"," * @return {Function}"," * @api private"," */","","exports.init = function(app){","  return function expressInit(req, res, next){","    req.app = res.app = app;","    if (app.settings['x-powered-by']) res.setHeader('X-Powered-By', 'Express');","    req.res = res;","    res.req = req;","    req.next = next;","","    req.__proto__ = app.request;","    res.__proto__ = app.response;","","    res.locals = res.locals || utils.locals(res);","","    next();","  }","};"];
