Ga_Admin D

Total Complexity 153
Dependencies 11
Dependents 5
Total lines 995
Lines of code 666
Logical lines of code 367
Comment lines 176
Methods 47
Properties 0

Methods 47

Method Rating Maintainability Complexity Lines of code
generate_stats_data()
A
37 13 74
options_page_googleanalytics()
A
41 12 54
admin_notice_googleanalytics()
A
51 9 23
save_ga_account_summaries()
A
48 7 35
enqueue_scripts()
A
47 7 34
checkDataDate()
A
56 8 16
init_oauth()
S
50 7 28
updateDemoData()
S
57 5 16
get_accounts_selector()
S
57 5 16
gdpr_page_googleanalytics()
S
59 5 12
get_stats_page()
S
53 4 24
api_client()
S
57 4 17
statistics_page_googleanalytics()
S
58 4 16
update_googleanalytics()
S
58 4 16
add_actions()
S
56 3 17
ga_ajax_data_change()
S
62 4 10
save_access_token()
S
61 3 12
admin_menu_googleanalytics()
S
60 3 12
preupdate_selected_account()
S
63 3 10
display_api_errors()
S
66 3 8
gaAjaxEnableDemo()
S
68 3 6
enqueue_ga_css()
S
60 2 12
get_auth_button()
S
62 2 12
enqueue_ga_scripts()
S
52 1 26
deactivate_googleanalytics()
S
54 1 23
ga_action_links()
S
68 2 6
ga_ajax_hide_review()
S
68 2 7
gaAjaxGdprEnable()
S
68 2 7
preupdate_exclude_roles()
S
71 2 6
createGAProperty()
S
63 2 10
run_heartbeat_jobs()
S
72 2 6
preupdate_disable_all_features()
S
70 2 6
add_dashboard_device_widget()
S
72 2 5
preupdate_optimize_code()
S
71 2 6
admin_init_googleanalytics()
S
58 1 15
activate_googleanalytics()
S
61 1 13
add_filters()
S
78 1 3
admin_notice_hide_googleanalytics()
S
79 1 3
admin_notice_googleanalytics_wp_version()
S
78 1 3
admin_notice_googleanalytics_php_version()
S
77 1 3
loaded_googleanalytics()
S
80 1 3
uninstall_googleanalytics()
S
68 1 8
enqueue_dashboard_scripts()
S
64 1 10
get_debug_modal()
S
69 1 7
get_auth_popup_url()
S
78 1 3
preupdate_ip_anonymization()
S
81 1 3
getVendors()
S
74 1 4