Ga_Admin D

Total Complexity 177
Dependencies 13
Dependents 5
Total lines 1,435
Lines of code 932
Logical lines of code 484
Comment lines 294
Methods 54
Properties 0

Methods 54

Method Rating Maintainability Complexity Lines of code
generate_stats_data()
A
37 13 76
options_page_googleanalytics()
A
39 12 66
admin_notice_googleanalytics()
A
44 9 48
save_ga4_final_setup()
A
45 8 45
getGa4AuthInfo()
A
49 8 30
enqueue_scripts()
A
47 7 36
save_ga_account_summaries()
A
48 7 35
check_data_date()
A
56 8 16
init_oauth()
S
50 7 28
getGa4Client()
S
47 6 35
update_demo_data()
S
57 5 16
get_accounts_selector()
S
56 5 16
gdpr_page_googleanalytics()
S
59 5 12
get_stats_page()
S
53 4 24
api_client()
S
57 4 17
update_googleanalytics()
S
58 4 16
add_actions()
S
53 3 21
admin_menu_googleanalytics()
S
56 3 18
enqueue_ga_css()
S
51 2 32
statistics_page_googleanalytics()
S
61 3 13
create_ga_property()
S
60 3 12
save_access_token()
S
61 3 12
enqueue_ga_scripts()
S
49 1 35
deactivate_googleanalytics()
S
49 1 35
add_dashboard_device_widget()
S
66 3 9
display_api_errors()
S
66 3 8
preupdate_selected_account()
S
63 3 10
ga_ajax_gdpr_enable()
S
59 2 14
get_auth_button()
S
62 2 12
admin_init_googleanalytics()
S
53 1 23
admin_notice_googleanalytics_wp_version()
S
58 1 18
preupdate_exclude_roles()
S
71 2 6
ga_ajax_hide_review()
S
70 2 6
ga_ajax_data_change()
S
62 2 10
preupdate_disable_all_features()
S
70 2 6
ga_action_links()
S
68 2 6
run_heartbeat_jobs()
S
72 2 6
preupdate_optimize_code()
S
71 2 6
save_ga4_property_selection()
S
66 2 8
activate_googleanalytics()
S
60 1 14
ga4_ajax_sign_out()
S
63 1 11
get_auth_popup_url()
S
78 1 3
get_vendors()
S
74 1 4
ga_ajax_sign_out()
S
70 1 6
ga_ajax_enable_demo()
S
67 1 7
preupdate_enable_debug_mode()
S
81 1 3
uninstall_googleanalytics()
S
68 1 8
get_debug_modal()
S
65 1 10
loaded_googleanalytics()
S
80 1 3
preupdate_ip_anonymization()
S
81 1 3
add_filters()
S
78 1 3
enqueue_dashboard_scripts()
S
66 1 9
admin_notice_googleanalytics_php_version()
S
77 1 3
admin_notice_hide_googleanalytics()
S
79 1 3