-
Home
-
Klarna for WooCommerce
-
2.11.5
-
Code
-
Classes
- WC_Gateway_Klarna_Payments
| Total Complexity |
53 |
| Dependencies |
7 |
| Dependents |
2 |
| Total lines |
440 |
| Lines of code |
258 |
| Logical lines of code |
167 |
| Comment lines |
128 |
| Methods |
17 |
| Properties |
1 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| enqueue_scripts() |
A |
41 |
8 |
54 |
| is_available() |
S |
55 |
7 |
20 |
| get_icon() |
S |
52 |
5 |
23 |
| set_payment_method_title() |
S |
55 |
5 |
21 |
| country_currency_check() |
S |
55 |
4 |
19 |
| create_session_request() |
S |
55 |
4 |
19 |
| admin_enqueue_scripts() |
S |
58 |
4 |
16 |
| update_session_request() |
S |
57 |
3 |
16 |
| override_kp_payment_option() |
S |
64 |
4 |
10 |
| __construct() |
S |
52 |
1 |
23 |
| address_notice() |
S |
74 |
2 |
5 |
| process_payment() |
S |
61 |
1 |
12 |
| init_form_fields() |
S |
80 |
1 |
3 |
| admin_options() |
S |
68 |
1 |
8 |
| payment_fields() |
S |
78 |
1 |
3 |
| notification_listener() |
S |
81 |
1 |
3 |
| process_refund() |
S |
78 |
1 |
3 |