Total Complexity | 44 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 324 |
Lines of code | 131 |
Logical lines of code | 81 |
Comment lines | 143 |
Methods | 15 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_session() | 51 | 12 | 25 | |
set_session_data() | 56 | 6 | 17 | |
maybe_get_order() | 58 | 5 | 16 | |
process_result() | 62 | 4 | 11 | |
update_session_data_in_wc() | 67 | 2 | 8 | |
clear_session_data_in_wc() | 68 | 2 | 8 | |
session_needs_update() | 68 | 2 | 7 | |
get_klarna_session_id() | 79 | 2 | 3 | |
get_klarna_client_token() | 79 | 2 | 3 | |
get_klarna_payment_method_categories() | 79 | 2 | 3 | |
get_session_cart_hash() | 60 | 1 | 14 | |
__construct() | 78 | 1 | 3 | |
get_session_order_hash() | 68 | 1 | 7 | |
get_klarna_session_data() | 82 | 1 | 3 | |
get_klarna_session_country() | 79 | 1 | 3 |