myCRED_Hook_Learndash_Completing_Course B

Total Complexity 89
Dependencies 2
Dependents 0
Total lines 529
Lines of code 423
Logical lines of code 164
Comment lines 21
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
course_completed()
D
28
40 123
preferences()
B
28
13 179
sanitise_preferences()
A
49 17 27
specific_field_name()
S
53 7 22
mycred_specific_course_for_users()
S
57 5 16
course_name()
S
61 2 13
mycred_learndash_arrange_data()
S
61 2 12
__construct()
S
57 1 18
run()
S
72 1 5
custom_limit()
S
67 1 8