WCML_Product_Addons C

Total Complexity 119
Dependencies 9
Dependents 1
Total lines 659
Lines of code 386
Logical lines of code 204
Comment lines 138
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
custom_box_html_data()
A
48 12 31
translate_addons_strings()
S
51 7 23
product_addons_price_filter()
S
57 7 16
add_hooks()
S
45 5 44
custom_box_html()
S
51 6 24
update_custom_prices_values()
S
55 6 20
register_addons_strings()
S
55 6 17
addons_update()
S
56 6 16
load_assets()
S
62 7 9
is_global_addon_edit_page()
S
65 6 8
filter_booking_addon_product_in_cart_contents()
S
62 5 11
save_global_addon_prices_setting()
S
68 5 6
converted_addon_price()
S
58 4 15
update_multiple_options_prices()
S
61 4 11
get_prices_dialog_model()
S
55 3 18
set_global_ids_in_query_args()
S
57 3 16
is_product_custom_prices_on()
S
66 3 9
dialog_button_after_option_row()
S
71 3 5
get_global_addon_prices_status()
S
66 3 8
addons_product_terms()
S
69 2 6
update_single_option_prices()
S
69 2 6
dialog_button_before_options()
S
77 2 3
get_custom_prices_settings_model()
S
63 1 11
custom_prices_settings_block()
S
75 1 4
__construct()
S
73 1 5
get_twig_loader()
S
78 1 3
get_one_price_types()
S
69 1 8
render_edit_price_element()
S
75 1 4
load_dialog_resources()
S
77 1 3
replace_tm_editor_custom_fields_with_own_sections()
S
77 1 4
show_pointer_info()
S
66 1 8
inf_translate_strings()
S
66 1 8
get_product_addons()
S
78 1 3
is_multi_currency_on()
S
79 1 3