Code Analysis: AfterPay Nordics for WooCommerce 1.0.4

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
21
WC_AfterPay_Process_Order_Lines::get_order_lines_from_order()
A
12
WC_Gateway_AfterPay_Factory::init_form_fields()
A
4
WC_Gateway_AfterPay_Factory::is_available()
A
14
WC_AfterPay_Request_Authorize_Payment::get_request_body()
A
11
WC_Gateway_AfterPay_Part_Payment::get_available_installment_plans()
A
10
WC_Gateway_AfterPay_Invoice::__construct()
A
7
WC_AfterPay_Pre_Check_Customer::customer_lookup_request()
A
10
WC_AfterPay_Process_Order_Lines::get_order_lines_from_cart()
A
10
WC_Gateway_AfterPay_Factory::process_subscription_payment()
A
9