-
Home
-
LearnPress – WordPress LMS Plugin
-
4.0.7
-
Code
-
Classes
- LP_User_Item_Quiz
| Total Complexity |
104 |
| Dependencies |
10 |
| Dependents |
5 |
| Total lines |
700 |
| Lines of code |
381 |
| Logical lines of code |
213 |
| Comment lines |
188 |
| Methods |
45 |
| Properties |
1 |
Methods 45
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| calculate_results() |
B |
37 |
19 |
69 |
| add_question_answer() |
S |
51 |
6 |
27 |
| get_results() |
S |
54 |
6 |
20 |
| get_attempts() |
S |
57 |
6 |
16 |
| get_time_interval() |
S |
61 |
4 |
13 |
| get_questions_answered() |
S |
61 |
4 |
13 |
| get_question_answer() |
S |
62 |
4 |
11 |
| check_question() |
S |
57 |
3 |
17 |
| hint() |
S |
58 |
3 |
16 |
| get_status_label() |
S |
60 |
3 |
13 |
| _parse_answers() |
S |
65 |
3 |
9 |
| get_mark() |
S |
65 |
3 |
9 |
| get_questions() |
S |
66 |
2 |
8 |
| is_answered() |
S |
68 |
2 |
7 |
| is_answered_true() |
S |
68 |
2 |
7 |
| get_checked_questions() |
S |
66 |
2 |
9 |
| can_check_answer() |
S |
66 |
2 |
8 |
| get_hint_questions() |
S |
66 |
2 |
9 |
| is_review_questions() |
S |
78 |
2 |
3 |
| __construct() |
S |
74 |
1 |
5 |
| update() |
S |
73 |
1 |
5 |
| get_mysql_data() |
S |
74 |
1 |
4 |
| get_quiz() |
S |
80 |
1 |
3 |
| get_current_question() |
S |
74 |
1 |
4 |
| get_course_id() |
S |
80 |
1 |
3 |
| get_result() |
S |
79 |
1 |
3 |
| get_graduation() |
S |
77 |
1 |
3 |
| get_graduation_text() |
S |
75 |
1 |
4 |
| _get_results() |
S |
80 |
1 |
3 |
| is_passed() |
S |
81 |
1 |
3 |
| get_percent_result() |
S |
76 |
1 |
3 |
| is_skipped() |
S |
79 |
1 |
3 |
| get_total_questions() |
S |
73 |
1 |
5 |
| get_quiz_mark() |
S |
76 |
1 |
4 |
| get_time_remaining() |
S |
74 |
1 |
4 |
| add_checked_question() |
S |
68 |
1 |
7 |
| has_checked_question() |
S |
79 |
1 |
3 |
| has_hinted_question() |
S |
79 |
1 |
3 |
| get_check_answer_count() |
S |
80 |
1 |
3 |
| get_retaken_count() |
S |
79 |
1 |
3 |
| update_retake_count() |
S |
73 |
1 |
5 |
| get_count_hint() |
S |
80 |
1 |
3 |
| can_hint_answer() |
S |
78 |
1 |
3 |
| complete() |
S |
77 |
1 |
4 |
| finish() |
S |
75 |
1 |
4 |