LP_Rest_Material_Controller A

Total Complexity 56
Dependencies 9
Dependents 0
Total lines 537
Lines of code 334
Logical lines of code 178
Comment lines 156
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
save_post_materials()
C
29
23 132
backend_get_materials_by_item()
S
51 6 25
delete_material()
S
52 4 25
register_routes()
S
43 1 62
check_user_can_get_materials()
S
60 4 13
update_material_orders()
S
54 3 20
check_user_can_edit_material()
S
62 4 10
check_external_file()
S
56 2 19
material_upload_file()
S
65 3 8
check_wp_allowed_file_type()
S
65 3 9
material_check_file_extention()
S
69 2 6
__construct()
S
74 1 5