Total Complexity | 33 |
Dependencies | 6 |
Dependents | 15 |
Total lines | 197 |
Lines of code | 92 |
Logical lines of code | 51 |
Comment lines | 71 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_subscription() | 56 | 6 | 19 | |
get_subscription_id() | 59 | 5 | 14 | |
get_subscriptions_for_renewal_order() | 68 | 3 | 7 | |
cart_contains_switches() | 70 | 3 | 6 | |
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 | |
order_contains_early_renewal() | 71 | 2 | 6 | |
get_subscriptions_for_order() | 70 | 2 | 6 | |
get_last_subscription_for_order() | 68 | 2 | 7 | |
is_subscription() | 71 | 2 | 6 |