Code Analysis: Click to Chat 3.7.1

Function Rating Maintainability Complexity Lines of code
HT_CTC_Chat::chat()
D
14
72 240
HT_CTC_Admin_Woo_Page::ctc_woocommerce_cb()
D
17
49 293
HT_CTC_Chat_Shortcode::shortcode()
D
26
37 132
HT_CCW_Chat::chat()
D
30 31 115
CCW_Shortcode::shortcode()
D
25
27 173
HT_CTC_Share_Shortcode::shortcode()
C
30 26 114
HT_CTC_Group_Shortcode::shortcode()
C
31 24 103
HT_CTC_Share::share()
C
31 23 108
HT_CTC_Admin_Customize_Styles::ht_ctc_s3_1_cb()
C
29 18 179
HT_CTC_Admin_Customize_Styles::ht_ctc_s8_cb()
C
29
17 186
HT_CTC_Update_DB::v3_3_3_update_show_hide_group()
C
37 24 76
HT_CTC_Update_DB::v3_3_3_update_show_hide_share()
C
37 24 76
HT_CTC_Update_DB_Backup::v3_3_3_update_show_hide_chat()
C
37 24 76
HT_CTC_Update_DB_Backup::v3_3_3_update_show_hide_group()
C
37 24 76
HT_CTC_Update_DB_Backup::v3_3_3_update_show_hide_share()
C
37 24 76
HT_CTC_Update_DB::v3_3_3_update_show_hide_chat()
C
37 24 76
HT_CTC_Admin_Customize_Styles::ht_ctc_s7_cb()
B
31 17 155
HT_CTC_Admin_Other_Settings::ht_ctc_othersettings_cb()
B
29
14 193
HT_CTC_Group::group()
B
33 20 95
HT_CTC_Admin_Main_Page::options_sanitize()
B
43 23 42
HT_CTC_Admin_Customize_Styles::ht_ctc_s5_cb()
B
31 15 159
HT_CTC_Admin_Others::clear_cache()
B
43 22 45
HT_CTC_Admin_Customize_Styles::settings()
B
38 20 64
HT_CTC_WOO_Pages::shop_page_add_styles()
B
39 19 56
HT_CTC_WOO_Pages::add_styles()
B
41 19 48
HT_CTC_Admin_Customize_Styles::ht_ctc_s3_cb()
B
36 16 92
HT_CTC_Update_DB::v3_update()
B
41 18 58
HT_CTC_Admin_Woo_Page::options_sanitize()
B
48 20 28
HT_CTC_Admin_Customize_Styles::options_sanitize()
B
41 18 54
HT_CTC_Admin_Customize_Styles::ht_ctc_s6_cb()
B
40 15 75
HT_CTC_Admin_Customize_Styles::ht_ctc_s7_1_cb()
A
35 11 114
HT_CTC_Admin_Main_Page::ctc_notes_cb()
A
49 16 29
CCW_Admin_Page_Customize_Styles::ccw_style_2_cb()
A
42 13 68
CCW_Admin_Page::ccw_checkbox_cb()
A
37 8 139
HT_CTC_Hooks::other_settings()
A
47 15 33
HT_CTC_Admin_Customize_Styles::ht_ctc_s2_cb()
A
38 11 90
HT_CTC_MetaBox::display_meta_box()
A
39 11 78
HT_CTC_Admin_Other_Settings::ht_ctc_animations_cb()
A
36 9 100
HT_CTC_Admin_Group_Page::options_sanitize()
A
49 13 29
HT_CTC_Admin_Share_Page::options_sanitize()
A
49 13 29
HT_CTC_WOO_Pages::chat()
A
46 12 37
HT_CTC_MetaBox::save_meta_box()
A
47 12 35
CCW_Admin_Page::ccw_style_cb()
A
51 12 27
CCW_Admin_Page::ccw_style_mobile_cb()
A
52 12 24
HT_CTC_Admin_Other_Settings::ht_ctc_analytics_cb()
A
38 6 110
HT_CTC_Admin_Customize_Styles::ht_ctc_s4_cb()
A
41 8 76
HT_CTC_Admin_Customize_Styles::ht_ctc_s99_cb()
A
40 7 88
HT_CTC_Hooks::css_styles()
A
50 11 25
HT_CTC_Admin_Other_Settings::ht_ctc_webhooks_cb()
A
40 7 75
HT_CTC_Admin_Main_Page::number_cb()
A
42 7 68
HT_CTC_Admin_Others::admin_notice()
A
51 9 27
HT_CTC_DB::ht_ctc_chat_options()
A
46 8 38
HT_CTC_DB2::ht_ctc_group()
A
46 8 36
HT_CTC_DB2::ht_ctc_share()
A
46 8 36
CCW_Admin_Page_Customize_Styles::ccw_style_8_cb()
A
40 4 94
HT_CTC_Admin_Scripts::register_scripts_admin()
A
56 9 15
HT_CTC_Swift::to_switch()
A
47 7 38
CCW_Admin_Page::ccw_position_input_cb()
A
44 5 64
HT_CTC_Admin_Customize_Styles::ht_ctc_s1_cb()
S
42 4 73
CCW_Admin_Page_Customize_Styles::ccw_animations_cb()
S
46 5 57
CCW_Admin_Page_Customize_Styles::ht_ccw_fb_cb()
S
40 1 97
CCW_Admin_Page_Customize_Styles::ccw_style_7_cb()
S
43 1 92
HT_CTC_Admin_Other_Settings::options_sanitize()
S
56 6 17
CCW_Admin_Page_Customize_Styles::ccw_style_6_cb()
S
43 1 90
HT_CTC_Admin_Customize_Styles::ht_ctc_cs_cb()
S
52 5 25
HT_CTC_DB2::ht_ctc_s3()
S
53 5 23
CCW_Admin_Page_Customize_Styles::ccw_style_99_own_img_cb()
S
43 1 81
HT_CTC_Update_DB::ht_ctc_updatedb()
S
58 5 17
HT_CTC_Admin_Others::dequeue_scripts()
S
58 5 16
HT_CTC_Admin_Others::dequeue_styles()
S
58 5 16
ht_ctc_singlecolor()
S
58 5 14
CCW_Admin_Page::ccw_switch_cb()
S
50 3 43
HT_CTC_Scripts::register_scripts()
S
53 4 21
ht_ctc_style_3_1_svg()
S
55 4 20
CCW_Add_Styles_Scripts::ccw_register_files()
S
56 4 17
HT_CTC_IsMobile::is_mobile()
S
60 4 15
HT_CCW_IsMobile::is_mobile()
S
60 4 15
ht_ctc_woo_single_product_page_variables()
S
60 4 13
CCW_Admin_Page_Customize_Styles::ccw_options_sanitize_cs_cb()
S
62 4 12
CCW_Admin_Page::ccw_options_sanitize()
S
62 4 12
HT_CTC_WOO_Pages::woo_hooks()
S
61 4 11
HT_CTC_Register::uninstall()
S
54 3 22
CCW_Admin_Page_Customize_Styles::ht_ccw_ga_cb()
S
48 1 51
HT_CTC_Admin_Main_Page::settings_page()
S
53 2 34
HT_CTC_Admin_Woo_Page::settings_page()
S
54 2 34
HT_CTC_Admin_Other_Settings::settings_page()
S
54 2 33
HT_CTC_Admin_Others::admin_pro_notice_scripts()
S
54 1 48
HT_CTC_Update_DB_Backup::v3_3_3_update_woo()
S
58 3 16
HT_CTC_Update_DB::v3_3_3_update_woo()
S
58 3 16
ht_ctc_wp_encode_emoji()
S
67 4 8
ht_ctc_wp_encode_emoji()
S
67 4 8
HT_CTC_MetaBox::meta_box()
S
59 3 15
HT_CTC_WOO_Pages::call_add_styles()
S
70 4 7
CCW_Admin_Page::ccw_return_type_cb()
S
60 3 15
HT_CTC_DB::db()
S
60 3 14
HT_CTC_Main::enables()
S
61 3 13
CCW_Admin_Page::ccw_google_analytics_cb()
S
54 2 28
HT_CTC_Admin_Main_Page::ctc_webandapi_cb()
S
54 2 27
CCW_Admin_Page::ccw_fb_analytics_cb()
S
55 2 26
HT_CTC_Admin_Share_Page::share_ctc_webandapi_cb()
S
55 2 26
CCW_Add_Styles_Scripts_Admin::ccw_register_files_admin()
S
61 3 11
HT_CTC_Admin_Others::ctc_admin_pages()
S
62 3 11
CCW_Admin_Page_Customize_Styles::ccw_style_5_cb()
S
52 1 41
CCW_Admin_Page::ccw_app_first_cb()
S
56 2 25
HT_CTC_Admin_Group_Page::settings_page()
S
57 2 24
HT_CTC_Admin_Customize_Styles::settings_page()
S
57 2 24
HT_CTC_Admin_Share_Page::settings_page()
S
57 2 24
HT_CTC_DB2::db()
S
56 2 21
HT_CTC_DB2::ht_ctc_s8()
S
54 2 21
HT_CTC_DB2::ht_ctc_s3_1()
S
55 2 20
HT_CTC_DB2::ht_ctc_s7()
S
55 2 20
CCW_Admin_Page::ccw_custom_shortcode_cb()
S
57 2 20
HT_CTC_DB::ht_ctc_plugin_details()
S
56 2 19
HT_CTC_Admin_Other_Settings::menu()
S
57 2 19
CCW_Admin_Page_Customize_Styles::ccw_style_4_cb()
S
53 1 33
new_options()
S
57 2 17
HT_CTC_DB::ht_ctc_othersettings()
S
57 2 17
HT_CTC_Update_DB::v3_3_5_update()
S
57 2 17
HT_CTC_DB::ht_ctc_s2()
S
57 2 16
HT_CTC_Admin_Main_Page::prefilled_cb()
S
59 2 15
HT_CTC_WOO::woo_init()
S
65 3 9
HT_CTC_Register::version_check()
S
69 3 6
CCW_Admin_Page::ccw_enable_sc_cb()
S
61 2 15
HT_CCW_Admin_Others::admin_notice()
S
66 3 8
HT_CTC_Admin_Others::dequeue()
S
69 3 6
HT_CTC_Admin_Woo_Page::menu()
S
60 2 14
CCW_Admin_Page::ccw_enable_cb()
S
62 2 14
HT_CTC_Admin_Main_Page::options_cb()
S
64 2 14
HT_CTC::init()
S
60 2 14
HT_CTC_Admin_Share_Page::share_cta_cb()
S
61 2 13
HT_CTC_Admin_Group_Page::group_id_cb()
S
61 2 13
HT_CTC_Admin_Group_Page::group_cta_cb()
S
61 2 13
HT_CTC_Admin_Main_Page::cta_cb()
S
61 2 13
HT_CTC_Admin_Share_Page::share_text_cb()
S
61 2 13
HT_CCW::hooks()
S
61 2 11
CCW_Admin_Page::ccw_custom_settings()
S
51 1 23
CCW_Admin_Page_Customize_Styles::ccw_style_3_cb()
S
58 1 23
CCW_Admin_Page_Customize_Styles::ccw_style_9_cb()
S
58 1 23
CCW_Admin_Page_Customize_Styles::ccw_style_1_cb()
S
100 1 21
HT_CTC_Animations::zoomIn()
S
63 1 20
HT_CTC_Animations::bottomRight()
S
63 1 20
CCW_Admin_Page_Customize_Styles::customize_styles()
S
54 1 19
HT_CTC_DB2::ht_ctc_s5()
S
56 1 19
ht_ctc_style_2_svg()
S
60 1 16
HT_CTC_Update_DB_Backup::ht_ctc_updatedb()
S
66 2 9
HT_CCW_Register::version_check()
S
70 2 6
HT_CTC_Hooks::chat_settings()
S
68 2 7
HT_CTC_Register::activate()
S
69 2 6
HT_CTC_Register::plugin_action_links()
S
63 2 9
CCW_Admin_Menu::ccw_settings_page()
S
72 2 6
CCW_Admin_Menu::ccw_settings_page_two()
S
72 2 6
HT_CTC_Hooks::load_app_js_bottom()
S
72 2 6
HT_CCW_Register::activate()
S
69 2 6
HT_CTC::instance()
S
72 2 6
HT_CTC_Swift::define()
S
75 2 5
HT_CCW::includes()
S
65 2 10
HT_CCW::instance()
S
72 2 6
HT_CTC_Admin_Others::after_sanitize()
S
65 2 9
HT_CTC_DB2::ht_ctc_s7_1()
S
59 1 14
HT_CTC_Admin_Others::pro_notice()
S
100 1 14
ht_ctc_style_3_svg()
S
62 1 14
HT_CTC_DB2::ht_ctc_s99()
S
61 1 13
HT_CTC_DB2::ht_ctc_s4()
S
61 1 12
HT_CTC_Admin_Main_Page::settings()
S
59 1 12
CCW_Admin_Page::ccw_list_id_tohide_cb()
S
65 1 12
CCW_Admin_Page::ccw_list_cat_tohide_cb()
S
65 1 12
CCW_Admin_Page::ccw_group_id_cb()
S
65 1 12
CCW_Admin_Page::ccw_input_placeholder_cb()
S
65 1 12
CCW_Admin_Page::ccw_prefix_message_cb()
S
65 1 12
CCW_Admin_Page::ccw_number_input_cb()
S
65 1 12
HT_CTC_DB2::ht_ctc_s6()
S
63 1 11
HT_CTC_Admin_Customize_Styles::main_settings_section_cb()
S
75 1 11
HT_CTC_Admin_Others::admin_hooks()
S
62 1 11
HT_CTC_Admin_Main_Page::menu()
S
64 1 11
ctc_tiny_mce_toolbar_settings()
S
77 1 4
CCW_Shortcode::ccw_shortcodes_init()
S
74 1 4
HT_CTC_Register::deactivate()
S
89 1 2
HT_CTC_Admin_Group_Page::group_show_hide_cb()
S
70 1 6
HT_CTC::hooks()
S
69 1 6
HT_CCW::basic()
S
70 1 6
HT_CTC_DB2::ht_ctc_s1()
S
65 1 9
HT_CTC_Animations::bounce()
S
77 1 5
HT_CTC_Hooks::hooks()
S
68 1 7
HT_CTC_Admin_Others::__construct()
S
78 1 4
HT_CTC::basic()
S
77 1 4
HT_CTC_Admin_Group_Page::group_shortcode_cb()
S
76 1 5
HT_CTC_Group_Shortcode::shortcodes_init()
S
79 1 3
HT_CTC_Animations::entry()
S
72 1 6
HT_CTC_Hooks::__construct()
S
73 1 5
HT_CTC_Admin_Share_Page::menu()
S
66 1 10
HT_CTC_Admin_Main_Page::ctc_show_hide_cb()
S
70 1 6
HT_CCW::init()
S
80 1 3
HT_CCW_Register::deactivate()
S
89 1 2
HT_CTC_Admin_Share_Page::main_settings_section_cb()
S
72 1 6
HT_CTC_Admin_Group_Page::group_ctc_device_cb()
S
70 1 6
CCW_Admin_Menu::ccw_options_page()
S
66 1 10
HT_CTC_Admin_Group_Page::menu()
S
66 1 10
HT_CTC_Admin_Share_Page::settings()
S
61 1 10
HT_CTC_Main::__construct()
S
82 1 3
HT_CCW_IsMobile::php_is_mobile()
S
78 1 3
HT_CCW::__wakeup()
S
78 1 3
HT_CCW_Variables::__construct()
S
82 1 3
HT_CTC::__construct()
S
78 1 4
HT_CTC_Admin_Main_Page::chat_settings_section_cb()
S
75 1 6
HT_CTC_Values::chat_fn()
S
80 1 3
CCW_Admin_Page_Customize_Styles::ccw_settings_section_cs_cb()
S
83 1 3
HT_CTC_Update_DB_Backup::__construct()
S
82 1 3
HT_CCW::__clone()
S
78 1 3
ht_ccw()
S
82 1 3
HT_CTC_Admin_Group_Page::main_settings_section_cb()
S
75 1 6
HT_CTC_Values::__construct()
S
82 1 3
HT_CTC_Animations::flash()
S
77 1 5
HT_CCW_Chat::__construct()
S
82 1 3
HT_CTC_IsMobile::__construct()
S
81 1 3
HT_CTC_WOO::admin_page()
S
81 1 3
HT_CTC_Animations::pulse()
S
77 1 5
ctc_tinymce_add_font_sizes()
S
74 1 5
HT_CCW::__construct()
S
75 1 5
HT_CTC_IsMobile::php_is_mobile()
S
78 1 3
HT_CTC_Admin_Main_Page::ctc_device_cb()
S
70 1 6
HT_CTC_DB2::__construct()
S
82 1 3
HT_CTC_Animations::bounceIn()
S
77 1 5
HT_CTC_Admin_Other_Settings::main_settings_section_cb()
S
75 1 6
HT_CTC_Admin_Others::ifshareblank()
S
68 1 8
HT_CTC_DB2::ht_ctc_one_time()
S
67 1 8
HT_CCW_Chat::floating_device()
S
79 1 3
HT_CTC_Animations::heartbeat()
S
77 1 5
HT_CTC_Group::__construct()
S
91 1 2
HT_CTC_Animations::animations()
S
72 1 6
CCW_Admin_Page::ccw_settings_section()
S
83 1 3
HT_CTC_DB::__construct()
S
82 1 3
HT_CTC_Admin_Woo_Page::chat_settings_section_cb()
S
73 1 7
HT_CTC_Share_Shortcode::shortcodes_init()
S
79 1 3
HT_CTC_Admin_Others::ajax()
S
100 1 2
HT_CTC_WOO_Pages::__construct()
S
82 1 3
HT_CTC_Admin_Woo_Page::__construct()
S
82 1 3
HT_CTC_Animations::bounceInDown()
S
77 1 5
HT_CTC_Admin_Share_Page::share_shortcode_cb()
S
74 1 5
HT_CCW_Register::plugin_action_links()
S
69 1 6
HT_CTC_Admin_Group_Page::settings()
S
63 1 9
HT_CTC_Animations::bounceInUp()
S
77 1 5
HT_CTC_Update_DB::__construct()
S
82 1 3
HT_CTC_DB2::ht_ctc_woo_options()
S
65 1 9
HT_CTC_Swift::define_constants()
S
70 1 6
HT_CTC_Admin_Share_Page::share_ctc_device_cb()
S
70 1 6
HT_CTC_Hooks::comment()
S
76 1 4
HT_CTC_Admin_Customize_Styles::menu()
S
66 1 10
HT_CTC_Animations::flip()
S
77 1 5
HT_CTC_Animations::bounceInRight()
S
75 1 6
HT_CTC_WOO::__construct()
S
82 1 3
ht_ctc()
S
82 1 3
HT_CTC_Swift::__construct()
S
78 1 4
HT_CCW_Admin_Others::ifnumberblank()
S
72 1 8
HT_CCW_Register::uninstall()
S
89 1 2
HT_CTC_Admin_Others::ifgroupblank()
S
68 1 8
HT_CTC::__clone()
S
78 1 3
HT_CTC_Animations::center()
S
77 1 5
HT_CTC_Admin_Share_Page::share_show_hide_cb()
S
70 1 6
HT_CTC_Admin_Others::ifnumberblank()
S
67 1 9
HT_CCW_IsMobile::__construct()
S
81 1 3
ht_ctc_switch()
S
66 1 9
CCW_Admin_Menu::ccw_options_page_two()
S
66 1 10
HT_CTC_Share::__construct()
S
91 1 2
HT_CCW_Variables::get_option()
S
80 1 3
HT_CTC_Animations::bounceInLeft()
S
77 1 5
HT_CTC_Admin_Woo_Page::start()
S
75 1 4
HT_CTC_Admin_Woo_Page::settings()
S
70 1 5
HT_CTC::__wakeup()
S
78 1 3
HT_CTC_Register::version_changed()
S
76 1 4
HT_CTC_Animations::corner()
S
77 1 5
HT_CTC_Chat_Shortcode::shortcodes_init()
S
79 1 3
HT_CTC_Admin_Other_Settings::settings()
S
64 1 8
HT_CCW_Admin_Others::__construct()
S
82 1 3