-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.2.2
-
Code
-
Classes
- LP_Abstract_User
| Total Complexity |
181 |
| Dependencies |
19 |
| Dependents |
3 |
| Total lines |
1,410 |
| Lines of code |
644 |
| Logical lines of code |
370 |
| Comment lines |
550 |
| Methods |
71 |
| Properties |
5 |
Methods 71
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_profile_socials() |
A |
48 |
8 |
36 |
| complete_lesson() |
S |
51 |
6 |
26 |
| hint() |
S |
54 |
6 |
22 |
| get_answer_results() |
S |
54 |
6 |
21 |
| __get() |
S |
54 |
6 |
20 |
| _get_course() |
S |
59 |
6 |
15 |
| __construct() |
S |
59 |
6 |
14 |
| finish_course() |
S |
53 |
5 |
23 |
| is() |
S |
60 |
5 |
12 |
| is_answered_question() |
S |
62 |
5 |
11 |
| get_course_data() |
S |
55 |
4 |
22 |
| has_completed_item() |
S |
57 |
4 |
17 |
| has_retake_quiz() |
S |
59 |
4 |
14 |
| get_item_status() |
S |
60 |
4 |
14 |
| get_course_status() |
S |
60 |
4 |
14 |
| get_item() |
S |
62 |
4 |
13 |
| get_item_archive() |
S |
62 |
4 |
12 |
| can_edit_item() |
S |
62 |
4 |
11 |
| get_order_status() |
S |
58 |
3 |
17 |
| get_item_grade() |
S |
62 |
3 |
11 |
| has_checked_question() |
S |
60 |
2 |
15 |
| _verify_course_item() |
S |
68 |
3 |
7 |
| has_course_status() |
S |
65 |
3 |
9 |
| has_checked_answer() |
S |
68 |
3 |
7 |
| has_hinted_answer() |
S |
68 |
3 |
7 |
| can_do_quiz() |
S |
64 |
3 |
9 |
| get_role() |
S |
78 |
3 |
3 |
| can() |
S |
60 |
2 |
12 |
| has() |
S |
60 |
2 |
12 |
| get() |
S |
61 |
2 |
11 |
| get_item_data() |
S |
67 |
2 |
8 |
| get_user_item() |
S |
67 |
2 |
8 |
| get_quiz_results() |
S |
74 |
2 |
4 |
| get_quiz_data() |
S |
67 |
2 |
8 |
| get_quiz_last_results() |
S |
68 |
2 |
7 |
| is_instructor() |
S |
74 |
2 |
4 |
| is_admin() |
S |
74 |
2 |
4 |
| can_create_course() |
S |
79 |
2 |
3 |
| has_passed_course() |
S |
75 |
2 |
4 |
| get_course_info() |
S |
69 |
2 |
7 |
| get_course_history_id() |
S |
74 |
2 |
4 |
| get_course_order() |
S |
65 |
2 |
9 |
| is_course_in_progress() |
S |
71 |
2 |
5 |
| is_completed_all_items() |
S |
65 |
2 |
9 |
| get_course_grade() |
S |
66 |
2 |
8 |
| is_guest() |
S |
78 |
2 |
3 |
| can_edit() |
S |
70 |
2 |
6 |
| has_quiz_status() |
S |
62 |
1 |
13 |
| get_quiz_by_question() |
S |
61 |
1 |
13 |
| has_item_status() |
S |
63 |
1 |
12 |
| load() |
S |
81 |
1 |
3 |
| get_quiz_status() |
S |
79 |
1 |
3 |
| get_lesson_status() |
S |
79 |
1 |
3 |
| has_role() |
S |
75 |
1 |
4 |
| can_finish_course() |
S |
75 |
1 |
4 |
| is_author_of() |
S |
78 |
1 |
3 |
| has_started_quiz() |
S |
69 |
1 |
6 |
| has_completed_lesson() |
S |
78 |
1 |
3 |
| get_course_remaining_time() |
S |
80 |
1 |
3 |
| get_roles() |
S |
80 |
1 |
3 |
| is_exists() |
S |
79 |
1 |
3 |
| is_logged_in() |
S |
80 |
1 |
3 |
| get_upload_profile_src() |
S |
79 |
1 |
3 |
| get_profile_picture() |
S |
79 |
1 |
3 |
| get_email() |
S |
79 |
1 |
3 |
| get_username() |
S |
79 |
1 |
3 |
| get_description() |
S |
79 |
1 |
3 |
| get_first_name() |
S |
79 |
1 |
3 |
| get_last_name() |
S |
79 |
1 |
3 |
| get_nickname() |
S |
79 |
1 |
3 |
| get_display_name() |
S |
79 |
1 |
3 |