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