YITH_WAPO_Cart D

Total Complexity 295
Dependencies 6
Dependents 2
Total lines 1,269
Lines of code 795
Logical lines of code 533
Comment lines 255
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
get_item_data()
D
28
45 113
add_cart_item()
D
32 33 88
add_order_item_meta()
C
32 30 88
get_addon_value_on_cart()
B
38 23 58
get_total_by_add_ons_list()
B
37 21 68
calculate_addon_prices_on_cart()
B
40 21 51
add_cart_item_data()
B
44 19 40
add_to_cart_addons_validation()
B
40 16 57
get_cart_wapo_options()
A
53 13 22
get_addon_price()
A
51 12 25
get_addon_data_name()
S
55 7 19
add_to_cart_validation()
S
66 8 7
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
__construct()
S
47 3 37
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_addon_display_on_cart()
S
71 3 4
get_cart_item_from_session()
S
64 3 10
get_total_add_ons_price()
S
69 2 6
order_item_thumbnail()
S
69 2 7
cart_item_thumbnail()
S
70 2 6
get_instance()
S
78 2 3