ManageIQ/manageiq-ui-classic

View on GitHub

Showing 2,015 of 18,390 total issues

Avoid too many return statements within this method.
Open

        return "customization_template_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "iso_datastore_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "#{@display}_center"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if controller.action_name.end_with?("tagging_edit")
Severity: Major
Found in app/helpers/application_helper/page_layouts.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return true if id == "drift_all"
Severity: Major
Found in app/helpers/application_helper/toolbar_builder.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return x_node == "root" ? "miq_report_schedules_center_tb" : "miq_report_schedule_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "#{@layout}_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "diagnostics_region_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "user_roles_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return @lastaction == 'show_list' ? 'miq_requests_center_tb' : 'miq_request_center_tb'
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if controller.kind_of?(GenericObjectDefinitionController) && x_node != "root"
Severity: Major
Found in app/helpers/application_helper/page_layouts.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "diagnostics_server_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "diagnostics_zone_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "miq_groups_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return true if id == "view_dashboard" && @showtype == "dashboard"
Severity: Major
Found in app/helpers/application_helper/toolbar_builder.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "#{@display}_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return "drift_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "tenant_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return "saved_report_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return nil if @display == 'custom_button_events'
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix
Severity
Category
Status
Source
Language