LP_REST_Courses_Controller B

Total Complexity 77
Dependencies 24
Dependents 1
Total lines 699
Lines of code 502
Logical lines of code 277
Comment lines 105
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
list_courses()
C
31 22 108
purchase_course()
B
34 16 93
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