-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.0
-
Code
-
Classes
- LP_User
Total Complexity |
118 |
Dependencies |
13 |
Dependents |
12 |
Total lines |
783 |
Lines of code |
475 |
Logical lines of code |
277 |
Comment lines |
178 |
Methods |
15 |
Properties |
0 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
can_purchase_course() |
B |
40 |
18 |
63 |
start_quiz() |
A |
40 |
13 |
60 |
can_view_content_course() |
A |
42 |
12 |
57 |
can_enroll_course() |
A |
47 |
12 |
36 |
can_show_finish_course_btn() |
A |
45 |
11 |
43 |
retake_quiz() |
A |
43 |
7 |
56 |
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 |
has_enrolled_or_finished() |
S |
59 |
5 |
14 |
get_user_quizzes() |
S |
52 |
4 |
23 |
has_purchased_course() |
S |
74 |
2 |
4 |
has_finished_course() |
S |
74 |
2 |
4 |