cloudfoundry/cloud_controller_ng

View on GitHub

Showing 583 of 2,698 total issues

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

  def initialize(process, health_check_invocation_timeout, health_check_type, health_check_http_endpoint, health_check_interval)
Severity: Minor
Found in app/models/runtime/constraints/readiness_health_check_policy.rb - About 35 mins to fix

    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

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

                      def initialize(app, logger, expiring_request_counter, reset_interval, header_suffix=nil)
                Severity: Minor
                Found in middleware/base_rate_limiter.rb - About 35 mins to fix

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

                        def self.record_build_create(build, user_audit_info, v3_app_name, space_guid, org_guid)
                  Severity: Minor
                  Found in app/repositories/build_event_repository.rb - About 35 mins to fix

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

                            def initialize(name, service_instance_guid, user_audit_info, request_attrs, end_timestamp=nil)
                    Severity: Minor
                    Found in app/jobs/v2/services/service_instance_state_fetch.rb - About 35 mins to fix

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

                            def initialize(user_audit_info, route, process, request_attrs, logger)
                      Severity: Minor
                      Found in app/actions/v2/route_mapping_create.rb - About 35 mins to fix

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

                              def apply(security_group, message, staging_or_running, visible_space_guids, all_spaces_visible)
                        Severity: Minor
                        Found in app/actions/security_group_apply.rb - About 35 mins to fix

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

                              def create(app, service_instance, message, volume_mount_services_enabled, accepts_incomplete)
                          Severity: Minor
                          Found in app/actions/v2/services/service_binding_create.rb - About 35 mins to fix

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

                              def initialize(table, name, column, referenced_table, referenced_column, new_constraint: false)
                            Severity: Minor
                            Found in db/helpers/add_delete_cascade_to_foreign_key.rb - About 35 mins to fix

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

                                    def metrics_data_for_instance(stats, quota_stats, log_cache_errors, formatted_current_time, index)
                              Severity: Minor
                              Found in lib/cloud_controller/diego/reporters/instances_stats_reporter.rb - About 35 mins to fix

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

                                    def fetch_and_process_records(paginated_dataset, controller, inline_relations_depth, orphans, opts)
                                Severity: Minor
                                Found in lib/cloud_controller/rest_controller/paginated_collection_renderer.rb - About 35 mins to fix

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

                                      def initialize(start_time, log_counter, logger, statsd_updater, prometheus_updater)
                                  Severity: Minor
                                  Found in lib/cloud_controller/metrics/periodic_updater.rb - About 35 mins to fix

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

                                        def initialize(config, app, logger, periodic_updater, request_logs)
                                    Severity: Minor
                                    Found in lib/cloud_controller/runners/thin_runner.rb - About 35 mins to fix

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

                                            def initialize(blobstore_options, package_blobstore, buildpack_cache_blobstore, admin_buildpack_blobstore, droplet_blobstore)
                                      Severity: Minor
                                      Found in lib/cloud_controller/blobstore/url_generator/internal_url_generator.rb - About 35 mins to fix

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

                                            def eager_load_dataset(dataset, starting_controller_class, default_visibility_filter, additional_visibility_filters, depth)
                                        Severity: Minor
                                        Found in lib/cloud_controller/rest_controller/secure_eager_loader.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language