LP_Rest_Material_Controller A

Total Complexity 63
Dependencies 12
Dependents 0
Total lines 520
Lines of code 375
Logical lines of code 207
Comment lines 91
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
save_post_materials()
C
28
23 133
get_materials_by_item()
A
44 10 42
backend_get_materials_by_item()
S
51 6 25
delete_material()
S
52 4 25
register_routes()
S
42 1 69
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
material_check_file_extention()
S
69 2 6
__construct()
S
74 1 5