wbyoung/azul-tracker

View on GitHub

Showing 2 of 2 total issues

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
      Severity
      Category
      Status
      Source
      Language