WCJ_Product_Open_Pricing C

Total Complexity 107
Dependencies 1
Dependents 0
Total lines 554
Lines of code 336
Logical lines of code 177
Comment lines 189
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
add_open_price_to_cart_item_data()
B
42 19 45
add_open_price_input_field_to_frontend()
A
40 14 54
validate_open_price_on_add_to_cart()
A
44 12 42
get_open_price()
A
54 9 20
__construct()
A
42 7 48
save_meta_box_value()
S
51 6 25
admin_notices()
S
57 6 17
is_purchasable()
S
62 5 11
maybe_convert_price_currency()
S
66 3 8
disable_add_to_cart_ajax()
S
70 3 6
render_product_column_open_pricing()
S
66 3 8
add_price_info_to_loop()
S
60 2 12
add_to_cart_text()
S
77 2 3
is_open_price_product()
S
73 2 4
hide_quantity_input_field()
S
79 2 3
hide_original_price()
S
79 2 3
wc_price_shop_currency()
S
73 2 4
get_cart_item_open_price_from_session()
S
70 2 6
add_open_price_to_cart_item()
S
71 2 6
add_to_cart_url()
S
78 2 3
add_product_column_open_pricing()
S
75 1 4
add_notice_query_var()
S
73 1 4