rubinius/rubinius

View on GitHub

Showing 1,321 of 1,541 total issues

Avoid too many return statements within this method.
Open

            return undefined if CodeLoader.loading? constant.path
Severity: Major
Found in core/type.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return false unless item
    Severity: Major
    Found in core/hash.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

          return false unless POSIX.access(orig, Constants::R_OK)
      Severity: Major
      Found in core/file.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                  return resolve ? mod.const_missing(name) : undefined
        Severity: Major
        Found in core/type.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                    return constant
          Severity: Major
          Found in core/type.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return false unless item.value.eql?(e.value)
            Severity: Major
            Found in core/hash.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                            return undefined
              Severity: Major
              Found in core/type.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                    return real if Rubinius.mathn_loaded? && imag.equal?(0)
                Severity: Major
                Found in core/complex.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return finish if needle_size == 0
                  Severity: Major
                  Found in core/string.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return split_on_string(string, pattern, trim_end)
                    Severity: Major
                    Found in core/splitter.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          return "."
                      Severity: Major
                      Found in core/file.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return match_data.begin(0) if match_data
                        Severity: Major
                        Found in core/string.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return nil
                          Severity: Major
                          Found in core/variable_scope.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return (nil || buffer)
                            Severity: Major
                            Found in core/io.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return m.byte_to_character_index byte_index
                              Severity: Major
                              Found in core/string.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return if bytes == @num_bytes
                                Severity: Major
                                Found in core/string.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return "" if start == size
                                  Severity: Major
                                  Found in core/string.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return nil if size < needle_size
                                    Severity: Major
                                    Found in core/string.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return substring(start, length)
                                      Severity: Major
                                      Found in core/string.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                              return path unless path.suffix? slash
                                        Severity: Major
                                        Found in core/file.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language