presidentbeef/brakeman

View on GitHub

Showing 54 of 56 total issues

Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def initialize name, parent, file_name, src, tracker
Severity: Minor
Found in lib/brakeman/tracker/controller.rb - About 35 mins to fix

    Method initialize has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def initialize name, parent, file_name, src, tracker
    Severity: Minor
    Found in lib/brakeman/tracker/library.rb - About 35 mins to fix

      Avoid too many return statements within this method.
      Open

              return target
      Severity: Major
      Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return first_arg
        Severity: Major
        Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return false
          Severity: Major
          Found in lib/brakeman/checks/check_redirect.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                      return return_value.deep_clone(exp.line)
            Severity: Major
            Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return Match.new(immediate, opt)
              Severity: Major
              Found in lib/brakeman/checks/check_redirect.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return match if match
                Severity: Major
                Found in lib/brakeman/checks/base_check.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return (include_user_input?(opt.lhs) or include_user_input?(opt.rhs))
                  Severity: Major
                  Found in lib/brakeman/checks/check_redirect.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                              return match if match
                    Severity: Major
                    Found in lib/brakeman/checks/base_check.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return self.to_sarif
                      Severity: Major
                      Found in lib/brakeman/report.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return target
                        Severity: Major
                        Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                    return (@method_cache[cache_key] = method)
                          Severity: Major
                          Found in lib/brakeman/tracker.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return process_hash_merge(target, first_arg)
                            Severity: Major
                            Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return first_arg
                              Severity: Major
                              Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return target
                                Severity: Major
                                Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return Sexp.new(:hash).line(exp.line)
                                  Severity: Major
                                  Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return Sexp.new(:false).line(exp.line)
                                    Severity: Major
                                    Found in lib/brakeman/processors/alias_processor.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return Match.new(immediate, opt)
                                      Severity: Major
                                      Found in lib/brakeman/checks/check_redirect.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return false
                                        Severity: Major
                                        Found in lib/brakeman/checks/check_redirect.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language