Metasync_Admin D

Total Complexity 842
Dependencies 15
Dependents 1
Total lines 7,644
Lines of code 5,175
Logical lines of code 2,135
Comment lines 1,352
Methods 172
Properties 8

Methods 172

Method Rating Maintainability Complexity Lines of code
sanitize()
D
15
77 250
meta_sync_save_settings()
D
23
46 167
settings_page_init()
D
15
28 420
create_admin_settings_page()
D
25
26 245
create_admin_sync_log_page()
C
28
23 158
create_admin_dashboard_iframe()
B
30 16 172
searchatlas_api_key_callback()
B
36 18 81
reset_searchatlas_authentication()
A
36 13 82
metasync_admin_bar_style()
A
36 9 134
metasync_display_error_log()
A
35 10 110
fetch_public_hash()
A
38 11 72
log_heartbeat()
A
45 13 38
render_plugin_header()
A
43 12 49
add_plugin_settings_page()
A
40 11 62
get_fresh_jwt_token()
A
41 11 53
render_navigation_menu()
A
35 4 143
process_api_response()
A
45 10 45
render_error_log_content()
A
43 9 58
get_business_types()
A
29 1 168
extract_public_hash_from_response()
A
44 9 47
local_seo_phone_numbers_callback()
A
45 9 45
local_seo_opening_hours_callback()
A
45 9 44
add_searchatlas_admin_bar_status()
A
45 9 42
log_fetch_hash_error()
A
48 9 30
metasync_update_wp_config()
A
50 9 27
handle_whitelabel_session_logic()
A
50 9 26
common_robot_mata_tags_callback()
A
45 7 55
metasync_plugin_white_label()
A
48 8 37
enqueue_scripts()
A
38 5 82
handle_clear_all_settings()
A
43 7 52
should_throttle_log()
A
54 9 20
get_log_tail()
A
50 8 28
wp_decrypt_token()
A
50 8 26
time_elapsed_string()
A
50 8 26
lgSendCustomerParams()
A
47 7 34
is_heartbeat_connected()
A
48 7 34
validate_sso_token()
A
49 7 31
get_active_jwt_token()
S
52 7 22
refresh_plugin_auth_token()
S
47 6 35
render_page_builders_section()
S
51 6 31
render_seo_plugins_section()
S
51 6 31
render_cache_plugins_section()
S
51 6 31
execute_heartbeat_cron_check()
S
45 5 43
handle_session_management_early()
S
59 7 13
validate_fetch_hash_inputs()
S
61 7 12
get_available_menu_items()
S
43 4 56
local_seo_address_callback()
S
53 6 22
trigger_immediate_heartbeat_check()
S
43 4 50
check_and_redirect_slug()
S
54 6 19
test_heartbeat_api_connection()
S
43 4 46
get_client_ip()
S
57 6 15
handle_whitelabel_password_early()
S
58 6 14
get_plugin_auth_token()
S
52 5 25
test_enhanced_sso_tokens()
S
55 5 20
metasync_view_detials_url()
S
55 5 18
generate_sso_url()
S
49 4 32
get_error_log_content()
S
56 5 17
extract_browser_name()
S
65 6 8
get_dashboard_url()
S
59 5 13
get_page_builders_compatibility()
S
46 3 43
get_seo_plugins_compatibility()
S
46 3 42
test_sso_ajax_endpoint()
S
52 4 24
ensure_plugin_auth_token_exists()
S
53 4 22
__construct()
S
47 3 33
permalink_structure_dashboard_warning()
S
57 4 18
handle_error_log_operations()
S
57 4 17
get_cache_plugins_compatibility()
S
50 3 30
maybe_schedule_heartbeat_cron()
S
59 4 14
smart_truncate()
S
61 4 12
redirect_slug_for_freshinstalls()
S
60 4 11
check_sso_status()
S
53 3 22
create_admin_dashboard_page()
S
54 3 22
store_heartbeat_error_log()
S
55 3 19
create_sso_nonce_token()
S
55 3 18
cleanup_sso_rate_limits()
S
56 3 18
advance_robot_mata_tags_callback()
S
46 1 48
wp_encrypt_token()
S
57 3 16
linkgraph_token_callback()
S
59 3 16
metasync_plugin_updated_action()
S
63 4 10
clear_public_hash_cache()
S
63 4 10
build_filter_query_string()
S
64 4 9
local_seo_logo_callback()
S
58 3 15
schedule_heartbeat_cron()
S
59 3 14
conditional_sso_validation()
S
63 3 11
test_whitelabel_domain()
S
53 2 24
create_admin_error_logs_page()
S
56 2 24
site_type_callback()
S
54 2 21
metasync_admin_icon_style()
S
58 2 18
get_plugin_logo()
S
56 2 18
metasync_settings_genkey_callback()
S
56 2 18
update_heartbeat_cache_after_sync()
S
58 2 16
initialize_cookie()
S
66 3 7
validate_enhanced_sso_context()
S
70 3 6
are_user_agents_incompatible()
S
71 3 5
sync_term()
S
66 3 8
local_seo_business_type_callback()
S
59 2 15
local_seo_about_page_callback()
S
59 2 15
local_seo_contact_page_callback()
S
59 2 15
no_index_posts_callback()
S
67 3 7
no_follow_links_callback()
S
67 3 7
open_external_links_callback()
S
67 3 7
add_alt_image_tags_callback()
S
67 3 7
add_title_image_tags_callback()
S
67 3 7
site_business_type_callback()
S
59 2 15
site_google_logo_callback()
S
58 2 15
site_social_share_image_callback()
S
58 2 15
global_open_graph_meta_callback()
S
67 3 7
global_facebook_meta_callback()
S
67 3 7
global_twitter_meta_callback()
S
67 3 7
create_admin_optimal_settings_page()
S
56 1 26
create_admin_search_engine_verification_page()
S
57 1 23
create_admin_local_business_page()
S
57 1 23
create_admin_code_snippets_page()
S
57 1 23
create_admin_global_settings_page()
S
57 1 23
create_admin_common_meta_settings_page()
S
57 1 23
create_admin_social_meta_page()
S
57 1 23
create_admin_404_monitor_page()
S
60 1 18
create_admin_heartbeat_error_logs_page()
S
60 1 18
enqueue_styles()
S
60 1 16
get_effective_menu_title()
S
69 2 7
should_validate_ip()
S
74 2 4
generate_wp_sso_token()
S
65 2 9
clear_jwt_token_cache()
S
61 1 15
prepare_api_headers()
S
63 2 10
set_last_known_connection_state()
S
69 2 7
unschedule_heartbeat_cron()
S
65 2 9
create_admin_compatibility_page()
S
64 1 15
is_plugin_installed()
S
70 2 6
bing_site_verification_callback()
S
66 2 8
yandex_site_verification_callback()
S
66 2 8
google_site_verification_callback()
S
66 2 8
pinterest_site_verification_callback()
S
66 2 8
local_seo_name_callback()
S
67 2 7
local_seo_url_callback()
S
67 2 7
local_seo_email_callback()
S
67 2 7
local_seo_phone_callback()
S
67 2 7
local_seo_price_range_callback()
S
67 2 7
local_seo_map_key_callback()
S
67 2 7
local_seo_geo_coordinates_callback()
S
67 2 7
header_snippets_callback()
S
69 2 6
footer_snippets_callback()
S
69 2 6
site_company_name_callback()
S
67 2 7
create_admin_google_instant_index_page()
S
63 1 14
create_admin_google_console_page()
S
63 1 14
create_encrypted_sso_token()
S
60 1 13
local_seo_person_organization_callback()
S
61 1 12
get_effective_dashboard_domain()
S
80 1 3
metasync_heartbeat_settings()
S
74 1 5
metasync_received_data()
S
76 1 4
simple_ajax_test()
S
69 1 7
get_cached_public_hash()
S
74 1 4
cache_public_hash()
S
73 1 4
build_otto_api_url()
S
75 1 4
apply_exponential_backoff()
S
63 1 10
get_last_known_connection_state()
S
79 1 3
add_heartbeat_cron_schedule()
S
69 1 7
handle_immediate_heartbeat_trigger()
S
81 1 3
cleanup_sso_nonce_tokens()
S
82 1 3
admin_crud_term()
S
80 1 3
admin_delete_term()
S
80 1 3
optimization_settings_options()
S
64 1 10
create_admin_redirections_page()
S
70 1 6
handle_sync_log_ajax()
S
82 1 3
render_compatibility_sections()
S
69 1 9
creat_error_Logs_List()
S
91 1 2
global_twitter_card_type_callback()
S
64 1 10
facebook_page_url_callback()
S
71 1 5
facebook_authorship_callback()
S
71 1 5
facebook_admin_callback()
S
71 1 5
facebook_app_callback()
S
71 1 5
facebook_secret_callback()
S
71 1 5
twitter_username_callback()
S
71 1 5