3scale/porta

View on GitHub
app/controllers/api/services_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage

Api::ServicesController has at least 19 methods
Open

class Api::ServicesController < Api::BaseController

Too Many Methods is a special case of LargeClass.

Example

Given this configuration

TooManyMethods:
  max_methods: 3

and this code:

class TooManyMethods
  def one; end
  def two; end
  def three; end
  def four; end
end

Reek would emit the following warning:

test.rb -- 1 warning:
  [1]:TooManyMethods has at least 4 methods (TooManyMethods)

There are no issues that match your filters.

Category
Status