mysociety/alaveteli

View on GitHub

Showing 500 of 1,294 total issues

Avoid too many return statements within this method.
Open

        return true
Severity: Major
Found in lib/mail_handler/reply_handler.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          redirect_to frontpage_path and return
    Severity: Major
    Found in app/controllers/request_controller.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            return
      Severity: Major
      Found in app/controllers/request_controller.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

              handle_blocked_ip(@info_request) && return
        Severity: Major
        Found in app/controllers/request_controller.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return self.theme_describe_state(info_request)
          Severity: Major
          Found in app/controllers/request_controller.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                  return render_new_preview
            Severity: Major
            Found in app/controllers/request_controller.rb - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                    return
              Severity: Major
              Found in app/controllers/request_controller.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                      return render_new_preview
                Severity: Major
                Found in app/controllers/request_controller.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        return
                  Severity: Major
                  Found in app/controllers/request_controller.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return
                    Severity: Major
                    Found in app/controllers/request_controller.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                            handle_spam_subject(@info_request.user) && return
                      Severity: Major
                      Found in app/controllers/request_controller.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return
                        Severity: Major
                        Found in app/controllers/request_controller.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                return
                          Severity: Major
                          Found in app/controllers/request_controller.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  return
                            Severity: Major
                            Found in app/controllers/request_controller.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    return
                              Severity: Major
                              Found in app/controllers/request_controller.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      return
                                Severity: Major
                                Found in app/controllers/user_controller.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                        return
                                  Severity: Major
                                  Found in app/controllers/user_controller.rb - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                          return true
                                    Severity: Major
                                    Found in app/models/info_request_event.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                          return true
                                      Severity: Major
                                      Found in app/models/incoming_message.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                            return 'waiting_response'
                                        Severity: Major
                                        Found in app/models/info_request.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source