WCJ_Product_Bookings B

Total Complexity 98
Dependencies 2
Dependents 0
Total lines 548
Lines of code 317
Logical lines of code 161
Comment lines 197
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
add_input_fields_to_frontend()
A
46 13 33
validate_bookings_on_add_to_cart()
A
52 10 21
price_change_ajax()
A
55 9 16
add_bookings_price_to_cart_item_data()
S
53 7 21
__construct()
S
44 5 41
save_meta_box_value()
S
51 6 25
enqueue_scripts()
S
54 6 20
add_info_to_order_item_name()
S
56 5 17
change_price()
S
64 6 9
admin_notices()
S
58 4 15
add_per_day_label()
S
63 5 9
create_custom_style()
S
66 1 30
add_info_to_order_item_meta_wc3()
S
66 3 8
disable_add_to_cart_ajax()
S
70 3 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
get_cart_item_bookings_price_from_session()
S
70 2 6
add_info_to_order_item_meta()
S
68 2 7
add_notice_query_var()
S
62 1 12
add_info_to_cart_item_name()
S
79 1 3
is_bookings_product()
S
77 1 3