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 "#{@explorer ? "x_" : ""}vm_performance_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?("comparemode_") && id.ends_with?(settings(:views, :compare_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 true if id == "view_summary" && @showtype == "main"
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 "zones_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 "customization_templates_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 "drifts_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 @layout.starts_with?("miq_request")
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 "dialog_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 @in_a_form
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 "time_profiles_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_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 dashboard_no_listnav?
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 "custom_button_center_tb"      # button 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 "tenants_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 "compare_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 %w[
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 false if %w[
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 "logs_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 url_for_only_path(:controller => controller, :action => action, :id => nil) + "/"
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return ems_storages_path
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix
Severity
Category
Status
Source
Language