-
Home
-
Booking Addon for WooCommerce
-
4.2.1
-
Code
-
Classes
- MVVWB_Front_End
Total Complexity |
150 |
Dependencies |
11 |
Dependents |
0 |
Total lines |
1,002 |
Lines of code |
743 |
Logical lines of code |
333 |
Comment lines |
84 |
Methods |
36 |
Properties |
6 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_item_data() |
C |
36 |
23 |
81 |
before_calculate_totals() |
B |
39 |
15 |
65 |
check_cart_items() |
A |
43 |
14 |
46 |
enqueue_scripts() |
A |
42 |
9 |
51 |
add_to_cart_validation() |
A |
51 |
10 |
27 |
__construct() |
A |
33 |
1 |
142 |
submit_booking() |
A |
48 |
7 |
32 |
cart_item_removed() |
S |
55 |
5 |
21 |
bookings_endpoint() |
S |
48 |
4 |
36 |
product_purchasable_warning() |
S |
63 |
5 |
9 |
check_woocommerce_active() |
S |
62 |
4 |
12 |
init() |
S |
41 |
1 |
56 |
product_supports() |
S |
67 |
4 |
7 |
add_to_cart_quantity() |
S |
67 |
4 |
7 |
create_order_line_item() |
S |
66 |
4 |
7 |
add_to_cart_text() |
S |
62 |
3 |
12 |
account_menu_items() |
S |
63 |
3 |
11 |
before_add_to_cart_button() |
S |
57 |
2 |
16 |
product_class() |
S |
67 |
3 |
7 |
add_to_cart_url() |
S |
66 |
3 |
8 |
quantity_input_args() |
S |
66 |
3 |
8 |
is_sold_individually() |
S |
66 |
3 |
8 |
update_order_meta() |
S |
65 |
3 |
9 |
update_order_item() |
S |
59 |
2 |
14 |
instance() |
S |
71 |
2 |
6 |
isBookable() |
S |
74 |
2 |
4 |
cart_item_quantity() |
S |
70 |
2 |
6 |
include_gateway() |
S |
91 |
1 |
2 |
footer_scripts() |
S |
81 |
1 |
3 |
view() |
S |
75 |
1 |
4 |
add_query_vars() |
S |
77 |
1 |
4 |
conf_required_message() |
S |
91 |
1 |
2 |
enqueue_styles() |
S |
66 |
1 |
9 |
cancel_booking() |
S |
91 |
1 |
2 |
add_cart_message() |
S |
80 |
1 |
3 |
booking_display() |
S |
71 |
1 |
6 |