Kadence_Blocks_Prebuilt_Library D

Total Complexity 253
Dependencies 1
Dependents 0
Total lines 1,319
Lines of code 781
Logical lines of code 471
Comment lines 462
Methods 44
Properties 19

Methods 44

Method Rating Maintainability Complexity Lines of code
get_template_data()
B
45 20 35
import_image()
A
40 13 58
process_image_content()
A
43 12 47
prebuilt_connection_info_ajax_callback()
A
50 12 25
get_section_prebuilt_data()
A
52 12 22
get_page_prebuilt_data()
A
52 12 22
process_data_ajax_callback()
A
52 12 19
process_subscribe_ajax_callback()
A
45 10 41
get_remote_url_contents()
A
45 10 40
process_content()
A
46 10 38
process_pattern_content()
A
47 10 37
prebuilt_data_ajax_callback()
A
53 11 18
create_template_data_file()
A
54 8 21
prebuilt_data_reload_ajax_callback()
A
55 8 17
process_individual_import()
S
50 6 31
get_local_template_data_filename()
S
59 7 13
get_image_info()
S
57 5 17
prebuilt_templates_data_ajax_callback()
S
56 5 17
prebuilt_pages_data_ajax_callback()
S
56 5 17
prebuilt_templates_data_reload_ajax_callback()
S
56 5 17
prebuilt_pages_data_reload_ajax_callback()
S
56 5 17
schedule_cleanup()
S
67 6 7
process_image_data_ajax_callback()
S
60 4 12
get_connection_data()
S
54 3 22
get_importer_files()
S
62 3 12
check_for_local_image()
S
53 2 26
get_filesystem()
S
62 3 11
process_pattern_ajax_callback()
S
62 3 11
__construct()
S
55 2 18
check_for_image()
S
65 3 9
get_block_library_folder()
S
67 3 9
get_base_url()
S
71 2 6
get_base_path()
S
68 2 7
get_subfolder_name()
S
71 2 6
delete_block_library_folder()
S
71 2 6
get_only_local_template_data()
S
74 2 5
add_monthly_to_cron_schedule()
S
65 2 9
get_local_template_data_contents()
S
69 2 7
verify_ajax_call()
S
70 2 6
get_local_template_data_path()
S
70 2 6
get_instance()
S
72 2 6
get_data()
S
77 1 4
get_old_block_library_folder()
S
75 1 4
local_file_exists()
S
79 1 3