PMPro_Subscription D

Total Complexity 162
Dependencies 4
Dependents 17
Total lines 1,362
Lines of code 663
Logical lines of code 394
Comment lines 531
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
37 17 74
create()
A
49 10 31
cancel_at_gateway()
A
43 7 44
format_subscription_date()
A
55 8 20
__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
60 4 14
__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
65 2 8
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