GA4WP_Auth D

Total Complexity 256
Dependencies 6
Dependents 2
Total lines 1,562
Lines of code 1,386
Logical lines of code 663
Comment lines 93
Methods 44
Properties 4

Methods 44

Method Rating Maintainability Complexity Lines of code
tab_update()
D
13
54 417
publish_simple_bar_chart()
B
36 16 100
publish_simple_line_chart()
B
36 16 100
publish_simple_doughnut_chart()
A
39 10 89
publish_stat_data_2()
A
41 10 61
refresh_access_token()
A
46 10 36
publish_stat_data()
A
44 8 50
comp_icon_style_color()
A
49 9 35
get_current_dash_settings()
A
50 9 29
g4wp_required_dashboard_data()
A
50 8 29
publish_simple_table()
A
45 6 49
ga4wp_get_mesurement_key()
S
53 7 23
ga4wp_authenticate()
S
54 7 21
ga4wp_edit_action_scope()
S
56 7 18
ga4wp_dashboard_widget()
S
53 6 21
ga4wp_create_custom_dimension()
S
54 5 21
ga4wp_create_mesurement_key()
S
56 5 18
ga4wp_dashboard_help()
S
56 5 16
get_analytics_g4_properties()
S
57 4 18
load_local_script()
S
55 3 19
ga4wp_dashboard_help6()
S
57 3 19
is_access_token_expired()
S
64 4 9
get_google_report_api()
S
60 3 13
get_google_analytics_data_api()
S
60 3 13
get_google_management_api()
S
60 3 13
get_ga_property_part()
S
62 3 12
new_update_settings()
S
63 3 11
stat_percentage_cal()
S
63 3 11
parse_access_token()
S
62 3 11
web_revoke_access()
S
55 2 20
get_access_token_revoke_url()
S
66 3 8
ga4wp_granted_scopes()
S
69 3 6
get_access_token_refresh_url()
S
67 2 7
ga4wp_create_transient_name()
S
66 2 8
get_instance()
S
71 2 6
web_un_link()
S
60 1 15
__construct()
S
60 1 13
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_callback_url()
S
79 1 3
get_link_url()
S
78 1 3
get_access_token()
S
79 1 3
get_refresh_token()
S
79 1 3