WRLD_Course_Time_Tracking D

Total Complexity 304
Dependencies 6
Dependents 2
Total lines 1,368
Lines of code 1,041
Logical lines of code 529
Comment lines 240
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
get_course_time_spent()
D
14
79 257
get_quiz_completion_time()
D
17
71 209
get_lesson_topic_time_spent()
D
27
45 115
get_modulewise_quiztime()
B
33 20 97
add_time_tracking_entry()
A
39 10 77
learndash_get_user_course_attempts_time_spent()
A
52 11 26
enqueue_tracking_script()
A
43 9 45
ldrp_seconds_to_time()
A
47 9 38
learndash_get_completed_timestamp()
A
50 9 29
learndash_get_user_quiz_attempts_time_spent()
S
57 7 16
save_lesson_completion_time()
S
58 3 14
save_topic_completion_time()
S
58 3 14
get_user_ip_address()
S
62 3 11
fetch_last_updated_activity()
S
62 3 11
fetch_user_course_completion_time_spent()
S
61 2 11
fetch_user_module_time_spent()
S
63 2 10
get_instance()
S
71 2 6
fetch_user_average_quiz_completion_time()
S
73 2 4
fetch_user_average_topic_completion_time()
S
73 2 4
fetch_user_average_lesson_completion_time()
S
73 2 4
fetch_user_course_time_spent()
S
63 2 10
fetch_last_updated_entry()
S
64 2 9
fetch_user_average_course_completion_time()
S
73 2 4
__construct()
S
91 1 2
save_quiz_completion_time()
S
74 1 4
save_completion_time()
S
69 1 6
init_hooks()
S
65 1 8