e-ucm/js-tracker

View on GitHub

Showing 23 of 45 total issues

Avoid deeply nested control flow statements.
Open

                                if (error && tracker.queue.length > 0) {
                                    tracker.tracesPending.push(data);
                                    callback('Can\'t send Traces', true);
                                }else {
                                    callback('Everything OK', false);
Severity: Major
Found in src/js-tracker.js - About 45 mins to fix

    Function HttpRequest has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        this.HttpRequest = function(url, method, headers, body, success, error) {
    Severity: Minor
    Found in src/js-tracker.js - About 45 mins to fix

      Function Looked has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

                  this.Looked = function(placeId, type, orientation, latitude, longitude) {
      Severity: Minor
      Found in plugins/geolocation.js - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language