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