3scale/porta

View on GitHub
app/events/reports/csv_data_export_event.rb

Summary

Maintainability
A
0 mins
Test Coverage

Reports::CsvDataExportEvent#self.create has 4 parameters
Open

  def self.create(provider, recipient, type, period)

A Long Parameter List occurs when a method has a lot of parameters.

Example

Given

class Dummy
  def long_list(foo,bar,baz,fling,flung)
    puts foo,bar,baz,fling,flung
  end
end

Reek would report the following warning:

test.rb -- 1 warning:
  [2]:Dummy#long_list has 5 parameters (LongParameterList)

A common solution to this problem would be the introduction of parameter objects.

There are no issues that match your filters.

Category
Status