KP_Session S

Total Complexity 45
Dependencies 4
Dependents 1
Total lines 334
Lines of code 134
Logical lines of code 84
Comment lines 148
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
get_session()
A
50 13 26
set_session_data()
S
55 6 18
maybe_get_order()
S
58 5 16
process_result()
S
61 4 12
update_session_data_in_wc()
S
67 2 8
clear_session_data_in_wc()
S
68 2 8
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
60 1 14
__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