KP_Session S

Total Complexity 42
Dependencies 3
Dependents 1
Total lines 319
Lines of code 126
Logical lines of code 79
Comment lines 143
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
get_session()
A
52 10 25
set_session_data()
S
56 6 17
maybe_get_order()
S
58 5 16
process_result()
S
62 4 11
update_session_data_in_wc()
S
68 2 7
clear_session_data_in_wc()
S
69 2 7
session_needs_update()
S
68 2 7
get_klarna_session_id()
S
79 2 3
get_klarna_client_token()
S
79 2 3
get_klarna_payment_method_categories()
S
79 2 3
get_session_cart_hash()
S
62 1 11
__construct()
S
78 1 3
get_session_order_hash()
S
68 1 7
get_klarna_session_data()
S
82 1 3
get_klarna_session_country()
S
79 1 3