-
Home
-
Klarna Order Management for WooCommerce
-
1.9.2
-
Code
-
Classes
- KOM_Request
| Total Complexity |
56 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
360 |
| Lines of code |
180 |
| Logical lines of code |
107 |
| Comment lines |
135 |
| Methods |
18 |
| Properties |
7 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_auth_component() |
A |
49 |
8 |
31 |
| process_response() |
A |
52 |
8 |
22 |
| get_klarna_api_region() |
S |
61 |
5 |
13 |
| calculate_auth() |
S |
59 |
5 |
13 |
| get_klarna_variant() |
S |
61 |
4 |
13 |
| use_playground() |
S |
62 |
4 |
11 |
| get_request_args() |
S |
57 |
3 |
17 |
| request() |
S |
64 |
4 |
9 |
| __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 |
71 |
2 |
5 |
| 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 |
| log_response() |
S |
74 |
1 |
4 |