myCRED_Hook_Learndash_Completing_Topic B

Total Complexity 97
Dependencies 2
Dependents 0
Total lines 634
Lines of code 447
Logical lines of code 173
Comment lines 23
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
topic_completed()
D
27
47 136
preferences()
B
28
13 186
sanitise_preferences()
A
49 17 27
specific_field_name()
S
53 7 22
mycred_specific_topic_for_users()
S
58 3 16
mycred_ld_get_term_ids()
S
73 3 4
topic_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