atsid/circuits-js

View on GitHub
js/ServiceQueue.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function constructor has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        constructor: function (config) {
            var calls = [], executed = false,
                requests = [];

            this.autoRefreshInterval = config.autoRefreshInterval || 0;
Severity: Major
Found in js/ServiceQueue.js - About 3 hrs to fix

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

                this.execute = function (callback, scope) {
                    var that = this;
    
                    if (this.hasBeenExecuted()) {
                        if (!this.executionComplete()) {
    Severity: Minor
    Found in js/ServiceQueue.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status