Code Analysis: HD Quiz 2.0.6

Function Rating Maintainability Complexity Lines of code
_hdq_quiz::getFieldsGeneral()
B
28
3 311
hdq_print_questions()
B
37 15 76
hdq_addons_page()
A
33 10 134
_hdq_quiz::displayQuestions()
A
38 14 70
hdquiz\_hd_fields::get_value_array()
A
49 14 31
_hdq_settings::fields()
A
32 2 203
sanitize_hdq_field_answers()
A
42 9 61
_hdq_question::mapOld()
A
45 10 44
hdquiz\_hd_sanitize::component()
A
48 10 36
hdq_get_local_vars()
A
47 9 36
hdq_tools_page()
A
40 2 137
_hdq_quiz::getFieldsPersonality()
A
37 2 136
hdquiz\_hd_sanitize::values()
A
47 8 41
hdq_print_finish_bad()
A
51 9 25
hdquiz\_hd_fields::render_radio()
A
46 8 38
_hdq_dashboard::list_quizzes()
A
48 8 31
hdquiz\_hd_fields::get_description()
A
59 9 13
hdq_print_jPaginate()
A
52 8 27
_hdq_question::fields()
A
39 3 101
_hdq_quiz::save()
A
45 7 41
hdquiz\_hd_fields::render_checkbox()
A
45 7 39
_hdq_quiz::delete()
A
47 7 39
hdquiz\_hd_fields::render_fields()
A
47 7 36
hdquiz\_hd_fields::render_image_toggle()
A
47 7 35
hdquiz\_hd_fields::render_tabs()
S
45 6 45
hdquiz\_hd_fields::createComponents()
S
51 7 30
_hdq_quiz::mapOld()
S
46 6 38
hdq_admin_init()
S
58 7 20
_hdq_settings::mapOld()
S
48 6 34
hdq_print_results_personality()
S
46 5 47
render_hdq_field_personality_results()
S
45 5 45
hdquiz\_hd_fields::render_select()
S
49 6 29
hdq_add_warning_to_quiz_tax()
S
61 7 13
hdq_get_answer_image_url()
S
51 6 26
_hdq_quiz::create()
S
48 5 35
hdq_tools_csv_importer()
S
45 3 61
hdq_user_permission()
S
59 6 15
hdq_can_build_quiz()
S
61 6 14
hdq_get_question_order()
S
60 6 13
_hdq_quiz::display()
S
50 5 28
_hdq_question::get()
S
52 5 25
_hdq_question::delete()
S
52 5 25
hdq_print_results_general()
S
48 4 40
hdquiz\_hd_fields::render_colour()
S
53 5 23
hdquiz\_hd_fields::render_gallery()
S
53 5 22
_hdq_csv_import_tool::getQuestionAnswers()
S
54 5 21
hdq_print_quiz_start()
S
56 5 17
hdquiz\_hd_sanitize::intval()
S
58 5 17
_hdq_csv_import_tool::validateMime()
S
56 5 17
hdquiz\_hd_sanitize::floatval()
S
58 5 17
hdq_disable_redirect_canonical()
S
59 5 16
hdquiz\_hd_fields::render_column()
S
57 5 16
_hdq_question::save()
S
50 4 29
hdq_check_editor()
S
61 5 13
hdq_main_page()
S
47 3 40
hdquiz\_hd_fields::render_image()
S
52 4 24
hdq_do_general_before()
S
54 4 22
hdquiz\_hd_fields::render_currency()
S
53 4 21
hdquiz\_hd_fields::render_search_list()
S
53 4 21
_hdq_question::getMapOldAnswers()
S
55 4 21
hdq_get_question_type()
S
57 4 17
hdq_print_question_title()
S
56 4 17
_hdq_quiz::getHeader()
S
49 3 32
_hdq_question::getTitle()
S
59 4 16
hdquiz\_hd_sanitize::text_field()
S
60 4 14
hdquiz\_hd_fields::get_attributes()
S
59 4 14
hdquiz\_hd_fields::get_label()
S
60 4 12
hdquiz\_hd_fields::get_values()
S
61 4 12
hdquiz\_hd_fields::render()
S
62 4 12
hdquiz\_hd_fields::render_editor()
S
52 3 23
_hdq_question::display()
S
54 3 21
hdq_check_for_updates()
S
56 3 19
_hdq_settings::decode()
S
55 3 18
hdq_save_question()
S
56 3 18
hdquiz\_hd_fields::render_website()
S
56 3 17
hdq_register_quizzes_page()
S
55 3 17
_hdq_csv_import_tool::formatQuestion()
S
50 2 31
_hdq_question::getHeader()
S
52 2 31
hdquiz\_hd_fields::render_textarea_code()
S
57 3 16
hdq_about_settings_page()
S
50 1 46
hdq_validate_nonce()
S
58 3 16
sanitize_hdq_field_personality_results()
S
59 3 15
_hdq_question::__construct()
S
58 3 15
hdquiz\_hd_fields::get_fix()
S
65 4 8
hdq_print_question_featured_image()
S
63 4 10
hdq_delete_question()
S
59 3 15
hdq_get_view_quiz()
S
60 3 14
hdq_load_hd_template()
S
59 3 14
_hdq_quiz::validateAccess()
S
60 3 13
_hdq_question::validateAccess()
S
60 3 13
hdq_get_view_question()
S
61 3 13
_hdq_question::getQuiz()
S
60 3 12
render_hdq_field_answers()
S
63 3 12
_hdq_csv_import_tool::validateNonce()
S
63 3 11
hdquiz\_hd_fields::render_heading()
S
61 3 11
hdq_add_warning()
S
100 1 40
hdq_create_settings_page()
S
52 2 23
_hdq_dashboard::fields()
S
50 1 37
hdq_print_finish_good()
S
61 2 18
hdquiz\_hd_sanitize::getComponents()
S
55 1 31
_hdq_csv_import_tool::upload()
S
57 2 16
hdq_print_results()
S
68 3 7
hdquiz\_hd_fields::get_value()
S
67 3 8
hdquiz\_hd_fields::get_tooltip()
S
67 3 7
_hdq_csv_import_tool::getQuizIdByName()
S
59 2 15
hdquiz\_hd_fields::getFields()
S
55 1 30
hdq_print_question_extra_text()
S
66 3 8
hdq_print_finish()
S
66 3 8
hdquiz\_hd_fields::get_required_label()
S
64 3 10
hdquiz\_hd_fields::render_integer()
S
58 2 14
hdquiz\_hd_fields::render_text()
S
58 2 14
hdquiz\_hd_fields::render_date()
S
59 2 14
hdquiz\_hd_fields::render_float()
S
58 2 14
_hdq_settings::save()
S
59 2 14
hdq_save_quiz()
S
59 2 14
hdquiz\_hd_fields::render_email()
S
58 2 14
hdquiz\_hd_fields::render_textarea()
S
59 2 13
hdq_regsiter_custom_post_type_questions()
S
51 1 27
hdquiz\_hd_sanitize::wp_kses()
S
53 1 27
_hdq_quiz::get()
S
62 2 11
_hdq_quiz::__construct()
S
62 2 11
hdq_delete_quiz()
S
63 2 11
_hdq_question::create()
S
52 1 24
hdq_regsiter_taxonomy_quizzes()
S
55 1 20
hdq_add_field_types()
S
58 1 18
hdq_plugin_links()
S
60 1 15
hdquiz\_hd_sanitize::currency()
S
72 2 6
hdquiz\_hd_fields::display()
S
68 2 8
_hdq_quiz::fields()
S
66 2 9
_hdq_question::getQuestionType()
S
66 2 8
_hdq_question::doesAnswerExist()
S
72 2 6
_hdq_csv_import_tool::validateExtension()
S
67 2 7
sanitize_hdq_field_question_order()
S
69 2 7
hdquiz\_hd_fields::sanitize()
S
69 2 7
str_contains()
S
78 2 3
hdq_get_settings()
S
66 2 9
hdq_get_content_filter()
S
69 2 7
hdq_print_quiz_in_loop()
S
65 2 9
hdq_print_next_button_wp_paginate()
S
64 2 10
_hdq_csv_import_tool::moveFile()
S
62 2 10
_hdq_settings::display()
S
63 2 9
hdquiz\_hd_sanitize::fields()
S
68 2 7
_hdq_csv_import_tool::validateUser()
S
70 2 6
hdquiz\_hd_fields::render_hidden()
S
64 2 9
hdquiz\_hd_fields::render_action()
S
67 2 8
_hdq_quiz::getTabs()
S
60 1 14
hdq_add_shortcode()
S
62 1 13
_hdq_dashboard::display()
S
61 1 12
hdq_do_personality_before()
S
64 1 11
_hdq_csv_import_tool::import()
S
62 1 11
hdq_create_quiz()
S
64 1 10
hdq_csv_import_question()
S
71 1 6
render_multiple_choice_image()
S
80 1 3
render_text_based_answer()
S
80 1 3
hdq_accept_csv()
S
71 1 6
hdq_deactivation()
S
82 1 3
_hdq_dashboard::settings()
S
76 1 4
render_select_all_apply_text()
S
80 1 3
hdq_rewrites_init()
S
75 1 4
_hdq_csv_import_tool::log()
S
77 1 4
hdq_ssl_message()
S
100 1 7
_hdq_dashboard::__construct()
S
79 1 4
create_block_hd_quiz_block_block_init()
S
80 1 3
render_select_all_apply_image()
S
80 1 3
_hdq_question::question_as_title()
S
79 1 3
_hdq_question::text_based_answer()
S
79 1 3
_hdq_question::multiple_choice_text()
S
79 1 3
_hdq_csv_import_tool::validateFileType()
S
73 1 6
hdquiz\_hd_sanitize::email_field()
S
80 1 3
_hdq_settings::__construct()
S
78 1 4
hdquiz\_hd_fields::render_field_not_found()
S
79 1 3
hdquiz\_hd_sanitize::url()
S
80 1 3
hdq_get_view_dashboard()
S
74 1 5
hdq_exists()
S
85 1 3
hdq_question_meta_notice()
S
83 1 3
hdq_settings_save()
S
64 1 10
render_question_as_title()
S
80 1 3
hdquiz\_hd_sanitize::textarea_code()
S
81 1 3
_hdq_question::multiple_choice_image()
S
79 1 3
_hdq_question::personality_multiple_choice_image()
S
79 1 3
render_multiple_choice_text()
S
80 1 3
hdquiz\_hd_fields::render_divider()
S
82 1 3
hdq_print_finish_button_wp_paginate()
S
72 1 7
hdq_encodeURIComponent()
S
73 1 4
hdq_load_translations()
S
78 1 3
hdquiz\_hd_sanitize::boolean()
S
80 1 3
render_hdq_field_question_order()
S
83 1 3
hdquiz\_hd_fields::__construct()
S
71 1 6
render_personality_multiple_choice_text()
S
80 1 3
hdquiz\_hd_fields::render_content()
S
80 1 3
hdquiz\_hd_sanitize::wp_kses_post()
S
71 1 6
_hdq_question::select_all_apply_text()
S
79 1 3
_hdq_csv_import_tool::__construct()
S
100 1 2
hdq_randomize_answer_order()
S
71 1 6
_hdq_question::personality_multiple_choice_text()
S
79 1 3
hdq_get_question()
S
72 1 5
hdq_get_quiz()
S
70 1 6
hdquiz\_hd_sanitize::textarea_field()
S
80 1 3
render_personality_multiple_choice_image()
S
80 1 3
hdquiz\_hd_sanitize::__construct()
S
71 1 6
_hdq_question::select_all_apply_image()
S
79 1 3
_hdq_dashboard::getHeader()
S
65 1 10
_hdq_settings::get()
S
68 1 7
hdq_cpt_question_meta_notice()
S
79 1 3