-
Home
-
LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes
-
9.1.0 (latest)
-
Code
-
Classes
- LLMS_Access_Plan
| Total Complexity |
106 |
| Dependencies |
3 |
| Dependents |
9 |
| Total lines |
856 |
| Lines of code |
300 |
| Logical lines of code |
185 |
| Comment lines |
375 |
| Methods |
30 |
| Properties |
3 |
Methods 30
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_price_with_coupon() |
A |
44 |
16 |
40 |
| is_on_sale() |
A |
53 |
13 |
20 |
| get_checkout_url() |
A |
49 |
8 |
32 |
| calculate_redirection_url() |
A |
54 |
8 |
21 |
| get_enroll_text() |
S |
56 |
5 |
18 |
| is_available_to_user() |
S |
59 |
5 |
14 |
| get_schedule_details() |
S |
56 |
4 |
17 |
| get_initial_price() |
S |
59 |
4 |
14 |
| requires_payment() |
S |
61 |
4 |
11 |
| get_redirection_url() |
S |
63 |
4 |
9 |
| get_price() |
S |
61 |
3 |
12 |
| get_access_period_name() |
S |
69 |
3 |
6 |
| get_free_pricing_text() |
S |
64 |
3 |
9 |
| get_expiration_details() |
S |
62 |
3 |
10 |
| get_visibility() |
S |
71 |
3 |
5 |
| has_availability_restrictions() |
S |
77 |
3 |
3 |
| get_trial_details() |
S |
64 |
2 |
9 |
| has_free_checkout() |
S |
78 |
2 |
3 |
| has_trial() |
S |
68 |
2 |
7 |
| can_expire() |
S |
79 |
1 |
3 |
| get_creation_args() |
S |
68 |
1 |
8 |
| get_product() |
S |
80 |
1 |
3 |
| get_product_type() |
S |
74 |
1 |
4 |
| is_featured() |
S |
80 |
1 |
3 |
| is_free() |
S |
80 |
1 |
3 |
| is_visible() |
S |
80 |
1 |
3 |
| is_recurring() |
S |
79 |
1 |
3 |
| set_visibility() |
S |
79 |
1 |
3 |
| toArrayAfter() |
S |
76 |
1 |
4 |
| toArrayCustom() |
S |
82 |
1 |
3 |