WRLD_Course_Time_Tracking D

Total Complexity 150
Dependencies 4
Dependents 1
Total lines 921
Lines of code 691
Logical lines of code 345
Comment lines 158
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
get_quiz_completion_time()
D
22
45 201
get_course_time_spent()
D
22
40 205
add_time_tracking_entry()
A
38 11 78
learndash_get_user_course_attempts_time_spent()
A
52 11 26
get_modulewise_quiztime()
A
42 9 53
ldrp_seconds_to_time()
A
47 9 38
learndash_get_user_quiz_attempts_time_spent()
S
57 7 16
enqueue_tracking_script()
S
53 4 22
fetch_last_updated_activity()
S
61 3 12
get_user_ip_address()
S
62 3 11
get_instance()
S
71 2 6
fetch_last_updated_entry()
S
64 2 9
fetch_user_course_time_spent()
S
63 2 10
__construct()
S
91 1 2
init_hooks()
S
91 1 2