-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.5.3
-
Code
-
Classes
- LP_Rest_Material_Controller
Total Complexity |
57 |
Dependencies |
9 |
Dependents |
0 |
Total lines |
439 |
Lines of code |
346 |
Logical lines of code |
193 |
Comment lines |
77 |
Methods |
11 |
Properties |
0 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save_post_materials() |
B |
31 |
20 |
110 |
get_materials_by_item() |
A |
44 |
11 |
40 |
get_material() |
S |
51 |
5 |
27 |
delete_material() |
S |
52 |
4 |
25 |
register_routes() |
S |
42 |
1 |
67 |
check_external_file() |
S |
53 |
3 |
24 |
update_material_orders() |
S |
54 |
3 |
20 |
material_upload_file() |
S |
65 |
3 |
8 |
material_check_file_extention() |
S |
63 |
3 |
10 |
check_user_permissons() |
S |
63 |
3 |
10 |
__construct() |
S |
74 |
1 |
5 |