Code Analysis: Upsell Cross-sell In Cart and Popup for EDD 0.1.3

Function Rating Maintainability Complexity Lines of code
thpeddup_save_meta_data()
B
39 22 63
thpeddup_show_upcross_items_at_checkout()
B
38 15 79
thpeddup_meta_box_content()
A
39 6 85
thpeddup_search_items_upcross()
A
48 7 35
thpeddup_render_popup()
S
53 7 22
thpeddup_promo_settings()
S
42 2 78
thpeddup_admin_scripts_enqueuing()
S
56 6 16
thpeddup_edduppro_is_active()
S
66 3 9
thpeddup_addtocart_btn_action()
S
64 3 10
thpeddup_edd_is_inactive()
S
66 3 9
thpeddup_requirement_check()
S
63 3 10
thpeddup_atc_btn_popup()
S
64 3 10
thpeddup_promo_admin_menu()
S
71 2 5
thpeddup_activation_check()
S
71 2 6
thpeddup_edd_setting_req_warning()
S
72 1 7
thpeddup_frontend_scripts_enqueuing()
S
63 1 10
thpeddup_dependency_warning()
S
72 1 7
thpeddup_add_meta_box()
S
66 1 10
thpeddup_prodpage_meta_box_setup()
S
75 1 4