WC_Gateway_AfterPay_Factory C

Total Complexity 114
Dependencies 9
Dependents 7
Total lines 871
Lines of code 626
Logical lines of code 316
Comment lines 154
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
process_payment()
C
31 23 109
check_used_address()
B
40 16 56
is_available()
A
50 14 27
init_form_fields()
A
30 4 163
process_subscription_payment()
A
39 9 67
process_checkout_fields()
S
57 6 17
payment_fields()
S
57 5 19
get_afterpay_info()
S
52 4 24
get_afterpay_dob_field()
S
55 4 22
get_default_description_norway()
S
59 4 16
scheduled_subscription_payment()
S
58 4 16
get_formatted_payment_method_name()
S
59 4 16
get_default_description_sweden()
S
59 4 16
process_refund()
S
57 3 15
get_invoice_fee_price()
S
61 3 14
log()
S
65 3 9
__construct()
S
79 1 3
clear_afterpay_sessions()
S
68 1 8
afterpay_order_completed()
S
76 1 4
get_icon()
S
72 1 5