-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.3.5
-
Code
-
Classes
- LP_REST_Jwt_Posts_Controller
Total Complexity |
115 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
638 |
Lines of code |
481 |
Logical lines of code |
246 |
Comment lines |
48 |
Methods |
17 |
Properties |
5 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepare_item_for_database() |
D |
27 |
53 |
111 |
get_items() |
A |
42 |
10 |
47 |
handle_status_param() |
A |
50 |
9 |
32 |
get_collection_params() |
A |
33 |
2 |
136 |
prepare_objects_query() |
A |
46 |
7 |
36 |
create_item() |
S |
47 |
6 |
34 |
prepare_items_query() |
S |
56 |
7 |
17 |
get_item_permissions_check() |
S |
61 |
5 |
10 |
get_item() |
S |
59 |
4 |
12 |
get_objects() |
S |
57 |
2 |
16 |
check_read_permission() |
S |
70 |
2 |
6 |
get_items_permissions_check() |
S |
69 |
2 |
6 |
create_item_permissions_check() |
S |
69 |
2 |
6 |
get_item_learned_ids() |
S |
82 |
1 |
3 |
add_post_meta_fields() |
S |
82 |
1 |
3 |
prepare_object_for_response() |
S |
76 |
1 |
3 |
get_object() |
S |
76 |
1 |
3 |