wbyoung/azul-tracker

View on GitHub
index.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function setup has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var setup = function(BaseQuery, globalOptions) {
  BaseQuery.reopen({
    track: function(options) {
      var stack = new Error().stack.split('\n').slice(1);
      var opts = _.defaults({}, globalOptions, options, {
Severity: Minor
Found in index.js - About 1 hr to fix

    Function track has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        track: function(options) {
          var stack = new Error().stack.split('\n').slice(1);
          var opts = _.defaults({}, globalOptions, options, {
            fullTrace: false,
            log: console.log,
    Severity: Minor
    Found in index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status