Sensei_Shortcode_User_Courses A

Total Complexity 58
Dependencies 8
Dependents 1
Total lines 697
Lines of code 353
Logical lines of code 135
Comment lines 227
Methods 20
Properties 9

Methods 20

Method Rating Maintainability Complexity Lines of code
__construct()
A
42 15 51
setup_course_query()
A
48 8 31
attach_shortcode_hooks()
A
50 8 26
print_course_toggle_actions_inline_script()
S
100 1 81
course_toggle_actions()
S
55 4 20
render()
S
50 3 30
detach_shortcode_hooks()
S
58 3 14
no_course_message_output()
S
62 1 16
active_no_course_message_output()
S
62 1 16
course_status_class_tagging()
S
67 2 8
attach_course_progress()
S
65 2 9
is_my_courses()
S
75 2 4
attach_course_buttons()
S
80 1 3
course_category()
S
70 1 6
add_course_details_wrapper_start()
S
82 1 3
add_course_details_wrapper_end()
S
82 1 3
completed_no_course_message_output()
S
68 1 10
get_filter_options()
S
66 1 8
should_filter_course_by_status()
S
69 1 8
render_login_form()
S
72 1 6