LP_REST_Users_Controller S

Total Complexity 48
Dependencies 11
Dependents 0
Total lines 554
Lines of code 363
Logical lines of code 163
Comment lines 109
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
submit_quiz()
B
35 15 88
start_quiz()
A
37 10 74
register_routes()
S
41 1 74
rest_pre_dispatch()
S
57 4 17
sanitize_arg()
S
66 4 9
check_answer()
S
52 2 25
update_item()
S
62 2 11
get_item_endpoint_args()
S
59 1 16
validate_arg()
S
66 2 7
__construct()
S
70 1 6
check_admin_permission()
S
81 1 3
enroll_course()
S
72 1 6
hint_answer()
S
65 1 9
get_items()
S
69 1 7
get_item()
S
68 1 7
delete_item()
S
77 1 4