WCJ_Product_Bookings B

Total Complexity 86
Dependencies 1
Dependents 0
Total lines 525
Lines of code 301
Logical lines of code 150
Comment lines 190
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
add_input_fields_to_frontend()
A
47 10 31
validate_bookings_on_add_to_cart()
S
54 7 20
price_change_ajax()
S
58 7 13
__construct()
S
44 5 41
save_meta_box_value()
S
51 6 25
enqueue_scripts()
S
54 6 20
add_bookings_price_to_cart_item_data()
S
54 5 20
add_info_to_order_item_name()
S
56 5 17
change_price()
S
64 6 9
add_per_day_label()
S
63 5 9
add_info_to_order_item_meta_wc3()
S
66 3 8
disable_add_to_cart_ajax()
S
70 3 6
create_custom_style()
S
66 1 30
admin_notices()
S
61 2 14
add_info_to_order_item_meta()
S
68 2 7
get_cart_item_bookings_price_from_session()
S
70 2 6
add_to_cart_text()
S
77 2 3
add_bookings_price_to_cart_item()
S
71 2 6
sold_individually()
S
79 2 3
add_to_cart_url()
S
78 2 3
add_info_to_cart_item_name()
S
79 1 3
add_notice_query_var()
S
74 1 4
is_bookings_product()
S
77 1 3