Code Analysis: Booking Works 1.0.4

Function Rating Maintainability Complexity Lines of code
wpbw_book_confirm()
D
13
89 247
wpbw_woocommerce_before_single_product_inner()
D
20
45 238
wpbw_enqueue_scripts()
D
24
43 152
wpbw_draw_calendar()
D
25
36 137
wpbw_products_by_user()
C
27
26 155
wpbw_sales_by_user()
C
29
23 140
wpbw_my_products()
B
39 23 59
wpbw_add_child_shortcodes()
B
36 21 70
wpbw_actions()
B
40 20 57
wpbw_action_woocommerce_order_details_after_customer_details()
B
33 17 102
wpbw_update_chunks()
B
41 19 51
wpbw_checkout_order_processed()
B
39 18 64
wpbw_booking_users()
B
45 19 34
wpbw_header_scripts()
A
43 15 49
wpbw_get_actions_plus()
A
42 15 47
wpbw_woocommerce_before_single_product()
A
36 10 86
WP_CA_METABOX::html()
A
40 11 70
wpbw_generate_ticket_by_item()
A
40 12 54
wpbw_tracking()
A
44 12 44
wpbw_update_acf_fields()
A
44 12 42
wpbw_setup()
A
43 9 54
wpbw_get_pages()
A
46 9 39
wpbw_messages()
A
43 8 52
wpbw_account_menu_items()
A
47 9 33
wpbw_confirm_se()
A
44 8 47
wpbw_options_update()
A
50 9 30
wpbw_confirm_contract()
A
47 8 34
wpbw_booking_details()
A
44 7 47
wpbw_valid_user_allowed()
A
53 8 28
wpbw_get_actions()
A
50 8 27
wpbw_is_user_order()
A
51 8 26
wpbw_sanitize_bw_data()
A
56 8 17
wpbw_add_on_cart_callback()
S
52 7 23
wpbw_custom_woocommerce_product_add_to_cart_text()
S
53 6 25
wpbw_hours_selection()
S
47 5 36
wpbw_scripts_prior_lb_load()
S
58 6 14
wpbw_get_all_bookings()
S
49 5 28
wpbw_posting_post_status()
S
59 6 13
wpbw_filter_existing_booking_by()
S
62 6 11
wpbw_duration_text()
S
58 5 17
wpbw_admin_footer_scripts()
S
51 3 45
wpbw_duration_to_days()
S
59 5 15
WP_CA_METABOX::save()
S
57 5 15
wpbw_product_types()
S
52 4 28
wpbw_add_to_cart_url()
S
59 5 12
wpbw_show_ticket_thankyou_page()
S
48 3 36
wpbw_next_prev_ajax()
S
54 4 20
wpbw_recursive_unset()
S
64 5 10
wpbw_redirect_on_add_to_cart()
S
58 4 15
WP_CA_METABOX::get_product_add_on()
S
51 3 29
wpbw_email_to_admin()
S
60 4 14
wpbw_cart_has_renting()
S
59 4 14
wpbw_woo_in_cart()
S
61 4 12
WP_CA_METABOX::get_add_on_option_html()
S
54 3 23
wpbw_extra_user_profile_fields()
S
60 3 16
wpbw_remove_all_quantity_fields()
S
60 3 15
wpbw_valid_user()
S
64 4 9
wpbw_calendar_items()
S
58 3 15
wpbw_save_extra_user_profile_fields()
S
64 4 9
wpbw_add_tickte_print_link_thankyou()
S
57 3 14
wpbw_add_tickte_print_link()
S
59 3 13
wpbw_get_orders_by_product()
S
53 2 27
wpbw_get_end_dt()
S
54 2 20
wpbw_is_user_item()
S
68 3 7
wpbw_updates_required()
S
65 3 8
wpbw_options()
S
67 3 7
wpbw_woocommerce_before_checkout_form()
S
67 3 8
wpbw_plugins_to_hide()
S
64 3 10
wpbw_plugin_linx()
S
62 2 11
wpbw_footer_scripts()
S
66 1 19
wpbw_admin_header_scripts()
S
100 1 17
wpbw_get_the_content_by_id()
S
69 2 7
wpbw_pre()
S
74 2 5
wpbw_posting_fee_required_from_user()
S
74 2 4
wpbw_woo_endpoint_title()
S
72 2 6
wpbw_delete_user_item()
S
64 2 10
wpbw_settings()
S
68 2 7
wpbw_get_start_dt()
S
63 2 9
wpbw_hours_status()
S
79 2 3
WP_CA_METABOX::get_add_ons()
S
59 1 15
wpbw_next_prev()
S
61 1 12
wpbw_update_product_types()
S
75 1 4
wpbw_custom_single_add_to_cart_text()
S
80 1 3
wpbw_front_init()
S
79 1 4
wpbw_admin_menu()
S
72 1 5
wpbw_posting_fee_required()
S
79 1 3
wpbw_become_a_vendor()
S
68 1 7
wpbw_ns_add_product_extended()
S
69 1 7
wpbw_removing_customer_details_in_emails()
S
75 1 4
wpbw_calendars()
S
76 1 4
WP_CA_METABOX::add()
S
65 1 10
wpbw_underscore()
S
78 1 3
wpbw_to_text()
S
70 1 5
wpbw_pree()
S
75 1 5