Code Analysis: Shop as Client for WooCommerce 3.6.1

Function Rating Maintainability Complexity Lines of code
ShopAsClient_Extend_Store_Endpoint::process_order()
A
38 11 72
shop_as_client_is_our_checkout_order_received()
A
54 13 18
shop_as_client_woocommerce_checkout_customer_id()
A
47 11 34
shop_as_client_woocommerce_account_settings()
A
36 2 116
shop_as_client_woocommerce_admin_order_data_after_order_details()
A
47 7 41
ShopAsClient_Extend_Store_Endpoint::store_api_update_callback()
A
53 8 20
shop_as_client_woocommerce_checkout_update_order_meta()
S
59 6 14
shop_as_client_create_customer()
S
51 5 27
shop_as_client_init_woocommerce_billing_fields()
S
49 3 33
shop_as_client_enqueue_scripts()
S
56 4 18
shop_as_client_woocommerce_checkout_process()
S
65 5 9
ShopAsClient_Checkout_Blocks::get_file_version()
S
70 4 6
ShopAsClient_Extend_Store_Endpoint::switch_customer_data()
S
63 4 10
ptwoo_simple_order_approval_nag()
S
51 1 39
ShopAsClient_Checkout_Blocks::register_block_frontend_scripts()
S
56 2 21
ShopAsClient_Checkout_Blocks::register_block_editor_scripts()
S
56 2 21
ShopAsClient_Extend_Store_Endpoint::get_customer_data_by_user_id()
S
63 3 10
shop_as_client_checkout_order_received()
S
60 2 15
shop_as_client_can_checkout()
S
77 3 3
ShopAsClient_Extend_Store_Endpoint::get_customer_data_by_order_id()
S
63 3 10
ShopAsClient_Checkout_Blocks::get_script_data()
S
62 1 11
ShopAsClient_Extend_Store_Endpoint::restore_customer_data()
S
66 1 8
ShopAsClient_Checkout_Blocks::get_name()
S
82 1 3
ShopAsClient_Extend_Store_Endpoint::initialize()
S
66 1 9
ShopAsClient_Extend_Store_Endpoint::store_api_schema_callback()
S
82 1 3
ShopAsClient_Extend_Store_Endpoint::get_name()
S
81 1 3
ShopAsClient_Checkout_Blocks::get_script_handles()
S
81 1 3
shop_as_client_init()
S
76 1 4
ShopAsClient_Checkout_Blocks::get_editor_script_handles()
S
81 1 3
shop_as_client_add_settings_link()
S
66 1 9
shop_as_client_default_checkout_billing_shop_as_client_create_user()
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_Extend_Store_Endpoint::store_api_data_callback()
S
82 1 3
ShopAsClient_Checkout_Blocks::initialize()
S
78 1 4
shop_as_client_woocommerce_registration_generate_password()
S
83 1 3
shop_as_client_get_order_status()
S
80 1 3
shop_as_client_default_checkout_billing_shop_as_client()
S
80 1 3