cloudamatic/mu

View on GitHub

Showing 255 of 2,705 total issues

Avoid too many return statements within this method.
Open

                return name_only ? name.to_s : cfg
Severity: Major
Found in modules/mu/providers/aws.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return name_only ? name : $MU_CFG['aws'][name]
    Severity: Major
    Found in modules/mu/providers/aws.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return name_only ? name : @@acct_to_profile_map[name.to_s]
      Severity: Major
      Found in modules/mu/providers/aws.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return name_only ? acctname : $MU_CFG['aws'][acctname]
        Severity: Major
        Found in modules/mu/providers/aws.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return @@authorizers[credentials][scopes.to_s]
          Severity: Major
          Found in modules/mu/providers/google.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return true
            Severity: Major
            Found in modules/mu/providers/aws/vpc.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return name_only ? name : $MU_CFG['google'][name]
              Severity: Major
              Found in modules/mu/providers/google.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return struct
                Severity: Major
                Found in modules/mu.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                            return false if hash1[k] != hash2[k]
                  Severity: Major
                  Found in modules/mu.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return name_only ? name : @@acct_to_profile_map[name.to_s]
                    Severity: Major
                    Found in modules/mu/providers/google.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                return nil
                      Severity: Major
                      Found in modules/mu/providers/google/vpc.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                  return false
                        Severity: Major
                        Found in modules/mu/providers/aws/server.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return :json
                          Severity: Major
                          Found in modules/mu/config.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return ok
                            Severity: Major
                            Found in modules/mu/config/vpc.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return false
                              Severity: Major
                              Found in modules/mu/master/ldap.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return "#{ssh_dir}/#{ssh_key_name}"
                                Severity: Major
                                Found in modules/mu/master.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return false
                                  Severity: Major
                                  Found in modules/mu/config/vpc.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return matches.values.first if matches.size == 1
                                    Severity: Major
                                    Found in modules/mu/mommacat/search.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return false
                                      Severity: Major
                                      Found in modules/mu/config/vpc.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                  return true if shortname == require_group
                                        Severity: Major
                                        Found in modules/mu/master/ldap.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language