Total Complexity | 29 |
Dependencies | 5 |
Dependents | 6 |
Total lines | 198 |
Lines of code | 93 |
Logical lines of code | 54 |
Comment lines | 82 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_initial_subscription_transaction_id() | 59 | 3 | 15 | |
get_subscription_id() | 62 | 3 | 12 | |
get_subscriptions_for_renewal_order() | 68 | 3 | 7 | |
cart_contains_switches() | 70 | 3 | 6 | |
process_recurring_response() | 62 | 2 | 11 | |
is_renewal() | 71 | 2 | 6 | |
plugin_is_active() | 78 | 2 | 3 | |
cart_contains_failed_renewal_order_payment() | 71 | 2 | 6 | |
cart_contains_renewal() | 71 | 2 | 6 | |
get_subscriptions_for_order() | 71 | 2 | 6 | |
activate_subscriptions_for_order() | 71 | 2 | 6 | |
is_subscription() | 71 | 2 | 6 | |
get_parent_order() | 80 | 1 | 3 |