myCRED_Hook_Learndash_Completing_Quiz C

Total Complexity 106
Dependencies 2
Dependents 0
Total lines 635
Lines of code 453
Logical lines of code 177
Comment lines 19
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
quiz_completed()
D
27
48 130
preferences()
B
28
13 180
sanitise_preferences()
A
49 17 27
specific_field_name()
S
53 7 22
mycred_learndash_quiz_arrange_data()
S
58 4 16
mycred_ld_get_post_id()
S
62 4 13
mycred_specific_quiz_for_users()
S
58 3 16
run()
S
68 3 6
mycred_ld_get_term_ids()
S
73 3 4
quiz_name()
S
61 2 13
__construct()
S
57 1 18
custom_limit()
S
67 1 8