yannickcr/node-chromelogger

View on GitHub
lib/chromelogger.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _log has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

ChromeLogger.prototype._log = function(res) {
  // Stop here if the headers were already sent
  if (res.headersSent || res._header) {
    return this.emit('error', new Error('You can\'t log with Chrome Logger if the headers were already sent'));
  }
Severity: Minor
Found in lib/chromelogger.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status