LLMS_Quiz_Attempt D

Total Complexity 131
Dependencies 10
Dependents 12
Total lines 998
Lines of code 400
Logical lines of code 245
Comment lines 420
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
get_count()
A
49 15 31
randomize_attempt_questions()
A
49 8 33
__construct()
A
58 9 15
delete()
S
50 7 28
get_next_question()
S
61 7 11
get_new_questions()
S
53 5 22
l10n()
S
61 5 12
get_previous_question()
S
62 5 11
do_completion_actions()
S
58 4 16
answer_question()
S
57 4 16
get_question_answer()
S
59 4 14
calculate_grade()
S
60 4 12
init()
S
54 3 21
can_be_resumed()
S
76 4 3
get_question_objects()
S
63 4 10
has_resume_attempt_time_expired()
S
59 3 14
get_siblings()
S
58 2 16
get_question()
S
65 3 8
get_date()
S
65 3 8
is_last_attempt()
S
66 3 8
is_auto_gradeable()
S
67 3 8
get_question_order()
S
66 3 8
get_time()
S
69 2 6
get_title()
S
70 2 5
get_first_question()
S
67 2 8
end()
S
65 2 9
get_permalink()
S
70 2 6
calculate_point_weight()
S
74 2 4
get_questions()
S
69 2 7
set_status()
S
68 2 7
get_student()
S
80 1 3
is_passing()
S
79 1 3
get_key()
S
80 1 3
set_questions()
S
78 1 3
start()
S
73 1 5
to_array()
S
82 1 3
get_quiz()
S
80 1 3