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 "/" + request.parameters[:controller] + "/tree_select/?id=" + TREE_WITH_TAB[active_tab]
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_networks_path
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return url_for_only_path(:controller => controller, :action => "show") + "/"
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if @layout == "configuration" && @tabform != "ui_4"
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return url_for_only_path(:action => action) + "/" # In explorer, don't jump to other controllers
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return "/" + request.parameters[:controller] + "/tree_select?id=" + suffix
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return url_for_only_path(:action => action, :id => params[:id]) + "?display=generic_objects&generic_object_id="
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return url_for_only_path(:controller => "vm_or_template", :action => "show") + "/"
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return url_for_only_path(:controller => 'restful_redirect', :model => 'ExtManagementSystem') if controller == 'ext_management_system'
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return url_for_only_path(:controller => parent.kind_of?(VmOrTemplate) && !@explorer ? parent.class.base_model.to_s.underscore : request.parameters["controller"],
                               :action     => association,
                               :id         => parent.id) + "?#{@explorer ? "x_show" : "show"}="
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return "/" + request.parameters[:controller] + "/tree_select/?id=" + x_node.split("-")[1]
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

            return false # when tagging Users, Groups, Roles and Tenants, the table is non-clickable
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return "/#{params[:controller]}/tree_select/?id=#{TreeBuilder.get_prefix_for_model(view.db)}"
Severity: Major
Found in app/helpers/application_helper.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return
Severity: Major
Found in app/controllers/vm_common.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return true if changed?(params["source_security_group_id"], sg_rule.source_security_group_id)
Severity: Major
Found in app/controllers/security_group_controller.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return true if changed?(params["port"], sg_rule.port)
Severity: Major
Found in app/controllers/security_group_controller.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return
Severity: Major
Found in app/controllers/miq_policy_controller/events.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return if performed?
Severity: Major
Found in app/controllers/miq_policy_controller/events.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return true if changed?(params["source_ip_range"], sg_rule.source_ip_range)
Severity: Major
Found in app/controllers/security_group_controller.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

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