-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.7.3
-
Code
-
Classes
- LP_User
| Total Complexity |
123 |
| Dependencies |
15 |
| Dependents |
11 |
| Total lines |
923 |
| Lines of code |
516 |
| Logical lines of code |
328 |
| Comment lines |
277 |
| Methods |
17 |
| Properties |
0 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| can_enroll_course() |
B |
41 |
19 |
53 |
| can_purchase_course() |
A |
41 |
14 |
54 |
| start_quiz() |
A |
41 |
13 |
58 |
| can_view_content_course() |
A |
42 |
12 |
57 |
| can_show_finish_course_btn() |
A |
45 |
11 |
43 |
| set_viewing_item() |
A |
50 |
8 |
30 |
| can_retry_course() |
A |
51 |
8 |
27 |
| can_view_item() |
S |
55 |
6 |
20 |
| finish_quiz() |
S |
53 |
5 |
23 |
| has_enrolled_course() |
S |
57 |
5 |
15 |
| get_instructor_statistic() |
S |
44 |
3 |
45 |
| has_enrolled_or_finished() |
S |
59 |
5 |
14 |
| get_user_quizzes() |
S |
52 |
4 |
23 |
| get_student_statistic() |
S |
49 |
3 |
31 |
| get_url_instructor() |
S |
58 |
3 |
15 |
| has_purchased_course() |
S |
74 |
2 |
4 |
| has_finished_course() |
S |
74 |
2 |
4 |