WC_Gateway_Klarna_Payments B

Total Complexity 84
Dependencies 10
Dependents 2
Total lines 616
Lines of code 339
Logical lines of code 213
Comment lines 184
Methods 20
Properties 6

Methods 20

Method Rating Maintainability Complexity Lines of code
upsell_available()
A
48 14 32
country_currency_check()
A
47 10 32
process_checkout_order()
A
43 9 46
is_available()
A
53 8 24
process_blocks_order()
A
47 7 34
get_icon()
S
50 6 27
set_payment_method_title()
S
55 5 21
override_kp_payment_option()
S
60 5 13
process_payment()
S
64 4 10
get_settings_page_args()
S
60 3 13
__construct()
S
46 1 38
admin_options()
S
61 2 13
upsell()
S
62 2 11
address_notice()
S
74 2 5
init_form_fields()
S
80 1 3
settings_page_content()
S
73 1 5
payment_fields()
S
78 1 3
process_subscription()
S
80 1 3
notification_listener()
S
81 1 3
process_refund()
S
78 1 3