PMS_Subscription_Plan B

Total Complexity 79
Dependencies 0
Dependents 3
Total lines 493
Lines of code 176
Logical lines of code 121
Comment lines 160
Methods 16
Properties 22

Methods 16

Method Rating Maintainability Complexity Lines of code
init()
C
43 30 34
get_expiration_date()
A
49 9 28
duplicate()
A
47 8 31
get_trial_expiration_date()
S
62 5 11
__construct()
S
68 4 7
is_active()
S
71 3 6
has_sign_up_fee()
S
78 2 3
has_trial()
S
78 2 3
is_fixed_period_membership()
S
71 2 6
has_installments()
S
78 2 3
fixed_period_renewal_allowed()
S
71 2 6
activate()
S
64 2 10
deactivate()
S
64 2 10
remove()
S
71 2 6
is_valid()
S
71 2 6
get_user_role()
S
70 2 6