WikiEducationFoundation/WikiEduDashboard

View on GitHub
app/presenters/dashboard_presenter.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Class DashboardPresenter has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

class DashboardPresenter
  include Rails.application.routes.url_helpers

  attr_reader :courses, :current, :past, :submitted, :strictly_current, :current_user

Severity: Minor
Found in app/presenters/dashboard_presenter.rb - About 2 hrs to fix

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

      def initialize(current, past, submitted, strictly_current, current_user, force_instructor_view) # rubocop:disable Metrics/ParameterLists
    Severity: Minor
    Found in app/presenters/dashboard_presenter.rb - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status