LP_REST_Courses_Controller A

Total Complexity 70
Dependencies 23
Dependents 1
Total lines 676
Lines of code 482
Logical lines of code 263
Comment lines 103
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
purchase_course()
B
35 16 92
list_courses()
B
34 15 89
enroll_courses()
B
36 14 78
continue_course()
A
44 9 48
retake_course()
S
46 6 40
register_routes()
S
40 1 79
courses_widget_by_page()
S
56 2 19
update_item()
S
62 2 11
__construct()
S
74 1 5
check_admin_permission()
S
81 1 3
get_items()
S
69 1 7
get_item()
S
68 1 7
delete_item()
S
77 1 4