Code Analysis: Walley Checkout for WooCommerce 4.5.2

Most Complex Functions

Function Rating Complexity
Collector_Checkout_Create_Refund_Data::create_refund_data()
C
24
collector_wc_show_snippet()
B
19
Walley_Checkout::update_walley_order()
B
19
Walley_Checkout_Assets::localize_and_enqueue_checkout_script()
B
15
walley_confirm_order()
B
14
walley_set_order_status()
A
14
Walley_Checkout_Order_Management::activate_walley_order()
A
12
Walley_Checkout::update_shipping_method()
A
11
Walley_Subscription::cart_has_subscription()
A
13
Collector_Checkout_Templates::add_body_class()
A
12
Collector_Checkout_Requests_Initialize_Checkout::request_body()
A
10
Walley_Checkout_Request_Initialize_Checkout::get_body()
A
10