crowbar/crowbar-core

View on GitHub

Showing 6,062 of 6,062 total issues

Avoid too many return statements within this method.
Open

        return [404, "Node does not have address in #{network}"]
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [200, net_info]
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return
Severity: Major
Found in crowbar_framework/app/models/api/upgrade.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

        return answer
Severity: Major
Found in crowbar_framework/app/models/crowbar_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [404, "Network deallocate ip from #{type}: network does not exists: #{object} #{network}"]
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if relevant_attributes_changed_if_roles?(node_name, old_role, new_role,
Severity: Major
Found in crowbar_framework/app/models/ntp_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if node_name == @admin_node_name &&
Severity: Major
Found in crowbar_framework/app/models/dns_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if relevant_attributes_changed_if_roles?(node_name, old_role, new_role,
Severity: Major
Found in crowbar_framework/app/models/dns_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [404, "No network data found"]
Severity: Major
Found in crowbar_framework/app/models/network_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return
Severity: Major
Found in crowbar_framework/app/models/api/upgrade.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return
Severity: Major
Found in crowbar_framework/app/models/api/upgrade.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

    return false if relevant_attributes_changed_if_roles?(node_name, old_role, new_role,
Severity: Major
Found in crowbar_framework/app/models/provisioner_service.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [405, message]
Severity: Major
Found in crowbar_framework/app/models/service_object.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [405, message]
Severity: Major
Found in crowbar_framework/app/models/service_object.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

          return
Severity: Major
Found in crowbar_framework/app/models/api/upgrade.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

      return [405, message]
Severity: Major
Found in crowbar_framework/app/models/service_object.rb - About 30 mins to fix

Avoid too many return statements within this method.
Open

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

Avoid too many return statements within this method.
Open

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

Avoid too many return statements within this method.
Open

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

Avoid too many return statements within this method.
Open

    return false if relevant_attributes_changed_if_roles?(node_name, old_role, new_role,
Severity: Major
Found in crowbar_framework/app/models/logging_service.rb - About 30 mins to fix
Severity
Category
Status
Source
Language