Astra_Sites D

Total Complexity 426
Dependencies 17
Dependents 14
Total lines 3,226
Lines of code 2,023
Logical lines of code 903
Comment lines 702
Methods 79
Properties 10

Methods 79

Method Rating Maintainability Complexity Lines of code
get_required_plugins_data()
C
31 23 116
get_local_vars()
C
27
20 135
create_template()
B
37 19 66
elementor_api_request()
B
35 17 84
ai_api_request()
B
36 16 85
api_request()
B
36 15 83
elementor_process_import_for_page()
A
43 14 43
required_plugin_activate()
A
44 13 44
reset_terms_and_forms()
A
45 13 40
create_image()
A
44 13 40
register_widget_scripts()
A
36 10 74
required_plugin()
A
46 11 36
filesystem_permission()
A
48 10 32
add_to_favorite()
A
48 10 32
reset_posts()
A
46 9 38
push_to_import_analytics()
A
49 9 29
admin_enqueue()
A
47 8 34
image_search_assets()
A
36 5 77
update_subscription()
A
49 8 27
remove_query_params()
A
53 8 21
import_template_meta()
S
53 7 24
import_post_meta()
S
53 7 24
backup_settings()
S
52 7 22
image_search_scripts()
S
60 7 14
get_compatibilities()
S
54 6 21
delete_astra_images()
S
56 6 18
get_cta_links()
S
51 5 32
get_page_builder_field()
S
58 6 17
insert_image_templates_bb_and_brizy()
S
60 6 14
get_theme_status()
S
61 6 12
get_block_palette_colors()
S
43 2 62
should_display_subscription_form()
S
58 5 17
admin_welcome_notices()
S
42 2 61
__construct()
S
41 2 53
create_image_from_url()
S
53 4 22
load_textdomain()
S
55 4 19
get_reset_data()
S
56 4 19
search_images()
S
56 4 16
get_page_palette_colors()
S
46 2 45
pro_plugin_exist()
S
51 3 29
get_all_blocks()
S
59 4 13
get_all_sites()
S
59 4 13
status_header()
S
62 4 11
search_push()
S
55 3 19
php_error_message()
S
64 4 10
update_analytics()
S
62 4 10
get_compatibilities_data()
S
49 1 32
is_starter_templates_request()
S
69 3 6
activate_theme()
S
59 2 15
get_deleted_post_ids()
S
65 3 9
elementor_flush_request()
S
64 3 9
get_plugin_status()
S
64 3 10
get_license_key()
S
67 3 8
disable_wp_forms_redirect()
S
70 3 6
admin_dashboard_notices()
S
68 3 7
enable_zip_ai_copilot()
S
64 3 10
get_default_page_builders()
S
55 1 24
includes()
S
59 1 16
get_sync_complete_message()
S
67 2 8
check_filesystem_access_notice()
S
72 2 5
get_instance()
S
71 2 6
get_wp_upload_url()
S
74 2 4
getting_started_notice()
S
66 2 8
get_api_domain()
S
77 2 3
get_cta_link()
S
71 2 5
get_default_ai_categories()
S
62 1 12
get_api_url()
S
82 1 3
add_auth_url_param()
S
76 1 4
notice_assets()
S
74 1 4
insert_templates()
S
71 1 6
insert_image_templates()
S
74 1 5
get_filesystem()
S
71 1 6
action_links()
S
62 1 10
get_page_builders()
S
81 1 3
popup_styles()
S
71 1 5
get_api_option()
S
80 1 3
after_plugin_activate()
S
69 1 7
wp_slash_after_xml_import()
S
80 1 3
set_api_url()
S
65 1 8