Ga_Admin D

Total Complexity 198
Dependencies 13
Dependents 5
Total lines 1,526
Lines of code 999
Logical lines of code 538
Comment lines 294
Methods 55
Properties 0

Methods 55

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