-
Home
-
Klarna Order Management for WooCommerce
-
1.7.0
-
Code
-
Classes
- KOM_Request
Total Complexity |
53 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
348 |
Lines of code |
180 |
Logical lines of code |
107 |
Comment lines |
125 |
Methods |
17 |
Properties |
6 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_auth_component() |
A |
49 |
8 |
30 |
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 |
__construct() |
S |
69 |
2 |
6 |
get_request_headers() |
S |
65 |
2 |
10 |
request() |
S |
65 |
2 |
9 |
get_api_url_base() |
S |
71 |
2 |
5 |
get_klarna_country() |
S |
68 |
2 |
7 |
get_klarna_order_id() |
S |
69 |
2 |
7 |
get_user_agent() |
S |
64 |
1 |
10 |
get_request_url() |
S |
100 |
1 |
0 |
get_body() |
S |
82 |
1 |
3 |
log_response() |
S |
74 |
1 |
4 |