-
Home
-
LearnPress – WordPress LMS Plugin
-
4.0.7
-
Code
-
Classes
- LP_REST_Users_Controller
| Total Complexity |
39 |
| Dependencies |
10 |
| Dependents |
0 |
| Total lines |
493 |
| Lines of code |
309 |
| Logical lines of code |
131 |
| Comment lines |
105 |
| Methods |
16 |
| Properties |
5 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| submit_quiz() |
A |
42 |
9 |
51 |
| start_quiz() |
A |
39 |
8 |
64 |
| 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 |
| check_answer() |
S |
57 |
1 |
18 |
| 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 |