cloudamatic/mu

View on GitHub

Showing 255 of 2,705 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

                    return name_only ? set : 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 if public_iface.nat_ip == nat_ip
        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 nat
          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 nil
            Severity: Major
            Found in modules/mu/providers/google.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

                          return false if !hash2[k].nil? and 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 projectobj.cloud_id
                  Severity: Major
                  Found in modules/mu/providers/google.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

                                              return vpc_block
                      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 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 !result
                          Severity: Major
                          Found in modules/mu.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                        return nil
                              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 nil
                                Severity: Major
                                Found in modules/mu/providers/google.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return vpc_block
                                  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 MU::Cloud::AWS::VPC.can_route_to_master_peer?(my_subnets_key, target_subnets_key, instance_id)
                                    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 struct.dup.to_s.force_encoding("ASCII-8BIT").encode('UTF-8', invalid: :replace, undef: :replace, replace: '?')
                                      Severity: Major
                                      Found in modules/mu.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                      return false
                                        Severity: Major
                                        Found in modules/mu.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language