WCJ_Product_Open_Pricing B

Total Complexity 99
Dependencies 1
Dependents 0
Total lines 551
Lines of code 333
Logical lines of code 170
Comment lines 189
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
add_open_price_to_cart_item_data()
B
43 17 42
add_open_price_input_field_to_frontend()
A
40 12 52
validate_open_price_on_add_to_cart()
A
45 10 39
get_open_price()
A
54 9 20
__construct()
A
42 7 48
save_meta_box_value()
S
51 6 25
is_purchasable()
S
62 5 11
admin_notices()
S
59 4 14
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_notice_query_var()
S
62 1 12
add_product_column_open_pricing()
S
75 1 4