portainer/portainer

View on GitHub
app/docker/rest/network.js

Summary

Maintainability
A
1 hr
Test Coverage

Function NetworkFactory has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function NetworkFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider) {
    'use strict';
    return $resource(
      API_ENDPOINT_ENDPOINTS + '/:endpointId/docker/networks/:id/:action',
      {
Severity: Minor
Found in app/docker/rest/network.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status