rubinius/rubinius

View on GitHub

Showing 1,321 of 1,541 total issues

Avoid too many return statements within this method.
Open

        return false unless other_vertex.successors.to_set == vertex.successors.to_set
Severity: Major
Found in library/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          return lhs <=> rhs
    Severity: Major
    Found in library/rubygems/version.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return if ask_yes_no "#{question}\nOverwrite the executable?", false
      Severity: Major
      Found in library/rubygems/installer.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              return if ask_yes_no "#{question}\nOverwrite the executable?", false
        Severity: Major
        Found in library/rubygems/installer.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                return [v, "your #{lockfile}"]
          Severity: Major
          Found in library/rubygems/bundler_version_finder.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                return 0
            Severity: Major
            Found in library/rubygems/version.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return false
              Severity: Major
              Found in build/scripts/daedalus.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return "(#{what}->reference_p() && #{what}->type_id() == #{@name}Type)"
                Severity: Major
                Found in build/scripts/field_extract.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return '%-'
                  Severity: Major
                  Found in library/bin/erb.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return "#{what}->nil_p()"
                    Severity: Major
                    Found in build/scripts/field_extract.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          return true
                      Severity: Major
                      Found in configure.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return false
                        Severity: Major
                        Found in configure.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                              return true
                          Severity: Major
                          Found in mspec/lib/mspec/matchers/output.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                return true
                            Severity: Major
                            Found in mspec/lib/mspec/matchers/raise_error.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                  return true
                              Severity: Major
                              Found in mspec/lib/mspec/matchers/raise_exception.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return @begin if last_true == start
                                Severity: Major
                                Found in core/range.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                      return -0.0 if result_frac.zero? && frac < 0
                                  Severity: Major
                                  Found in core/float.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                        return 0.0 if result_frac.zero? && frac > 0
                                    Severity: Major
                                    Found in core/float.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return status == :finished ? result : str
                                      Severity: Major
                                      Found in core/capi.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                            return Math.ldexp result_frac, exp
                                        Severity: Major
                                        Found in core/float.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language