ipfs/ipfs-cluster

View on GitHub
cmd/ipfs-cluster-service/daemon.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function createCluster has 93 lines of code (exceeds 80 allowed). Consider refactoring.
Open

func createCluster(
    ctx context.Context,
    c *cli.Context,
    cfgHelper *cmdutils.ConfigHelper,
    host host.Host,
Severity: Major
Found in cmd/ipfs-cluster-service/daemon.go - About 1 hr to fix

    Function createCluster has 8 arguments (exceeds 6 allowed). Consider refactoring.
    Open

        ctx context.Context,
        c *cli.Context,
        cfgHelper *cmdutils.ConfigHelper,
        host host.Host,
        pubsub *pubsub.PubSub,
    Severity: Major
    Found in cmd/ipfs-cluster-service/daemon.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status