RackHD/on-taskgraph

View on GitHub
api/rpc/index.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function schedulerServerFactory has 83 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function schedulerServerFactory(
    assert,
    _,
    Promise,
    Logger
Severity: Major
Found in api/rpc/index.js - About 3 hrs to fix

    Function start has 48 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        SchedulerServer.prototype.start = function() {
            var self = this;
    
            return Promise.try(function() {
                var grpc = require('grpc');
    Severity: Minor
    Found in api/rpc/index.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status