Code Analysis: Shop as Client for WooCommerce 6.2

Function Rating Maintainability Complexity Lines of code
shop_as_client_woocommerce_checkout_customer_id()
A
43 14 45
ShopAsClient_Extend_Store_Endpoint::process_order()
A
38 12 72
shop_as_client_is_our_checkout_order_received()
A
53 13 20
shop_as_client_woocommerce_account_settings()
A
36 2 115
shop_as_client_woocommerce_admin_order_data_after_order_details()
A
45 6 51
ShopAsClient_Extend_Store_Endpoint::store_api_update_callback()
A
53 8 20
shop_as_client_create_customer()
S
50 5 30
shop_as_client_can_checkout()
S
65 7 8
shop_as_client_woocommerce_checkout_update_order_meta()
S
60 6 12
ShopAsClient_Extend_Store_Endpoint::switch_customer_data()
S
60 5 13
shop_as_client_init_woocommerce_billing_fields()
S
47 3 37
shop_as_client_enqueue_scripts()
S
54 4 22
shop_as_client_woocommerce_checkout_process()
S
62 5 10
ShopAsClient_Checkout_Blocks::get_file_version()
S
70 4 6
ShopAsClient_Extend_Store_Endpoint::get_customer_data_by_order_id()
S
61 3 12
ShopAsClient_Extend_Store_Endpoint::get_customer_data_by_user_id()
S
61 3 12
ptwoo_simple_order_approval_nag()
S
50 1 41
ShopAsClient_Checkout_Blocks::register_block_frontend_scripts()
S
56 2 21
ShopAsClient_Checkout_Blocks::register_block_editor_scripts()
S
56 2 21
shop_as_client_checkout_order_received()
S
59 2 16
ShopAsClient_Checkout_Blocks::get_script_data()
S
62 1 11
ShopAsClient_Extend_Store_Endpoint::store_api_data_callback()
S
82 1 3
ShopAsClient_Extend_Store_Endpoint::restore_customer_data()
S
66 1 8
shop_as_client_init()
S
68 1 9
ShopAsClient_Checkout_Blocks::get_script_handles()
S
81 1 3
ShopAsClient_Extend_Store_Endpoint::get_name()
S
81 1 3
ShopAsClient_Checkout_Blocks::get_name()
S
82 1 3
shop_as_client_woocommerce_registration_generate_password()
S
83 1 3
ShopAsClient_Extend_Store_Endpoint::store_api_schema_callback()
S
82 1 3
ShopAsClient_Checkout_Blocks::get_editor_script_handles()
S
81 1 3
shop_as_client_default_checkout_billing_shop_as_client()
S
80 1 3
dismiss_ptwoo_simple_order_approval_nag()
S
70 1 6
ShopAsClient_Extend_Store_Endpoint::reset_session()
S
70 1 6
ShopAsClient_Checkout_Blocks::initialize()
S
78 1 4
ShopAsClient_Extend_Store_Endpoint::initialize()
S
66 1 9
shop_as_client_default_checkout_billing_shop_as_client_create_user()
S
80 1 3
shop_as_client_get_order_status()
S
80 1 3
shop_as_client_add_settings_link()
S
66 1 9