cloudfoundry/cloud_controller_ng

View on GitHub
app/controllers/base/base_controller.rb

Summary

Maintainability
B
5 hrs
Test Coverage

Class BaseController has 34 methods (exceeds 20 allowed). Consider refactoring.
Open

  class BaseController
    V2_ROUTE_PREFIX ||= '/v2'.freeze

    include VCAP::CloudController
    include CloudController::Errors
Severity: Minor
Found in app/controllers/base/base_controller.rb - About 4 hrs to fix

    Method initialize has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def initialize(config, logger, env, params, body, sinatra=nil, dependencies={})
    Severity: Major
    Found in app/controllers/base/base_controller.rb - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status