Code Analysis: AyeCode Connect 1.3.1

Function Rating Maintainability Complexity Lines of code
AyeCode_WP_Nav::output()
D
12
103 211
AyeCode_Connect_Remote_Actions::import_content()
D
14
87 226
AyeCode_Connect_Settings::settings_page()
D
13
69 344
AyeCode_Demo_Content::import_content()
D
21
52 184
AyeCode_Connect_Remote_Actions::remote_import_templates()
D
26
53 132
AyeCode_Connect_Remote_Actions::remote_import_posts()
D
27
44 115
AyeCode_Connect_Remote_Actions::import_page_template()
D
27
37 141
AyeCode_Connect_Remote_Actions::remote_import_options()
D
33 35 83
AyeCode_Connect_Remote_Actions::update_options()
C
35 28 78
AyeCode_Connect_Remote_Actions::background_installer()
C
28
23 139
AyeCode_Demo_Content::settings_page()
C
25
9 347
AyeCode_Connect_Remote_Actions::import_menu()
C
35 27 77
AyeCode_Connect_Remote_Actions::debug_log()
B
42 24 48
AyeCode_Demo_Content::debug_log()
B
42 24 48
AyeCode_Connect::debug_log()
B
42 24 48
AyeCode_Connect_Remote_Actions::import_geodirectory_settings()
B
41 23 48
AyeCode_Demo_Content::set_demo_plugins()
B
37 21 73
AyeCode_Connect_Remote_Actions::install_theme()
B
36 21 72
AyeCode_WP_Nav::set_arguments()
B
22
3 313
AyeCode_Demo_Content::set_demo_theme()
B
40 16 60
AyeCode_Connect_Remote_Actions::set_external_media()
B
49 18 24
AyeCode_Connect_Remote_Actions::install_plugin()
B
45 17 37
AyeCode_Connect_Remote_Actions::remote_import_categories()
A
45 15 37
AyeCode_Connect_Support::helpscout_beacon_js()
A
37 10 109
AyeCode_Connect_Remote_Actions::update_licences()
A
47 15 32
AyeCode_Connect::edd_api_button_args()
A
50 15 26
AyeCode_Connect_Support::maybe_login_support_user()
A
45 13 39
AyeCode_Demo_Content::set_dummy_posts()
A
41 12 53
AyeCode_Connect::sync_licences()
A
43 12 47
AyeCode_Connect::set_remote_support_user()
A
40 11 60
AyeCode_Connect_Remote_Actions::validate_licence()
A
50 12 30
AyeCode_Demo_Content::download_content()
A
43 10 47
AyeCode_Connect_Remote_Actions::sanitize_categories()
A
49 11 32
AyeCode_Connect_Remote_Actions::sanitize_licences()
A
49 11 32
AyeCode_Connect_Settings::instance()
A
42 9 51
AyeCode_Connect_Settings::ajax_toggle_updates()
A
47 10 35
AyeCode_Demo_Content::set_theme()
A
48 10 33
AyeCode_Demo_Content::get_demo_tabs_head()
A
47 10 32
AyeCode_Connect_Remote_Actions::set_php_limits()
A
55 11 17
AyeCode_Connect_Remote_Actions::parse_elementor_data()
A
43 8 58
AyeCode_Connect_Remote_Actions::instance()
A
46 9 39
AyeCode_Connect::test_connection()
A
53 10 23
AyeCode_Connect::disconnect_site()
A
47 9 35
AyeCode_Connect::get_remote_user_info()
A
50 9 26
AyeCode_Connect_Remote_Actions::remote_import_menus()
A
51 9 24
AyeCode_Demo_Content::get_demo_site_types()
A
53 9 21
AyeCode_Connect_Support::maybe_remove_support_user()
A
53 9 21
AyeCode_Demo_Content::get_demo_data()
A
49 8 29
AyeCode_Connect::is_api_request_authenticated()
A
49 8 29
AyeCode_Demo_Content::set_page_templates()
A
50 8 28
AyeCode_Connect::decode()
A
52 8 24
AyeCode_Demo_Content::menu_item()
A
52 8 23
AyeCode_Connect::download_demo_content()
A
43 6 49
AyeCode_Connect::check_for_url_change()
A
55 8 18
AyeCode_Connect_Settings::ajax_check_connection()
A
47 7 32
AyeCode_Connect_Settings::ajax_toggle_licences()
S
50 7 27
AyeCode_Connect_Remote_Actions::delete_gd_categories()
S
53 7 22
ayecode_connect_deactivation()
S
52 7 22
AyeCode_Connect::init()
S
47 6 35
AyeCode_WP_Nav::link_types()
S
47 6 33
AyeCode_Demo_Content::get_demo_tabs_body()
S
49 6 29
AyeCode_Connect::enqueue_editor_assets()
S
58 7 13
AyeCode_Connect::is_usable_domain()
S
47 5 42
AyeCode_Connect_Support::get_signature()
S
60 7 12
AyeCode_Connect::request_demo_content()
S
50 6 27
AyeCode_Demo_Content::set_demo_categories()
S
51 6 25
AyeCode_Demo_Content::get_wp_filesystem()
S
53 6 23
AyeCode_Demo_Content::set_demo_settings()
S
53 6 22
AyeCode_Connect::handle_registration()
S
52 6 22
AyeCode_Connect_Settings::ajax_toggle_support_user()
S
53 6 22
AyeCode_Connect_Settings::ajax_toggle_support()
S
55 6 20
AyeCode_Connect_Support::__construct()
S
55 6 20
AyeCode_Connect::has_permission()
S
54 6 19
AyeCode_Connect_Remote_Actions::validate_download_url()
S
58 6 16
AyeCode_Connect_Settings::cron_callback()
S
61 6 13
AyeCode_Demo_Content::set_menus()
S
52 5 25
AyeCode_Connect_Remote_Actions::can_modify_option()
S
55 5 20
AyeCode_Connect::get_jwt()
S
57 5 17
AyeCode_Connect_Support::get_session_data()
S
58 5 16
ayecode_connect_demo_import_redirect()
S
58 5 15
AyeCode_Connect::maybe_redirect_to_connection_page()
S
58 5 15
AyeCode_Connect::maybe_sync_licenses()
S
67 6 6
AyeCode_Connect_Support::maybe_add_admin_footer_script()
S
65 6 8
AyeCode_Connect_Remote_Actions::import_menus()
S
57 5 15
AyeCode_Connect_Support::get_message_id()
S
58 5 15
AyeCode_Connect_Support::get_beacon_id()
S
51 4 28
AyeCode_Demo_Content::request_download()
S
59 5 13
AyeCode_Demo_Content::set_widgets()
S
54 4 21
AyeCode_Connect_Remote_Actions::delete_demo_posts()
S
54 4 20
AyeCode_Demo_Content::get_sites()
S
55 4 18
AyeCode_Connect_Settings::install_mu_plugin()
S
56 4 18
AyeCode_Demo_Content::check_ayecode_demo_folder_protection()
S
56 4 18
AyeCode_WP_Nav::__construct()
S
41 1 63
AyeCode_Connect::get_activation_secret()
S
57 4 18
AyeCode_Demo_Content::instance()
S
57 4 15
AyeCode_Connect::get_connected_email()
S
59 4 15
AyeCode_Connect::verify_registration_permission_callback()
S
64 5 9
AyeCode_Connect::get_connected_user_id()
S
59 4 15
AyeCode_Connect::get_connected_name()
S
59 4 15
AyeCode_Connect_Remote_Actions::get_server_ip()
S
60 4 13
AyeCode_Connect::get_server_ip()
S
60 4 13
AyeCode_WP_Nav::get_pages_array()
S
61 4 12
AyeCode_Connect::build_connect_url()
S
50 3 27
AyeCode_Connect::remote_request()
S
45 2 41
AyeCode_Demo_Content::set_plugins()
S
62 4 11
AyeCode_Connect::request_plugins()
S
56 3 20
ayecode_connect()
S
54 3 20
AyeCode_Connect::request_licences()
S
58 3 16
AyeCode_Connect::request_updates()
S
58 3 16
AyeCode_Demo_Content::prevent_redirects()
S
67 4 7
AyeCode_Connect::demo_site_redirect()
S
64 4 9
AyeCode_Connect::do_action()
S
58 3 14
AyeCode_Connect_Settings::ajax_disconnect_site()
S
61 3 13
AyeCode_Connect::get_assumed_site_creation_date()
S
52 2 27
AyeCode_Connect_Remote_Actions::str_replace_args()
S
56 2 18
AyeCode_Connect_Settings::menu_item()
S
57 2 17
AyeCode_Connect::maybe_load_blocks()
S
64 3 10
AyeCode_Connect_Remote_Actions::validate_licence_status()
S
63 2 12
AyeCode_Connect::website_url_change_error()
S
62 2 11
AyeCode_Connect::register_connection_routes()
S
57 1 20
AyeCode_Connect_Support::helpscout_base_js()
S
63 1 19
AyeCode_Connect::delete_secrets()
S
57 1 18
AyeCode_Connect::get_max_execution_time()
S
69 2 7
AyeCode_Connect::is_registered()
S
73 2 5
AyeCode_Connect_Settings::ajax_clear_licenses()
S
65 2 9
AyeCode_Connect::__construct()
S
68 2 7
AyeCode_Connect::register_blocks()
S
71 2 6
AyeCode_Connect::url_safe_base64_decode()
S
65 2 8
AyeCode_Connect::get_connected_user_sites()
S
66 2 8
AyeCode_Connect::set_min_time_limit()
S
68 2 8
AyeCode_Connect_Remote_Actions::validate_request()
S
68 2 8
AyeCode_Connect::validate_request()
S
69 2 7
AyeCode_Connect_Settings::clear_all_licenses()
S
68 2 7
ayecode_connect_sync_licenses()
S
72 2 6
ayecode_connect_args()
S
61 1 13
AyeCode_Connect::verify_registration()
S
61 1 13
AyeCode_Connect::register_connected_routes()
S
64 1 11
AyeCode_Connect::register_test_routes()
S
64 1 11
AyeCode_Connect::get_blog_id()
S
75 1 4
AyeCode_Demo_Content::scripts()
S
63 1 10
AyeCode_Connect::connection_page()
S
72 1 5
AyeCode_Connect::get_transient()
S
71 1 5
AyeCode_Connect::encode()
S
62 1 10
AyeCode_Connect::get_access_token()
S
75 1 4
AyeCode_Connect::get_connected_user_signatures()
S
72 1 5
AyeCode_Connect_Settings::format_plugin_slug()
S
72 1 5
AyeCode_Connect::get_local_api_url()
S
70 1 6
AyeCode_Connect::add_aui_screens()
S
74 1 5
ayecode_connect_early_get_plugins_filter_fix()
S
67 1 8
AyeCode_Connect::get_api_url()
S
70 1 6
ayecode_connect_settings_link()
S
72 1 5
AyeCode_Connect::get_connected_username()
S
75 1 4
AyeCode_Connect::url_safe_base64_encode()
S
77 1 3
AyeCode_Connect::connected_notice()
S
72 1 7
AyeCode_Connect_Remote_Actions::format_plugin_slug()
S
75 1 4
AyeCode_Connect_Settings::scripts()
S
63 1 10
AyeCode_Connect_Remote_Actions::get_valid_domains()
S
69 1 8
AyeCode_Connect::is_active()
S
80 1 3