LP_REST_Courses_Controller B

Total Complexity 86
Dependencies 20
Dependents 1
Total lines 705
Lines of code 500
Logical lines of code 292
Comment lines 96
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
list_courses()
D
28
31 127
purchase_course()
B
34 16 95
enroll_courses()
B
35 16 87
continue_course()
A
45 9 41
retake_course()
S
46 6 40
register_routes()
S
41 1 73
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