mysociety/alaveteli

View on GitHub

Showing 136 of 1,294 total issues

Avoid too many return statements within this function.
Open

                    return;
Severity: Major
Found in app/assets/javascripts/alaveteli_pro/selectize.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return;
    Severity: Major
    Found in app/assets/javascripts/alaveteli_pro/selectize.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return;
      Severity: Major
      Found in app/assets/javascripts/alaveteli_pro/selectize.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                            return;
        Severity: Major
        Found in app/assets/javascripts/alaveteli_pro/selectize.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                              return;
          Severity: Major
          Found in app/assets/javascripts/alaveteli_pro/selectize.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return;
            Severity: Major
            Found in app/assets/javascripts/alaveteli_pro/selectize.js - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                  return 'waiting_response'
              Severity: Major
              Found in spec/models/customstates.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                    return 'waiting_response_very_overdue' if
                Severity: Major
                Found in spec/models/customstates.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                      return 'waiting_response_overdue' if
                  Severity: Major
                  Found in spec/models/customstates.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          return 'waiting_response_overdue'
                    Severity: Major
                    Found in spec/models/customstates.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                          return 0
                      Severity: Major
                      Found in script/handle-mail-replies.rb - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                              return 2 # Use a different return code, to distinguish OOFs from bounces
                        Severity: Major
                        Found in script/handle-mail-replies.rb - About 30 mins to fix

                          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

                                    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

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

                                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

                                          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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language