rapid7/metasploit-framework

View on GitHub

Showing 16,065 of 22,177 total issues

Avoid too many return statements within this method.
Open

      return
Severity: Major
Found in lib/rex/proto/http/packet.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          return nil
    Severity: Major
    Found in lib/rex/proto/http/client.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return
      Severity: Major
      Found in lib/rex/proto/http/packet.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              return if @state[:form_variables].empty?
        Severity: Major
        Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                return unless @state[:report_item][:severity].downcase == "high"
          Severity: Major
          Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return if @state[:service]["port"].to_i == 0
            Severity: Major
            Found in lib/rex/parser/nexpose_simple_document.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return unless uri
              Severity: Major
              Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return unless path
                Severity: Major
                Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return unless @state[:report_item][:severity]
                  Severity: Major
                  Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return @state[:vuln_info]
                    Severity: Major
                    Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            return unless service_object
                      Severity: Major
                      Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return unless @state[:report_item][:name]
                        Severity: Major
                        Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return unless (host && port && scheme)
                          Severity: Major
                          Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return unless @text =~ /server is running/
                            Severity: Major
                            Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    return unless scheme[/^https?/]
                              Severity: Major
                              Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return unless address
                                Severity: Major
                                Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return if @text.strip.empty?
                                  Severity: Major
                                  Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return unless parsed_response
                                    Severity: Major
                                    Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                            return true
                                      Severity: Major
                                      Found in lib/rex/parser/mbsa_document.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                              return if @text.strip.empty?
                                        Severity: Major
                                        Found in lib/rex/parser/acunetix_document.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language