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 "custom_buttons_center_tb"     # group node is selected
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_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 "iso_image_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 "tasks_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 node == "root" || node.split('-').length == 2 ? "miq_widgets_center_tb" : "miq_widget_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 "pxe_image_types_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_datastores_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' ? "#{@layout.pluralize}_center_tb" : "#{@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 true if id == "compare_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 "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_group_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 "users_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 == 'generic_object' ? nil : 'generic_objects_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 "configuration_profile_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.starts_with?("driftmode_") && id.ends_with?(settings(:views, :drift_mode).to_s)
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 "user_role_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_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 "pxe_image_type_center_tb"
Severity: Major
Found in app/helpers/application_helper/toolbar_chooser.rb - About 30 mins to fix
Severity
Category
Status
Source
Language