YITH_WAPO_Frontend D

Total Complexity 360
Dependencies 9
Dependents 1
Total lines 2,014
Lines of code 1,026
Logical lines of code 644
Comment lines 477
Methods 42
Properties 11

Methods 42

Method Rating Maintainability Complexity Lines of code
print_options()
D
24
45 137
get_item_data()
C
38 29 58
add_cart_item_data()
B
41 21 48
get_display_price()
B
42 19 48
re_add_cart_item_data()
B
44 18 38
enqueue_styles_scripts()
A
36 13 77
add_to_cart_validation()
A
45 15 39
__construct()
A
35 10 82
yith_wapo_update_variation_price()
A
46 13 37
yith_wapo_get_calculated_display_price()
A
47 13 32
get_cart_wapo_options()
A
53 13 22
order_items_meta_display()
A
49 12 31
cart_adjust_price()
A
50 12 25
order_item_meta()
A
51 11 23
check_conditional_options()
A
50 8 26
show_product_options()
A
52 8 23
ywsbs_order_formatted_line_subtotal()
S
57 8 14
cart_item_restored()
S
57 7 16
add_to_cart_url()
S
58 7 14
woocommerce_cart_item_quantity()
S
54 6 22
add_to_cart_text()
S
58 6 14
add_to_cart_sold_individually()
S
59 6 12
order_item_subtotal()
S
54 5 20
hide_remove_link()
S
63 6 10
ywcpb_bundle_pip_bundled_items_subtotal()
S
61 5 12
hide_price()
S
61 4 12
ywcpb_woocommerce_cart_item_price()
S
63 4 10
remove_items_from_cart()
S
63 4 9
get_total_by_add_ons_list()
S
64 4 9
print_single_group_type()
S
58 2 17
hide_thumbnail_name()
S
70 3 6
upload_dir()
S
59 2 15
yith_wapo_show_options_shortcode()
S
64 3 9
check_variable_product()
S
62 3 10
get_cart_item_from_session()
S
64 3 10
get_tooltip()
S
63 3 10
exclude_sold_individually()
S
70 3 6
add_cart_item()
S
70 2 7
enqueue_inline_styles_scripts()
S
72 1 5
get_total_add_ons_price()
S
72 1 5
wapo_add_body_class()
S
79 1 3
ywcpb_print_calculated_price()
S
78 1 3