-
Home
-
YITH WooCommerce Product Add-Ons
-
2.18.0
-
Code
-
Classes
- YITH_WAPO_Cart
Total Complexity |
199 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
887 |
Lines of code |
595 |
Logical lines of code |
399 |
Comment lines |
169 |
Methods |
17 |
Properties |
1 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_item_data() |
D |
22 |
55 |
164 |
add_order_item_meta() |
D |
30 |
34 |
98 |
add_cart_item() |
D |
31 |
32 |
104 |
get_total_by_add_ons_list() |
B |
36 |
21 |
73 |
get_cart_wapo_options() |
A |
53 |
13 |
22 |
add_cart_item_data() |
S |
56 |
7 |
19 |
order_item_subtotal() |
S |
54 |
5 |
20 |
ywcpb_bundle_pip_bundled_items_subtotal() |
S |
61 |
5 |
12 |
__construct() |
S |
52 |
3 |
24 |
add_to_cart_text() |
S |
67 |
4 |
7 |
ywcpb_woocommerce_cart_item_price() |
S |
63 |
4 |
10 |
add_to_cart_validation() |
S |
69 |
4 |
6 |
cart_item_thumbnail() |
S |
65 |
3 |
9 |
get_cart_item_from_session() |
S |
64 |
3 |
10 |
add_to_cart_url() |
S |
67 |
2 |
8 |
get_total_add_ons_price() |
S |
69 |
2 |
6 |
get_instance() |
S |
78 |
2 |
3 |