Sensei_Quiz D

Total Complexity 330
Dependencies 10
Dependents 6
Total lines 2,364
Lines of code 1,150
Logical lines of code 644
Comment lines 802
Methods 61
Properties 4

Methods 61

Method Rating Maintainability Complexity Lines of code
submit_answers_for_grading()
B
41 16 52
get_user_question_feedback()
A
46 16 35
reset_user_lesson_data()
A
42 13 51
get_user_question_answer()
A
48 14 32
get_user_answers()
A
47 11 34
get_user_grades()
A
48 11 33
get_user_question_grade()
A
50 11 27
maybe_create_quiz_progress()
A
52 11 25
save_user_answers_feedback()
A
48 10 32
set_user_grades()
A
48 10 32
action_buttons()
A
41 7 70
get_user_answers_feedback()
A
52 10 23
save_user_answers()
A
50 9 26
prepare_form_submitted_answers()
A
50 9 26
start_quiz_questions_loop()
A
45 7 41
set_questions()
S
50 7 27
user_quiz_submit_listener()
S
51 7 26
page_change_listener()
S
51 7 26
user_save_quiz_answers_listener()
S
52 7 23
is_quiz_completed()
S
56 7 17
load_global_quiz_data()
S
47 5 35
set_quiz_author_on_create()
S
56 6 19
delete_quiz_question_meta()
S
56 6 18
is_quiz_available()
S
57 6 17
filter_out_incomplete_questions()
S
58 6 15
update_after_lesson_change()
S
54 5 21
the_quiz_progress_bar()
S
54 5 19
is_multiple_choice_question_complete()
S
58 5 15
quiz_has_no_questions()
S
59 5 13
get_lesson_id()
S
61 5 12
update_quiz_author()
S
57 4 18
is_block_based_editor_enabled()
S
63 5 9
reset_button_click_listener()
S
58 4 15
get_button_inline_styles()
S
60 4 13
get_question_inner_block()
S
61 4 12
get_questions()
S
52 3 24
__construct()
S
49 2 30
single_quiz_title()
S
59 3 13
parse_form_answers()
S
62 3 12
get_user_quiz_grade()
S
63 3 11
redirect_if_lesson_is_protected()
S
65 3 10
maybe_delete_quiz()
S
68 3 7
is_gap_fill_question_complete()
S
66 3 7
is_uploaded_file_valid()
S
65 3 8
add_quiz_blocks_class()
S
70 3 6
the_user_status_message()
S
61 2 11
get_correct_answer_feedback()
S
74 2 4
get_incorrect_answer_feedback()
S
74 2 4
merge_quiz_answers_with_questions_asked()
S
68 2 7
is_pass_required()
S
66 2 8
is_reset_allowed()
S
66 2 8
disable_block_editor_functions_when_question_types_are_registered()
S
79 2 3
the_quiz_pagination()
S
64 2 9
output_quiz_hidden_fields()
S
68 2 8
get_option()
S
65 2 9
the_title()
S
62 1 14
stop_quiz_questions_loop()
S
62 1 11
has_sensei_blocks()
S
76 1 4
get_correct_answer_feedback_block()
S
78 1 3
replace_pagination_links_with_buttons()
S
71 1 7
get_incorrect_answer_feedback_block()
S
78 1 3