-
Home
-
Klarna Order Management for WooCommerce
-
1.10.1 (latest)
-
Code
-
Classes
- KOM_Request
| Total Complexity |
66 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
399 |
| Lines of code |
201 |
| Logical lines of code |
123 |
| Comment lines |
148 |
| Methods |
19 |
| Properties |
7 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_auth_component() |
A |
49 |
8 |
29 |
| process_response() |
A |
52 |
8 |
22 |
| get_api_domain() |
S |
57 |
6 |
16 |
| get_klarna_api_region() |
S |
61 |
5 |
13 |
| calculate_auth() |
S |
59 |
5 |
13 |
| request() |
S |
63 |
5 |
9 |
| get_klarna_variant() |
S |
61 |
4 |
13 |
| use_playground() |
S |
62 |
4 |
11 |
| get_request_args() |
S |
57 |
3 |
17 |
| log_response() |
S |
62 |
4 |
10 |
| __construct() |
S |
67 |
2 |
7 |
| get_klarna_order_id() |
S |
73 |
2 |
4 |
| get_klarna_country() |
S |
72 |
2 |
5 |
| get_api_url_base() |
S |
67 |
2 |
6 |
| get_request_headers() |
S |
65 |
2 |
10 |
| get_settings() |
S |
80 |
1 |
3 |
| get_request_url() |
S |
100 |
1 |
0 |
| get_user_agent() |
S |
64 |
1 |
10 |
| get_body() |
S |
82 |
1 |
3 |