Showing 418 of 830 total issues
Avoid too many return
statements within this function. Open
Open
return '';
Avoid too many return
statements within this function. Open
Open
return STATE_FAILED;
Avoid too many return
statements within this function. Open
Open
return listeners;
Avoid too many return
statements within this function. Open
Open
return 0;
Avoid too many return
statements within this method. Open
Open
return InteractiveRunState
Avoid too many return
statements within this method. Open
Open
return error(500, e.message)
Avoid too many return
statements within this method. Open
Open
return error("Invalid page_item[embeddable] parameter") if library_interactive.nil?
Avoid too many return
statements within this method. Open
Open
return error("Missing page_item[data] parameter") if data.nil?
Avoid too many return
statements within this method. Open
Open
return update_choice(action)
Avoid too many return
statements within this method. Open
Open
return nil
Avoid too many return
statements within this method. Open
Open
return {success: false, error: "Import failed: #{e.message.truncate(200)}"}
Avoid too many return
statements within this method. Open
Open
return nil
Avoid too many return
statements within this method. Open
Open
return
Avoid too many return
statements within this method. Open
Open
return
Avoid too many return
statements within this method. Open
Open
return
Avoid too many return
statements within this method. Open
Open
return unless matches && matches[1]
Avoid too many return
statements within this method. Open
Open
return selected_choices.first
Avoid too many return
statements within this method. Open
Open
return error("Unknown embbeddable_type: #{embeddable_type}\nOnly library interactive embeddables, iFrame interactives, and text blocks are currently supported")
Avoid too many return
statements within this method. Open
Open
return error("Missing page_item[type] parameter") if type.nil?
Avoid too many return
statements within this method. Open
Open
return "mi_#{question.id}"