YITH_WAPO_Cart D

Total Complexity 367
Dependencies 7
Dependents 2
Total lines 1,536
Lines of code 955
Logical lines of code 664
Comment lines 297
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
get_item_data()
D
26
51 115
add_order_item_meta()
D
30 35 96
get_addons_totals_in_cart()
D
35 33 66
get_addon_value_on_cart()
C
35 28 71
get_total_by_add_ons_list()
C
36 24 71
add_to_cart_addons_validation()
B
38 19 62
calculate_addon_prices_on_cart()
B
39 19 58
add_cart_item_data()
B
44 20 40
update_addons_validation_on_cart()
B
39 17 62
reduce_addons_type_product_stock()
A
46 16 34
get_cart_wapo_options()
A
53 13 22
get_addon_price()
A
51 12 25
is_enough_stock_in_cart()
A
49 9 28
add_cart_item()
A
51 8 24
get_addon_data_name()
S
55 7 19
add_to_cart_validation()
S
65 8 7
get_addon_display_on_cart()
S
58 6 13
order_item_subtotal()
S
54 5 20
ywcpb_bundle_pip_bundled_items_subtotal()
S
61 5 12
get_cart_item_quantities()
S
62 5 11
add_cart_item_data_order_again()
S
58 4 16
add_to_cart_text()
S
62 5 10
__construct()
S
49 3 29
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