WCJ_Product_Addons D

Total Complexity 193
Dependencies 0
Dependents 0
Total lines 929
Lines of code 643
Logical lines of code 342
Comment lines 251
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
add_addons_to_frontend()
D
27
36 137
add_addons_price_to_cart_item_data()
B
42 22 43
price_change_ajax()
B
44 18 38
get_product_addons()
A
39 13 64
__construct()
A
37 12 69
maybe_reduce_addons_qty()
A
45 12 41
maybe_convert_currency()
A
54 12 18
validate_on_add_to_cart()
A
51 11 24
import_enable_by_variation_meta()
S
55 7 18
add_info_to_order_item_name()
S
50 6 28
add_addons_price_to_cart_item()
S
57 6 16
format_addon_price()
S
56 5 19
format_meta_data()
S
52 4 23
enqueue_scripts()
S
53 4 22
replace_price_template_vars()
S
58 3 14
export_enable_by_variation_meta()
S
63 3 10
is_global_addon_visible()
S
67 3 7
add_info_to_order_item_meta()
S
63 3 10
change_price()
S
64 3 9
get_cart_item_addons_price_from_session()
S
71 2 6
hide_addons_in_admin_order()
S
64 2 10
add_info_to_order_item_meta_wc3()
S
72 2 5
add_info_to_cart_item_name()
S
79 1 3
clean_and_explode()
S
78 1 3
get_the_notice()
S
79 1 3
remove_empty_parenthesis()
S
79 1 3