-
Home
-
Paid Membership Subscriptions – Effortless Memberships, Recurring Payments & Content Restriction
-
2.10.8
-
Code
-
Classes
- PMS_Subscription_Plan
| Total Complexity |
69 |
| Dependencies |
0 |
| Dependents |
3 |
| Total lines |
459 |
| Lines of code |
165 |
| Logical lines of code |
113 |
| Comment lines |
150 |
| Methods |
15 |
| Properties |
17 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| init() |
B |
46 |
23 |
29 |
| get_expiration_date() |
A |
49 |
9 |
30 |
| duplicate() |
S |
49 |
7 |
26 |
| 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 |
| 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 |