Code Analysis: One Page Quick Checkout for WooCommerce 1.0.1

Function Rating Maintainability Complexity Lines of code
onepaquc_cart_dashboard()
D
11
7 1,049
onepaquc_should_display_button()
D
36 38 63
onepaquc_cart()
B
34 18 103
onepaquc_one_page_checkout_shortcode()
B
43 17 45
onepaquc_display_checkout_on_single_product()
A
43 14 44
onepaquc_cart_documentation()
A
100 1 224
onepaquc_add_checkout_button_to_add_to_cart_shortcode()
A
44 12 40
onepaquc_get_button_styling()
A
42 10 53
onepaquc_add_checkout_button()
A
47 11 33
onepaquc_refresh_checkout_product_list()
A
39 7 74
onepaquc_wc_checkout_block_register()
A
33 2 142
onepaquc_cart_custom_css()
A
53 8 24
onepaquc_render_button_with_icon()
A
55 8 19
onepaquc_wc_checkout_block_render()
S
34 1 118
onepaquc_cart_settings()
S
45 5 47
onepaquc_remove_required_checkout_fields()
S
59 6 15
onepaquc_rmenu_checkout()
S
57 5 19
onepaquc_add_button_css()
S
46 1 78
onepaquc_register_one_page_checkout_block()
S
44 2 51
onepaquc_get_cart_content()
S
59 4 13
onepaquc_modify_add_to_cart_button()
S
62 4 12
onepaquc_cart_text_change_form()
S
58 3 17
onepaquc_custom_quantity_input_on_checkout()
S
56 3 16
onepaquc_update_cart_item_quantity()
S
62 4 10
onepaquc_custom_woocommerce_checkout_text()
S
63 4 9
onepaquc_add_random_product_if_cart_empty()
S
60 3 14
onepaquc_cart_menu()
S
57 2 21
onepaquc_render_one_page_checkout_block()
S
70 3 5
onepaquc_handle_remove_cart_item()
S
64 3 9
onepaquc_rmenu_checkout_popup()
S
67 3 9
onepaquc_check_shortcode_and_enqueue_styles()
S
72 3 5
onepaquc_hide_add_to_cart_css()
S
69 2 12
onepaquc_cart_enqueue_scripts()
S
51 1 26
onepaquc_cart_shortcode()
S
60 1 16
onepaquc_custom_woocommerce_shipping_label()
S
78 2 3
onepaquc_sanitize_array_of_text()
S
71 2 6
onepaquc_add_checkout_inline_styles()
S
73 2 5
onepaquc_display_one_page_checkout_form()
S
67 2 9
onepaquc_add_product_image_to_checkout_cart_items()
S
65 2 8
onepaquc_reset_onepaquc_cart_settings()
S
65 2 9
onepaquc_cart_admin_styles()
S
64 2 9
onepaquc_save_one_page_checkout_option()
S
71 2 5
onepaquc_add_one_page_checkout_to_product_type_options()
S
62 1 11
onepaquc_get_page_parameter_from_current_url()
S
100 1 2
onepaquc_onpcheckout_heading()
S
68 1 7
onepaquc_block_categories()
S
66 1 9
onepaquc_clear_cart()
S
78 1 4
onepaquc_cart_notice()
S
100 1 2
onepaquc_update_checkout_form()
S
71 1 6
onepaquc_force_woocommerce_checkout_mode()
S
83 1 3
onepaquc_rmenu_fields()
S
63 1 10
onepaquc_editor_script()
S
66 1 9