GA4WP_Auth D

Total Complexity 146
Dependencies 6
Dependents 2
Total lines 1,029
Lines of code 838
Logical lines of code 324
Comment lines 36
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
tab_update()
D
17
45 360
get_current_dash_settings()
A
46 13 37
refresh_access_token()
A
48 9 32
new_update_settings()
A
51 8 28
publish_stat_data()
A
49 7 34
authenticate()
S
55 7 20
publish_simple_bar_chart()
S
47 2 60
publish_simple_pie_chart()
S
48 2 57
get_analytics_property_views()
S
61 5 11
get_analytics_properties()
S
57 4 18
get_analytics_g4_properties()
S
57 4 18
load_local_script()
S
54 3 20
is_access_token_expired()
S
64 4 9
get_google_analytics_data_api()
S
60 3 13
get_google_report_api()
S
60 3 13
get_google_management_api()
S
60 3 13
get_ga_property_part()
S
62 3 12
parse_access_token()
S
62 3 11
get_access_token_revoke_url()
S
66 3 8
web_revoke_access()
S
61 2 12
get_access_token_refresh_url()
S
67 2 7
get_instance()
S
71 2 6
__construct()
S
62 1 11
get_ga_property_id()
S
80 1 3
get_ga_account_id()
S
80 1 3
get_refresh_callback_url()
S
79 1 3
get_link_url()
S
78 1 3
get_access_token()
S
79 1 3
web_un_link()
S
69 1 7
get_refresh_token()
S
79 1 3
get_callback_url()
S
79 1 3