KP_Session S

Total Complexity 47
Dependencies 4
Dependents 1
Total lines 340
Lines of code 139
Logical lines of code 88
Comment lines 148
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
get_session()
A
50 13 26
maybe_get_order()
S
56 6 19
set_session_data()
S
55 6 18
process_result()
S
61 4 12
get_session_cart_hash()
S
57 2 16
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
__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