PMPro_Subscription D

Total Complexity 161
Dependencies 4
Dependents 16
Total lines 1,331
Lines of code 653
Logical lines of code 390
Comment lines 513
Methods 22
Properties 18

Methods 22

Method Rating Maintainability Complexity Lines of code
get_subscriptions()
D
27
36 151
get_orders()
B
36 19 79
maybe_fix_default_migration_data()
B
38 19 64
save()
B
38 17 69
create()
A
49 10 31
cancel_at_gateway()
A
43 7 44
format_subscription_date()
S
57 7 17
__construct()
S
51 6 30
set()
S
58 6 16
get_subscription()
S
56 5 19
get_subscriptions_for_user()
S
57 5 18
get_gateway_object()
S
61 4 13
__call()
S
53 3 25
update()
S
56 3 18
get_initial_payment()
S
59 3 15
billing_limit_reached()
S
63 2 11
get_subscription_from_subscription_transaction_id()
S
63 2 11
get_cost_text()
S
67 2 7
update_subscription_for_order()
S
71 2 6
get_startdate()
S
79 1 3
get_next_payment_date()
S
79 1 3
get_enddate()
S
79 1 3