WCJ_Product_Open_Pricing B

Total Complexity 91
Dependencies 1
Dependents 0
Total lines 538
Lines of code 320
Logical lines of code 165
Comment lines 187
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
add_open_price_to_cart_item_data()
A
44 15 41
add_open_price_input_field_to_frontend()
A
41 10 50
validate_open_price_on_add_to_cart()
A
47 8 38
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
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
admin_notices()
S
62 2 13
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