-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.6.9
-
Code
-
Classes
- LP_User_Item_Quiz
Total Complexity |
132 |
Dependencies |
12 |
Dependents |
6 |
Total lines |
922 |
Lines of code |
488 |
Logical lines of code |
280 |
Comment lines |
276 |
Methods |
44 |
Properties |
3 |
Methods 44
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_quiz_result() |
B |
33 |
21 |
94 |
calculate_results() |
B |
36 |
21 |
78 |
instant_check_question() |
S |
50 |
6 |
29 |
get_result() |
S |
62 |
6 |
11 |
get_timestamp_remaining() |
S |
51 |
5 |
25 |
get_results() |
S |
56 |
5 |
17 |
get_attempts() |
S |
57 |
5 |
16 |
get_time_interval() |
S |
61 |
5 |
13 |
get_questions_answered() |
S |
61 |
4 |
13 |
get_question_answer() |
S |
62 |
4 |
11 |
can_check_answer() |
S |
62 |
4 |
11 |
hint() |
S |
58 |
3 |
16 |
get_status_label() |
S |
60 |
3 |
13 |
get_mark() |
S |
65 |
3 |
9 |
_parse_answers() |
S |
65 |
3 |
9 |
is_review_questions() |
S |
78 |
2 |
3 |
get_checked_questions() |
S |
66 |
2 |
9 |
is_answered_true() |
S |
68 |
2 |
7 |
get_hint_questions() |
S |
66 |
2 |
9 |
is_answered() |
S |
68 |
2 |
7 |
get_check_answer_count() |
S |
80 |
1 |
3 |
has_checked_question() |
S |
79 |
1 |
3 |
has_hinted_question() |
S |
79 |
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 |
add_checked_question() |
S |
68 |
1 |
7 |
__construct() |
S |
74 |
1 |
5 |
get_time_remaining() |
S |
74 |
1 |
4 |
get_quiz_mark() |
S |
76 |
1 |
4 |
get_total_questions() |
S |
73 |
1 |
5 |
get_percent_result() |
S |
76 |
1 |
3 |
is_passed() |
S |
81 |
1 |
3 |
_get_results() |
S |
80 |
1 |
3 |
get_option_answer() |
S |
91 |
1 |
2 |
get_questions() |
S |
71 |
1 |
5 |
get_graduation_text() |
S |
75 |
1 |
4 |
get_graduation() |
S |
77 |
1 |
3 |
get_course_id() |
S |
80 |
1 |
3 |
get_current_question() |
S |
74 |
1 |
4 |
get_quiz() |
S |
80 |
1 |
3 |
get_mysql_data() |
S |
74 |
1 |
4 |
is_skipped() |
S |
79 |
1 |
3 |