WRLD_Course_Time_Tracking D

Total Complexity 377
Dependencies 6
Dependents 2
Total lines 2,698
Lines of code 2,121
Logical lines of code 937
Comment lines 356
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
get_quiz_completion_time()
D
8
81 445
get_course_time_spent()
D
10
43 507
get_course_time_spent_csv()
D
17
42 264
get_lesson_topic_time_spent()
D
27
47 118
get_modulewise_quiztime()
B
33 21 98
get_course_time_details()
B
34 22 77
add_time_tracking_entry()
B
32 12 131
add_ts_entry_course_user_enroll()
A
43 10 50
learndash_get_user_course_attempts_time_spent()
A
52 11 26
enqueue_tracking_script()
A
43 9 45
createTimeSpentEntryForUser()
A
42 8 59
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_topic_completion_time()
S
58 3 14
save_lesson_completion_time()
S
58 3 14
set_course_time_spent_filter()
S
51 2 27
get_user_ip_address()
S
62 3 11
wrld_get_user_course_group_id()
S
63 3 11
fetch_last_updated_activity()
S
62 3 11
fetch_last_updated_time_spent()
S
62 3 11
wrld_update_completion_time_spent()
S
53 2 26
fetch_user_course_completion_time_spent()
S
61 2 11
get_instance()
S
71 2 6
fetch_user_module_time_spent()
S
63 2 10
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_average_course_completion_time()
S
73 2 4
fetch_last_updated_time_spent_entry()
S
64 2 9
fetch_last_updated_entry()
S
64 2 9
fetch_user_course_time_spent()
S
63 2 10
__construct()
S
91 1 2
save_quiz_completion_time()
S
74 1 4
save_completion_time()
S
67 1 7
init_hooks()
S
64 1 9