LP_Rest_Material_Controller A

Total Complexity 58
Dependencies 10
Dependents 0
Total lines 485
Lines of code 359
Logical lines of code 198
Comment lines 79
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
save_post_materials()
C
28
23 133
get_materials_by_item()
A
45 10 39
get_material()
S
51 5 27
delete_material()
S
52 4 25
register_routes()
S
42 1 67
update_material_orders()
S
54 3 20
check_user_permission()
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