Code Analysis: Afterpay Gateway for WooCommerce 3.8.8

Most Complex Classes

Class Rating Complexity
WC_Gateway_Afterpay
D
419
Afterpay_Plugin
A
58
Afterpay_Plugin_Cron
S
39
WC_Gateway_Afterpay_Blocks_Support
S
12

Most Complex Functions

Function Rating Complexity
WC_Gateway_Afterpay::render_placement()
D
37
Afterpay_Plugin_Cron::update_payment_limits()
D
31
WC_Gateway_Afterpay::render_admin_notices()
C
25
WC_Gateway_Afterpay::fetch_express_shipping()
B
19
WC_Gateway_Afterpay::process_payment()
B
16
WC_Gateway_Afterpay::capture_payment()
B
16
WC_Gateway_Afterpay::generate_express_token()
B
14
WC_Gateway_Afterpay::integrityCheck()
A
12
WC_Gateway_Afterpay::is_product_supported()
A
13
WC_Gateway_Afterpay::init_user_agent()
A
12
Afterpay_Plugin::upgrade_complete()
A
12
WC_Gateway_Afterpay::collect_shipping_data()
A
10