cloudfoundry/cloud_controller_ng

View on GitHub
app/repositories/user_event_repository.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method record_space_role_add has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

      def record_space_role_add(space, assignee, role_type, actor_audit_info, request_attrs={})
Severity: Minor
Found in app/repositories/user_event_repository.rb - About 35 mins to fix

    Method record_organization_role_add has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def record_organization_role_add(organization, assignee, role_type, actor_audit_info, request_attrs={})
    Severity: Minor
    Found in app/repositories/user_event_repository.rb - About 35 mins to fix

      Method record_space_role_event has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            def record_space_role_event(type, space, assignee, actor_audit_info, request_attrs)
      Severity: Minor
      Found in app/repositories/user_event_repository.rb - About 35 mins to fix

        Method record_space_role_remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

              def record_space_role_remove(space, assignee, role_type, actor_audit_info, request_attrs={})
        Severity: Minor
        Found in app/repositories/user_event_repository.rb - About 35 mins to fix

          Method record_organization_role_remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                def record_organization_role_remove(organization, assignee, role_type, actor_audit_info, request_attrs={})
          Severity: Minor
          Found in app/repositories/user_event_repository.rb - About 35 mins to fix

            Method record_organization_role_event has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                  def record_organization_role_event(type, organization, assignee, actor_audit_info, request_attrs)
            Severity: Minor
            Found in app/repositories/user_event_repository.rb - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status