WCJ_Product_Open_Pricing B

Total Complexity 91
Dependencies 1
Dependents 0
Total lines 472
Lines of code 289
Logical lines of code 160
Comment lines 153
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
add_open_price_to_cart_item_data()
A
45 15 38
add_open_price_input_field_to_frontend()
A
42 10 47
get_open_price()
A
54 9 20
__construct()
A
43 7 44
validate_open_price_on_add_to_cart()
A
53 8 20
save_meta_box_value()
S
51 6 25
is_purchasable()
S
62 5 11
disable_add_to_cart_ajax()
S
70 3 6
render_product_column_open_pricing()
S
66 3 8
maybe_convert_price_currency()
S
66 3 8
add_price_info_to_loop()
S
60 2 12
hide_original_price()
S
79 2 3
add_open_price_to_cart_item()
S
71 2 6
get_cart_item_open_price_from_session()
S
71 2 6
wc_price_shop_currency()
S
73 2 4
hide_quantity_input_field()
S
79 2 3
add_to_cart_text()
S
78 2 3
admin_notices()
S
65 2 10
is_open_price_product()
S
73 2 4
add_to_cart_url()
S
78 2 3
add_product_column_open_pricing()
S
75 1 4
add_notice_query_var()
S
74 1 4