Showing 64 of 1,614 total issues
Avoid too many return
statements within this method. Open
Open
page.tag { return ((@context_changed | @project_changed) && !@todo.hidden?) || @tag_was_removed || @todo_hidden_state_changed || @todo_deferred_state_changed }
Avoid too many return
statements within this method. Open
Open
page.todo { return !update_needs_to_remove_todo_from_container }
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return
Avoid too many return
statements within this method. Open
Open
return :overdue_by_more_than_one
Avoid too many return
statements within this method. Open
Open
return project_container_id(todo) if source_view_is_one_of(:todo, :tag, :project, :context) && @group_view_by == 'project'
Avoid too many return
statements within this method. Open
Open
page.search { return true }
Avoid too many return
statements within this method. Open
Open
return todo_container_empty_id(todo)
Avoid too many return
statements within this method. Open
Open
page.tag { return update_needs_to_remove_todo_from_container && !@tag_was_removed }
Avoid too many return
statements within this method. Open
Open
return context_container_empty_id(todo)
Avoid too many return
statements within this method. Open
Open
page.stats { return !@todo.completed? }
Avoid too many return
statements within this method. Open
Open
return "deferred_pending_container-empty-d" if empty_criteria_met
Avoid too many return
statements within this method. Open
Open
return :overdue_by_one
Avoid too many return
statements within this method. Open
Open
return false
Avoid too many return
statements within this method. Open
Open
return "#{@new_due_id}_container-empty-d"
Avoid too many return
statements within this method. Open
Open
return "deferred_pending_container-empty-d" if empty_criteria_met
Avoid too many return
statements within this method. Open
Open
return current_user.todos.not_completed.where('todos.due > ?', due_this_month_date).count
Avoid too many return
statements within this method. Open
Open
return 'context'
Avoid too many return
statements within this method. Open
Open
page.project { return show_todo_on_current_project_page }
Avoid too many return
statements within this method. Open
Open
return "completed_container" if todo.completed?