KOM_Request A

Total Complexity 63
Dependencies 3
Dependents 0
Total lines 392
Lines of code 195
Logical lines of code 119
Comment lines 147
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
__construct()
S
67 2 7
get_request_headers()
S
65 2 10
get_api_url_base()
S
67 2 6
get_klarna_country()
S
72 2 5
get_klarna_order_id()
S
73 2 4
get_user_agent()
S
64 1 10
get_settings()
S
80 1 3
get_request_url()
S
100 1 0
get_body()
S
82 1 3
log_response()
S
74 1 4