Showing 331 of 1,265 total issues
Avoid too many return
statements within this method. Open
Open
return junior_categories.first if junior_categories.one?
Avoid too many return
statements within this method. Open
Open
return render(:new_login) if @person.errors.any?
Avoid too many return
statements within this method. Open
Open
return equipment_categories.first if equipment_categories.one?
Avoid too many return
statements within this method. Open
Open
return nil if candidate_categories.empty?
Avoid too many return
statements within this method. Open
Open
return nil if candidate_categories.empty?
Avoid too many return
statements within this method. Open
Open
return candidate_categories.first if one_match?(candidate_categories)
Avoid too many return
statements within this method. Open
Open
return diff if diff != 0
Avoid too many return
statements within this method. Open
Open
return candidate_categories.first if candidate_categories.one? && equipment?
Avoid too many return
statements within this method. Open
Open
return candidate_categories.first if one_match?(candidate_categories)
Avoid too many return
statements within this method. Open
Open
return render(:new_login)
Avoid too many return
statements within this method. Open
Open
return candidate_categories.first if one_match?(candidate_categories)
Avoid too many return
statements within this method. Open
Open
return candidate_categories.first if one_match?(candidate_categories)
Avoid too many return
statements within this method. Open
Open
return render(:show)
Avoid too many return
statements within this method. Open
Open
return candidate_categories.first if one_match?(candidate_categories)
Avoid too many return
statements within this method. Open
Open
return nil if candidate_categories.empty?
Avoid too many return
statements within this method. Open
Open
return highest_ability_category if highest_ability_category.include?(self)
Avoid too many return
statements within this method. Open
Open
return ability_category if ability_category.include?(self)
Avoid too many return
statements within this method. Open
Open
return redirect_to(category: category.friendly_param, only_path: true) if category.friendly_param != params["category"]
Avoid too many return
statements within this method. Open
Open
return masters_categories.first if masters_categories.one?
Avoid too many return
statements within this method. Open
Open
return nil