Total Complexity | 66 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 433 |
Lines of code | 241 |
Logical lines of code | 160 |
Comment lines | 115 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
process_redirect_payment() | 32 | 25 | 95 | |
capture_payment() | 37 | 17 | 77 | |
prevent_cancelling_orders_awaiting_action() | 60 | 7 | 12 | |
woocommerce_tracks_event_properties() | 56 | 5 | 19 | |
maybe_process_legacy_redirect() | 66 | 5 | 7 | |
cancel_payment() | 64 | 3 | 10 | |
maybe_process_redirect_order() | 67 | 2 | 8 | |
__construct() | 63 | 1 | 10 | |
get_instance() | 80 | 1 | 3 |