Kadence_Blocks_Prebuilt_Library_REST_Controller D

Total Complexity 357
Dependencies 14
Dependents 2
Total lines 2,502
Lines of code 1,693
Logical lines of code 773
Comment lines 549
Methods 45
Properties 21

Methods 45

Method Rating Maintainability Complexity Lines of code
get_new_remote_contents()
D
17
56 268
process_pattern()
C
35 26 79
get_library()
B
39 19 57
get_library_categories()
B
40 18 54
import_image()
B
39 15 62
get_pattern_content()
A
41 15 56
get_images_by_industry()
A
43 15 48
get_items()
A
41 12 60
register_routes()
A
30 1 218
get_remaining_jobs()
A
41 10 58
get_all_ai_items()
A
46 11 39
check_for_local_image()
A
45 10 43
get_image_info()
A
54 11 19
get_remote_library_categories()
A
48 10 33
get_remote_library_contents()
A
48 10 33
get_initial_jobs()
A
50 9 29
process_forms()
A
46 8 40
get_keyword_suggestions()
A
48 8 32
get_remote_search_images()
A
45 7 44
get_remote_industry_images()
A
46 7 42
get_image_search_query()
S
49 7 30
get_all_items()
S
54 7 20
get_src_from_image_data()
S
61 7 11
get_local_contexts()
S
57 6 18
get_remote_remaining_credits()
S
53 5 24
get_collection_params()
S
40 1 79
get_remote_image_collections()
S
56 4 20
get_local_library_data()
S
56 4 19
get_image_collections()
S
57 4 17
get_remote_industry_verticals()
S
58 4 17
get_industry_verticals()
S
58 4 16
sanitize_industries_array()
S
64 4 10
check_for_image()
S
65 3 9
get_license_keys()
S
66 3 9
get_token_header()
S
58 2 14
create_filename_from_alt()
S
66 2 8
is_ai_job_processing()
S
68 2 7
sanitize_industry_name()
S
65 2 9
get_remaining_credits()
S
68 2 8
get_remote_contents()
S
63 1 12
sanitize_filename()
S
79 1 3
is_response_code_error()
S
75 1 4
process_images()
S
75 1 4
get_items_permission_check()
S
80 1 3
__construct()
S
66 1 8