-
Home
-
Klarna Checkout for WooCommerce
-
2.6.1
-
Code
-
Classes
- KCO_Gateway
Total Complexity |
86 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
627 |
Lines of code |
409 |
Logical lines of code |
184 |
Comment lines |
145 |
Methods |
21 |
Properties |
0 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
enqueue_scripts() |
B |
36 |
15 |
71 |
process_payment_handler() |
A |
48 |
9 |
32 |
add_body_class() |
A |
55 |
8 |
19 |
is_available() |
S |
58 |
8 |
15 |
admin_enqueue_scripts() |
S |
50 |
7 |
28 |
show_thank_you_snippet() |
S |
57 |
6 |
17 |
check_if_eu() |
S |
43 |
2 |
55 |
process_payment() |
S |
53 |
3 |
25 |
__construct() |
S |
43 |
1 |
49 |
add_billing_org_nr() |
S |
60 |
3 |
14 |
add_billing_reference() |
S |
60 |
3 |
14 |
add_shipping_reference() |
S |
60 |
3 |
14 |
prefill_consent() |
S |
66 |
3 |
8 |
admin_footer_text() |
S |
67 |
3 |
7 |
receipt_page() |
S |
69 |
3 |
6 |
maybe_change_needs_payment() |
S |
66 |
3 |
9 |
address_notice() |
S |
69 |
2 |
7 |
admin_options() |
S |
68 |
1 |
8 |
get_icon() |
S |
72 |
1 |
5 |
init_form_fields() |
S |
80 |
1 |
3 |
process_refund() |
S |
78 |
1 |
3 |