WC_Gateway_AfterPay_Factory C

Total Complexity 125
Dependencies 9
Dependents 7
Total lines 921
Lines of code 669
Logical lines of code 337
Comment lines 159
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
process_payment()
C
31 23 109
check_used_address()
B
39 21 56
init_form_fields()
A
29 4 182
is_available()
A
50 14 27
process_subscription_payment()
A
40 9 67
payment_fields()
S
55 6 22
process_checkout_fields()
S
57 6 17
get_afterpay_info()
S
50 5 29
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_denmark()
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