YITH_WAPO_Cart D

Total Complexity 357
Dependencies 7
Dependents 2
Total lines 1,544
Lines of code 970
Logical lines of code 659
Comment lines 287
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
get_item_data()
D
27
47 117
add_cart_item()
D
32 34 90
add_order_item_meta()
D
31 32 99
get_addon_value_on_cart()
C
36 26 65
calculate_addon_prices_on_cart()
C
38 26 58
get_total_by_add_ons_list()
C
35 24 75
add_cart_item_data()
B
44 20 40
add_to_cart_addons_validation()
B
39 17 62
update_addons_validation_on_cart()
B
39 17 62
reduce_addons_type_product_stock()
A
48 15 30
get_cart_wapo_options()
A
53 13 22
get_addon_price()
A
51 12 25
is_enough_stock_in_cart()
A
49 9 28
get_addon_data_name()
S
55 7 19
add_to_cart_validation()
S
65 8 7
order_item_subtotal()
S
54 5 20
get_addon_display_on_cart()
S
57 5 14
ywcpb_bundle_pip_bundled_items_subtotal()
S
61 5 12
get_cart_item_quantities()
S
62 5 11
__construct()
S
47 3 38
add_to_cart_text()
S
62 5 10
ywcpb_woocommerce_cart_item_price()
S
63 4 10
add_cart_item_data_order_again()
S
61 3 12
add_to_cart_url()
S
64 3 11
get_cart_item_from_session()
S
64 3 10
get_instance()
S
73 3 4
get_total_add_ons_price()
S
69 2 6
order_item_thumbnail()
S
69 2 7
cart_item_thumbnail()
S
70 2 6