Code Analysis: Afterpay Gateway for WooCommerce 3.8.5

Most Complex Classes

Class Rating Complexity
WC_Gateway_Afterpay
D
420
Afterpay_Plugin
A
56
Afterpay_Plugin_Cron
A
53
WC_Gateway_Afterpay_Blocks_Support
S
10

Most Complex Functions

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