-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.2.2
-
Code
-
Classes
- LP_User_Item_Quiz
Total Complexity |
128 |
Dependencies |
12 |
Dependents |
6 |
Total lines |
894 |
Lines of code |
476 |
Logical lines of code |
275 |
Comment lines |
268 |
Methods |
41 |
Properties |
3 |
Methods 41
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculate_quiz_result() |
B |
33 |
21 |
94 |
calculate_results() |
B |
36 |
20 |
74 |
instant_check_question() |
S |
50 |
6 |
29 |
get_timestamp_remaining() |
S |
50 |
5 |
27 |
get_result() |
S |
62 |
6 |
11 |
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 |
_parse_answers() |
S |
65 |
3 |
9 |
get_mark() |
S |
65 |
3 |
9 |
get_checked_questions() |
S |
66 |
2 |
9 |
get_hint_questions() |
S |
66 |
2 |
9 |
is_answered_true() |
S |
68 |
2 |
7 |
is_review_questions() |
S |
78 |
2 |
3 |
is_answered() |
S |
68 |
2 |
7 |
is_skipped() |
S |
79 |
1 |
3 |
get_course_id() |
S |
80 |
1 |
3 |
can_hint_answer() |
S |
78 |
1 |
3 |
get_count_hint() |
S |
80 |
1 |
3 |
get_mysql_data() |
S |
74 |
1 |
4 |
update_retake_count() |
S |
73 |
1 |
5 |
get_retaken_count() |
S |
79 |
1 |
3 |
get_quiz() |
S |
80 |
1 |
3 |
get_check_answer_count() |
S |
80 |
1 |
3 |
has_hinted_question() |
S |
79 |
1 |
3 |
get_graduation_text() |
S |
75 |
1 |
4 |
get_percent_result() |
S |
76 |
1 |
3 |
has_checked_question() |
S |
79 |
1 |
3 |
add_checked_question() |
S |
68 |
1 |
7 |
get_questions() |
S |
71 |
1 |
5 |
get_time_remaining() |
S |
80 |
1 |
3 |
get_quiz_mark() |
S |
76 |
1 |
4 |
get_total_questions() |
S |
70 |
1 |
6 |
get_option_answer() |
S |
91 |
1 |
2 |
_get_results() |
S |
80 |
1 |
3 |
__construct() |
S |
74 |
1 |
5 |