SWPSM_Custom_Woo_Templates B

Total Complexity 84
Dependencies 2
Dependents 1
Total lines 360
Lines of code 259
Logical lines of code 180
Comment lines 36
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
swpsm_custom_page_templates()
A
46 13 41
has_custom_sm_global_template()
A
51 11 26
inject_elementor_cart_content()
A
52 9 24
inject_elementor_checkout_content()
S
56 7 19
maybe_hook_into_woocommerce_pages()
S
58 7 14
swpsm_custom_single_product_template()
S
58 7 14
swpsm_get_elementor_product_content_from_template()
S
59 4 14
change_shop_template()
S
63 4 11
swpsm_elementor_shop_content_from_template()
S
61 3 13
__construct()
S
54 2 19
swpsm_elementor_cart_content_from_template()
S
67 2 8
swpsm_elementor_empty_cart_content_from_template()
S
67 2 8
swpsm_woo_elementor_before_checkout_content_from_template()
S
68 2 7
swpsm_woo_elementor_checkout_content_from_template()
S
67 2 8
swpsm_woo_elementor_myaccount_login_content_from_template()
S
67 2 8
swpsm_woo_elementor_myaccount_content_from_template()
S
67 2 8
swpsm_woo_elementor_checkout_thankyou_content_from_template()
S
67 2 8
get_instance()
S
71 2 6
swpsm_get_product_structured_data()
S
82 1 3