TracksApp/tracks

View on GitHub

Showing 64 of 1,614 total issues

Avoid too many return statements within this method.
Open

      page.search   { return false }
Severity: Major
Found in app/helpers/todos_helper.rb - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          page.tag      { return !update_needs_to_remove_todo_from_container && !@tag_was_removed }
    Severity: Major
    Found in app/helpers/todos_helper.rb - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

            page.todo { return todo_container_empty_id(todo) }
      Severity: Major
      Found in app/helpers/todos_helper.rb - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

              return false if params[:user][:password].empty?
          Severity: Major
          Found in app/controllers/users_controller.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                  return "rest_of_month" if date >= beginning_of_month
              Severity: Major
              Found in lib/done_todos.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                          return :more_than_a_week
                Severity: Major
                Found in app/helpers/date_label_helper.rb - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                        page.context  { return show_todo_on_current_context_page }
                  Severity: Major
                  Found in app/helpers/todos_helper.rb - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                          page.stats    { return false }
                    Severity: Major
                    Found in app/helpers/todos_helper.rb - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                            return context_container_id(todo)
                        Severity: Major
                        Found in app/helpers/todos_helper.rb - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return todo_container_empty_id(todo)
                          Severity: Major
                          Found in app/helpers/todos_helper.rb - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                  page.deferred { return todo_container_empty_id(todo) }
                            Severity: Major
                            Found in app/helpers/todos_helper.rb - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                    page.todo     { return todo_moved_out_of_container || @todo.hidden? || @todo.deferred? || @todo.pending? }
                              Severity: Major
                              Found in app/helpers/todos_helper.rb - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                      page.todo     { return todo_moved_out_of_container && !(@todo.deferred? || @todo.pending? || @todo.hidden?) }
                                Severity: Major
                                Found in app/helpers/todos_helper.rb - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

                                          page.stats    { return @todo.completed? }
                                    Severity: Major
                                    Found in app/helpers/todos_helper.rb - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                          return false
                                      Severity: Major
                                      Found in app/helpers/todos_helper.rb - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                            return false
                                        Severity: Major
                                        Found in app/helpers/todos_helper.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language