hoschi/sweetp-service-project-context-manager

View on GitHub
src/callServices.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function callServices has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function callServices (serviceNames, db, url, project, context, callback) {
    var params, callServicesFor, serviceCalls, finalCallback;

    if (!serviceNames || serviceNames.length <= 0) {
        return callback(null);
Severity: Major
Found in src/callServices.js - About 2 hrs to fix

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

    module.exports = function callServices (serviceNames, db, url, project, context, callback) {
    Severity: Minor
    Found in src/callServices.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status