Code Analysis: AfterPay Nordics for WooCommerce 0.9.0

Most Complex Functions

Function Rating Complexity
init_wc_gateway_afterpay_factory_class()
D
1
WC_Gateway_AfterPay_Factory::process_payment()
C
23
WC_Gateway_AfterPay_Factory::check_used_address()
B
16
WC_AfterPay_Process_Order_Lines::get_order_lines_from_order()
A
12
WC_Gateway_AfterPay_Factory::is_available()
A
14
WC_AfterPay_Request_Authorize_Payment::get_request_body()
A
11
WC_Gateway_AfterPay_Factory::init_form_fields()
A
4
WC_AfterPay_Pre_Check_Customer::customer_lookup_request()
A
10
WC_Gateway_AfterPay_Part_Payment::get_available_installment_plans()
A
10
WC_AfterPay_Process_Order_Lines::get_order_lines_from_cart()
A
10
WC_Gateway_AfterPay_Factory::process_subscription_payment()
A
9
WC_AfterPay_Invoice_Fee::calculate_totals()
A
11