Total Complexity | 40 |
Dependencies | 4 |
Dependents | 2 |
Total lines | 309 |
Lines of code | 228 |
Logical lines of code | 84 |
Comment lines | 44 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_payment_token() | 41 | 16 | 54 | |
use_token_from_request() | 52 | 8 | 23 | |
tokenization_payment_scripts() | 39 | 3 | 75 | |
get_customer_yoco_id() | 47 | 3 | 42 | |
order_must_use_saved_payment_method() | 60 | 3 | 14 | |
is_using_saved_payment_method() | 68 | 2 | 7 | |
maybe_delete_tokenization_meta() | 74 | 2 | 5 | |
get_yoco_payment_id_from_order() | 71 | 2 | 5 | |
maybe_save_payment_id_to_order() | 79 | 1 | 3 |