WC_Gateway_Klarna_Payments B

Total Complexity 82
Dependencies 10
Dependents 2
Total lines 604
Lines of code 331
Logical lines of code 207
Comment lines 183
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
process_blocks_order()
A
47 7 34
is_available()
S
55 7 20
get_icon()
S
52 5 23
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
process_subscription()
S
80 1 3
init_form_fields()
S
80 1 3
payment_fields()
S
78 1 3
notification_listener()
S
81 1 3
process_refund()
S
78 1 3
settings_page_content()
S
73 1 5