JumpstartLab/tracks

View on GitHub

Showing 182 of 244 total issues

Avoid too many return statements within this method.
Open

    return 'context'
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.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

              return candidate if candidate.auth_type.eql?("cas")
        Severity: Major
        Found in app/models/user.rb - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return "tickler-empty-nd" if
          Severity: Major
          Found in app/helpers/todos_helper.rb - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                    page.tag      { return (@context_changed && !@todo.hidden?) || @tag_was_removed || @todo_hidden_state_changed || @todo_deferred_state_changed }
              Severity: Major
              Found in app/helpers/todos_helper.rb - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                    return "c#{todo.context_id}items"
                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

                          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.todo     { return !update_needs_to_remove_todo_from_container }
                      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

                                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

                                  page.todo     { return @context_changed && !(@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

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

                                Avoid too many return statements within this method.
                                Open

                                    return "completed_containeritems" if 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
                                  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 "p#{todo.project_id}items" if source_view_is :project
                                        Severity: Major
                                        Found in app/helpers/todos_helper.rb - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language