portainer/portainer

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

Summary

Maintainability
A
1 hr
Test Coverage

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

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

    There are no issues that match your filters.

    Category
    Status