Total Complexity | 71 |
Dependencies | 10 |
Dependents | 0 |
Total lines | 655 |
Lines of code | 350 |
Logical lines of code | 245 |
Comment lines | 122 |
Methods | 9 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_stripe_subscriptions() | 24 | 139 | ||
create_non_subscription_product_price_data() | 38 | 17 | 70 | |
process_payment() | 45 | 9 | 42 | |
cancel_stripe_subscription() | 50 | 9 | 28 | |
update_stripe_subscription() | 53 | 6 | 24 | |
create_price_data() | 60 | 2 | 13 | |
__construct() | 54 | 1 | 23 | |
get_instance() | 72 | 2 | 6 | |
check_for_subscription_webhook() | 74 | 1 | 5 |