WCJ_Product_Bookings B

Total Complexity 86
Dependencies 1
Dependents 0
Total lines 473
Lines of code 292
Logical lines of code 149
Comment lines 149
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
57 6 15
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
100 1 30
add_info_to_order_item_meta()
S
68 2 7
get_cart_item_bookings_price_from_session()
S
71 2 6
add_to_cart_text()
S
78 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
admin_notices()
S
65 2 10
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