-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.6.7
-
Code
-
Classes
- LP_Abstract_User
| Total Complexity |
229 |
| Dependencies |
17 |
| Dependents |
3 |
| Total lines |
2,586 |
| Lines of code |
821 |
| Logical lines of code |
453 |
| Comment lines |
1,469 |
| Methods |
84 |
| Properties |
5 |
Methods 84
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_current_item() |
A |
47 |
11 |
36 |
| get_profile_socials() |
A |
48 |
8 |
36 |
| has_completed_item() |
A |
50 |
8 |
29 |
| maybe_update_item() |
A |
54 |
8 |
23 |
| complete_lesson() |
S |
49 |
7 |
30 |
| get_orders() |
S |
54 |
6 |
21 |
| get_answer_results() |
S |
54 |
6 |
21 |
| __get() |
S |
54 |
6 |
20 |
| _get_course() |
S |
59 |
6 |
15 |
| __construct() |
S |
59 |
6 |
14 |
| hint() |
S |
57 |
5 |
17 |
| is() |
S |
60 |
5 |
12 |
| get_course_remaining_time() |
S |
62 |
5 |
11 |
| is_answered_question() |
S |
62 |
5 |
11 |
| finish_course() |
S |
54 |
4 |
21 |
| get_course_data() |
S |
56 |
4 |
20 |
| get_current_question() |
S |
55 |
4 |
20 |
| has_retake_quiz() |
S |
59 |
4 |
14 |
| get_item_archive() |
S |
62 |
4 |
12 |
| can_edit_item() |
S |
62 |
4 |
11 |
| get_order_status() |
S |
58 |
3 |
17 |
| has_passed_course() |
S |
60 |
3 |
14 |
| get_course_status() |
S |
62 |
3 |
12 |
| can_do_quiz() |
S |
61 |
3 |
12 |
| get_item_grade() |
S |
62 |
3 |
11 |
| get_item_status() |
S |
62 |
3 |
11 |
| has_checked_question() |
S |
60 |
2 |
15 |
| _verify_course_item() |
S |
68 |
3 |
7 |
| get_item() |
S |
65 |
3 |
10 |
| can_check_answer() |
S |
64 |
3 |
10 |
| can_hint_answer() |
S |
66 |
3 |
9 |
| has_course_status() |
S |
65 |
3 |
9 |
| has_checked_answer() |
S |
68 |
3 |
7 |
| has_hinted_answer() |
S |
68 |
3 |
7 |
| 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 |
69 |
2 |
7 |
| 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 |
| 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 |
| evaluate_course_results() |
S |
74 |
2 |
4 |
| 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 |
| has_completed_quiz() |
S |
63 |
1 |
11 |
| load() |
S |
81 |
1 |
3 |
| get_quiz_status() |
S |
79 |
1 |
3 |
| get_lesson_status() |
S |
79 |
1 |
3 |
| get_prev_question() |
S |
78 |
1 |
3 |
| get_next_question() |
S |
78 |
1 |
3 |
| has_role() |
S |
75 |
1 |
4 |
| can_purchase_course() |
S |
82 |
1 |
3 |
| can_finish_course() |
S |
75 |
1 |
4 |
| get_completed_items() |
S |
75 |
1 |
4 |
| is_author_of() |
S |
78 |
1 |
3 |
| has_started_quiz() |
S |
69 |
1 |
6 |
| has_completed_lesson() |
S |
65 |
1 |
10 |
| get_course_info2() |
S |
75 |
1 |
4 |
| 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 |