-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.3
-
Code
-
Classes
- LP_REST_Users_Controller
Total Complexity |
53 |
Dependencies |
13 |
Dependents |
1 |
Total lines |
587 |
Lines of code |
387 |
Logical lines of code |
176 |
Comment lines |
114 |
Methods |
16 |
Properties |
5 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
submit_quiz() |
B |
35 |
15 |
88 |
start_quiz() |
A |
36 |
10 |
78 |
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 |