Quiz_Maker_Public D

Total Complexity 1,665
Dependencies 4
Dependents 6
Total lines 7,327
Lines of code 5,647
Logical lines of code 3,106
Comment lines 611
Methods 86
Properties 8

Methods 86

Method Rating Maintainability Complexity Lines of code
ays_quiz_parts()
D
0
721 2,591
ays_finish_quiz()
D
0
204 601
ays_questions_parts()
D
5
105 358
ays_set_quiz_texts()
D
19
80 173
ays_set_quiz_message_variables_data()
D
28
53 95
ays_default_answer_html()
D
32 33 83
ays_rate_the_quiz()
C
32 29 97
check_text_answer_correctness()
C
37 26 69
ays_quiz_get_question_max_length_array()
C
48 27 24
ays_number_answer_html()
B
36 20 75
ays_set_quiz_fields_placeholders_texts()
B
41 20 53
ays_get_average_score_by_category()
B
34 17 90
ays_text_answer_html()
B
38 18 59
ays_short_text_answer_html()
B
38 18 59
ays_answer_numbering()
A
44 13 50
ays_question_numbering()
A
44 13 50
ays_dropdown_answer_html()
A
43 13 40
get_published_questions_id_arr()
A
49 12 27
get_quiz_questions()
A
40 8 69
ays_get_full_reasons_of_rates()
A
43 9 46
show_quiz()
A
44 9 42
ays_generate_quiz()
A
42 8 55
ays_quiz_is_editor()
A
59 10 13
ays_date_answer_html()
A
48 9 28
ays_quiz_get_image_full_size_url_by_url()
A
53 9 20
ays_generate_quiz_method()
A
53 9 18
enqueue_styles_early()
A
53 8 21
check_answer_correctness()
S
49 7 30
hex2rgba()
S
51 7 26
ays_quiz_is_enable_question_max_length()
S
53 7 21
ays_color_inverse()
S
53 7 20
get_user_ip()
S
57 7 18
ays_quiz_get_image_id_by_url()
S
55 7 17
get_time_difference()
S
49 6 27
ays_quiz_get_image_full_size_by_id()
S
62 7 10
secondsToWords()
S
54 5 21
ays_quiz_is_elementor()
S
66 6 7
enqueue_scripts()
S
40 2 58
add_results_to_db()
S
43 2 54
isHomogenous()
S
59 4 15
in_question_use_html()
S
60 4 11
is_question_not_influence()
S
61 4 11
get_questions_categories()
S
57 3 17
get_question_bank_categories()
S
57 3 17
ays_quiz_get_image_alt_text_by_id()
S
64 4 10
isJSON()
S
76 4 3
ays_autoembed()
S
61 3 13
get_quiz_attributes_by_id()
S
61 3 11
ays_get_rate_last_reviews()
S
53 2 23
ays_load_more_reviews()
S
55 2 20
ays_set_rate_id_of_result()
S
55 2 19
sort_array_keys_by_array()
S
63 3 10
set_prop()
S
72 3 5
ays_get_average_of_rates()
S
65 3 9
ays_get_average_of_scores()
S
63 3 10
ays_shuffle_assoc()
S
64 3 10
text_answer_is()
S
61 2 11
has_text_answer()
S
61 2 11
ays_get_user_information()
S
63 2 11
ays_quiz_check_cookie()
S
68 2 7
ays_quiz_remove_cookie()
S
65 2 8
get_quiz_questions_by_ids()
S
63 2 10
get_prop()
S
72 2 6
pluralize_new()
S
77 2 3
pluralize()
S
77 2 3
replace_message_variables()
S
69 2 6
has_multiple_correct_answers()
S
63 2 10
get_user_by_ip()
S
68 1 7
ays_quiz_set_cookie()
S
68 1 6
get_quiz_by_id()
S
66 1 8
get_quiz_category_by_id()
S
66 1 8
get_question_category_by_id()
S
66 1 8
get_quiz_results_count_by_id()
S
66 1 8
get_answers_with_question_id()
S
66 1 8
get_quiz_questions_count()
S
64 1 9
get_quiz_tackers_count()
S
66 1 8
get_answers_max_weight()
S
77 1 4
ays_get_reasons_of_rates()
S
69 1 6
count_multiple_correct_answers()
S
67 1 7
get_limit_user_by_id()
S
69 1 6
isHomogenousStrong()
S
66 1 8
get_question_weight()
S
82 1 3
enqueue_styles()
S
62 1 10
ays_get_count_of_rates()
S
70 1 6
ays_get_count_of_reviews()
S
69 1 6
__construct()
S
70 1 6