Total Complexity | 43 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 290 |
Lines of code | 123 |
Logical lines of code | 70 |
Comment lines | 89 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybe_render_subscription_payment_method() | 53 | 10 | 20 | |
request_access_code() | 56 | 6 | 16 | |
validate_subscription_payment_meta() | 61 | 6 | 11 | |
process_subscription_payment() | 62 | 3 | 11 | |
get_subscriptions_from_order() | 67 | 3 | 9 | |
set_token_customer_id() | 65 | 3 | 9 | |
get_token_customer_id() | 66 | 2 | 8 | |
order_contains_subscription() | 78 | 2 | 3 | |
is_subscription() | 69 | 2 | 7 | |
scheduled_subscription_payment() | 69 | 2 | 6 | |
update_failing_payment_method() | 73 | 2 | 4 | |
add_subscription_payment_meta() | 63 | 1 | 11 | |
__construct() | 65 | 1 | 8 |