WCJ_Product_Addons D

Total Complexity 183
Dependencies 0
Dependents 0
Total lines 846
Lines of code 592
Logical lines of code 329
Comment lines 220
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
add_addons_to_frontend()
D
30 32 108
add_addons_price_to_cart_item_data()
B
44 20 39
price_change_ajax()
A
45 16 36
get_product_addons()
A
39 13 62
__construct()
A
38 12 63
maybe_reduce_addons_qty()
A
45 12 39
maybe_convert_currency()
A
54 12 18
validate_on_add_to_cart()
A
53 9 22
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
55 4 18
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
65 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
73 2 5
add_info_to_cart_item_name()
S
79 1 3
clean_and_explode()
S
78 1 3
get_the_notice()
S
80 1 3
remove_empty_parenthesis()
S
79 1 3