LP_REST_Users_Controller A

Total Complexity 53
Dependencies 11
Dependents 1
Total lines 578
Lines of code 383
Logical lines of code 172
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
check_answer()
A
45 7 45
register_routes()
S
41 1 74
rest_pre_dispatch()
S
57 4 17
sanitize_arg()
S
66 4 9
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