Kadence_Blocks_Image_Picker_REST_Controller A

Total Complexity 55
Dependencies 4
Dependents 1
Total lines 348
Lines of code 227
Logical lines of code 105
Comment lines 101
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
import_image()
A
40 12 60
process_images()
A
51 10 24
get_src_from_image_data()
S
61 7 11
get_image_info()
S
57 5 17
sanitize_image_sizes_array()
S
58 4 15
check_for_local_image()
S
53 2 26
check_for_image()
S
66 3 9
get_filesystem()
S
64 3 10
get_name_from_url()
S
63 2 10
create_filename_from_alt()
S
66 2 8
register_routes()
S
61 1 14
get_collection_params()
S
60 1 14
__construct()
S
81 1 3
get_items_permission_check()
S
80 1 3
sanitize_jpeg_filename()
S
79 1 3