Total Complexity | 34 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 95 |
Lines of code | 79 |
Logical lines of code | 40 |
Comment lines | 0 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_payment_token() | 55 | 9 | 17 | |
is_subscription() | 77 | 4 | 3 | |
validate_subscription_payment_meta() | 67 | 4 | 7 | |
__construct() | 58 | 3 | 14 | |
add_subscription_payment_meta() | 62 | 2 | 12 | |
is_pre_order() | 78 | 2 | 3 | |
process_payment() | 69 | 2 | 7 | |
process_pre_order_release_payment() | 73 | 2 | 4 | |
scheduled_subscription_payment() | 74 | 2 | 4 | |
delete_resubscribe_meta() | 75 | 2 | 4 | |
update_failing_payment_method() | 74 | 2 | 4 |