zest/base.logger

View on GitHub
lib/index.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function Logger has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var Logger = function (options, group) {
    var logFunctions;
    var noOp = function () {
        return logFunctions;
    };
Severity: Major
Found in lib/index.js - About 2 hrs to fix

    Function profile has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    Logger.prototype.profile = function (component, verbose) {
        var log = this;
        Object.keys(component).forEach(
            function (key) {
                var oldFn;
    Severity: Minor
    Found in lib/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status