Code Analysis: Woocommerce Upsell Popup 1.6.0

Function Rating Maintainability Complexity Lines of code
thp_fire_php_include()
D
16
90 195
thp_wup_main_settings()
D
22
26 258
thp_wcproduct_save_upsell_meta()
D
37 35 56
thp_popup_form_action_single()
C
35 26 78
thp_wc_single_product_upsell_metabox()
B
33 17 119
thp_popup_form_action_mult()
A
42 14 49
thp_popup_form_action_ajax()
A
47 11 34
thp_popup_frontend_scripts()
A
44 10 46
thp_search_product_to_upsell()
S
48 5 34
thp_wup_main_settings_handler()
S
53 5 24
thp_popup_form_action_ajax_mult()
S
55 5 18
thp_wuppro_compatibility_check()
S
56 5 16
thp_upsell_backend_scripts()
S
55 4 17
thp_wuppro_version_check()
S
58 3 14
thp_wcproduct_add_upsell_meta_box()
S
56 2 22
thp_woocommerce_inactive()
S
66 3 9
thp_upsell_popup_trigger()
S
70 3 6
thp_wuppro_active()
S
66 3 9
thp_wc_upsell_activation_check()
S
71 2 6
thp_wc_upsell_dependency_check()
S
68 2 7
thp_wup_remove_action()
S
75 2 4
thp_format_wc_price()
S
70 1 6
thp_wcproduct_upsell_meta_box_setup()
S
75 1 4
thp_ajax_popup_trigger()
S
70 1 6
thp_wup_admin_settings_menu()
S
77 1 3
thp_wup_ajax_add_to_cart_handler()
S
79 1 4
thp_wc_upsell_dep_warning()
S
72 1 7