e-ucm/rage-analytics-backend

View on GitHub
bin/upgrade/upgrader.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function roll has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function roll(callback) {

    var refreshes = {};
    for (var key in controllers) {
        var controller = controllers[key];
Severity: Major
Found in bin/upgrade/upgrader.js - About 2 hrs to fix

    Avoid too many return statements within this function.
    Open

                    return logError('Controllers are pending, but no transforms are possible (system locked)!',
                        status, callback);
    Severity: Major
    Found in bin/upgrade/upgrader.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status