Code Analysis: Poll 2.4.8

Function Rating Maintainability Complexity Lines of code
ts_poll_function::tsp_import_template()
D
0
10 3,305
ts_poll_function::__construct()
D
0
1 2,402
TS_Poll::ts_poll_content()
D
13
65 314
ts_poll_admin::tsp_get_field_html()
D
20
53 236
ts_poll_function::tsp_get_all_params()
D
22
37 196
ts_poll_admin::tsp_save_question()
D
22
33 212
TS_Poll::update_plugin()
C
25
21 172
TS_Poll::ts_poll_vote()
C
36 25 62
ts_poll_function::tsp_icon_swap()
B
38 22 72
ts_poll_admin::tsp_process_requests()
B
35 19 78
ts_poll_admin::ts_poll_dashboard_footer()
B
32 2 312
TS_Poll::tsp_vue_function()
B
38 18 60
ts_poll_admin::enqueue_scripts()
B
29 11 134
TS_Poll::ts_poll_render()
A
40 15 50
ts_poll_list_table::process_bulk_action()
A
49 11 29
ts_poll_admin::enqueue_styles()
A
39 7 74
ts_poll_function::tsp_get_sorted_answers()
A
48 8 32
ts_poll_list_table::column_default()
A
46 7 43
ts_poll_function::tsp_get_font_face()
A
52 8 28
ts_poll_admin::tspoll_push_notice()
A
45 6 48
ts_poll_admin::__construct()
S
51 7 22
TS_Poll::ts_poll_coming()
S
57 7 17
TS_Poll::ts_poll_end()
S
57 7 17
ts_poll_admin::tspoll_dismissed_notice()
S
58 7 13
ts_poll_admin::tsp_get_attachment_id()
S
53 6 21
ts_poll_admin::tsp_get_attachment_callback()
S
61 6 11
ts_poll_gutenberg_block::ts_poll_block_render_callback()
S
55 5 18
ts_poll_dashboard::ajax_response()
S
49 4 32
ts_poll_list_table::ts_get_polls()
S
57 5 14
ts_poll_widget::ts_poll_get_questions()
S
51 4 27
ts_poll_list_table::ts_poll_copy()
S
45 3 42
ts_poll_gutenberg_block::ts_poll_block_editor_scripts()
S
49 3 32
TS_Poll::__construct()
S
50 3 29
ts_poll_widget::widget()
S
59 4 13
ts_poll_dashboard::column_default()
S
60 4 12
ts_poll_function::tsp_icon_get_class_value()
S
64 3 11
ts_poll_widget::form()
S
59 2 15
ts_poll_loader::run()
S
66 3 8
TS_Poll::check_request_origin()
S
68 3 6
ts_poll_admin::ts_poll_admin_bar()
S
50 1 30
TS_Poll::ts_poll_rest_api_init()
S
53 1 28
ts_poll_list_table::ts_poll_confirm_modal()
S
58 1 27
ts_poll_gutenberg_block::ts_poll_register_block()
S
53 1 25
ts_poll_admin::tspoll_widget_inner()
S
57 1 21
ts_poll_dashboard::prepare_items()
S
57 1 17
ts_poll_function::tsp_get_theme_params()
S
69 2 7
ts_poll_gutenberg_block::__construct()
S
70 2 6
ts_poll_widget::update()
S
71 2 5
ts_poll_list_table::prepare_items()
S
60 1 14
ts_poll_list_table::ts_poll_delete()
S
62 1 13
ts_poll_admin::tspoll_dashboard_widget_register()
S
60 1 13
ts_poll_admin::tspoll_dashboard_update_callback()
S
61 1 13
ts_poll_list_table::get_columns()
S
61 1 12
TS_Poll::ts_poll_shortcode()
S
63 1 12
TS_Poll::load_dependencies()
S
62 1 11
ts_poll_admin::ts_poll_admin_menu()
S
62 1 11
ts_poll_admin::ts_poll_admin_sub()
S
63 1 11
ts_poll_activate::activate()
S
89 1 2
ts_poll_admin::ts_poll_addons_sub()
S
65 1 10
ts_poll_widget::__construct()
S
70 1 7
TS_Poll::ts_poll_activate_scripts()
S
62 1 10
ts_poll_dashboard::no_items()
S
80 1 3
TS_Poll::ts_sanitize_string()
S
73 1 5
ts_poll_list_table::__construct()
S
66 1 9
TS_Poll::run()
S
82 1 3
ts_poll_admin::screen_option()
S
64 1 10
TS_Poll::define_public_hooks()
S
65 1 9
ts_poll_admin::ts_poll_pro_sub()
S
65 1 10
ts_poll_dashboard::ts_poll_question_count()
S
72 1 5
ts_poll_admin::tsp_add_action_link()
S
70 1 5
ts_poll_loader::add_filter()
S
77 1 3
ts_poll_list_table::no_items()
S
80 1 3
ts_poll_deactivate::deactivate()
S
89 1 2
ts_poll_admin::get_ts_poll_pro()
S
82 1 3
ts_poll_dashboard::get_columns()
S
67 1 8
ts_poll_public::enqueue_scripts()
S
62 1 10
ts_poll_loader::__construct()
S
77 1 4
ts_poll_loader::add_action()
S
77 1 3
ts_poll_admin::set_screen()
S
81 1 3
ts_poll_list_table::ts_poll_nonce_field()
S
79 1 3
TS_Poll::get_loader()
S
82 1 3
ts_poll_dashboard::column_name()
S
65 1 7
ts_poll_dashboard::__construct()
S
66 1 9
ts_poll_gutenberg_block::ts_poll_get_all()
S
68 1 7
run_ts_poll()
S
77 1 4
ts_poll_admin::get_ts_poll_add_ons()
S
82 1 3
ts_poll_admin::tspoll_dashboard_fetch_callback()
S
77 1 4
ts_poll_list_table::get_sortable_columns()
S
69 1 7
deactivate_ts_poll()
S
76 1 4
ts_poll_admin::get_ts_poll_admin_polls()
S
82 1 3
activate_ts_poll()
S
76 1 4
ts_poll_dashboard::ts_get_polls()
S
69 1 6
ts_poll_register_widget()
S
82 1 3
ts_poll_list_table::ts_poll_question_count()
S
72 1 5
ts_poll_loader::add()
S
64 1 10
ts_poll_admin::ts_poll_builder_sub()
S
65 1 10
ts_poll_admin::get_ts_poll_builder()
S
82 1 3
ts_poll_public::enqueue_styles()
S
74 1 4
ts_poll_list_table::column_name()
S
61 1 10
ts_poll_public::__construct()
S
77 1 4
TS_Poll::get_version()
S
82 1 3
TS_Poll::get_plugin_name()
S
82 1 3
ts_poll_list_table::get_bulk_actions()
S
69 1 7
ts_poll_list_table::column_cb()
S
72 1 6
TS_Poll::tspoll_text_domain()
S
78 1 3
TS_Poll::define_admin_hooks()
S
63 1 10
ts_poll_function::tsp_get_all_fonts()
S
82 1 3
ts_poll_list_table::ts_poll_admin_notice()
S
78 1 3