Ga_Helper C

Total Complexity 113
Dependencies 9
Dependents 6
Total lines 881
Lines of code 441
Logical lines of code 172
Comment lines 322
Methods 49
Properties 0

Methods 49

Method Rating Maintainability Complexity Lines of code
get_ga_dashboard_widget()
A
46 7 41
get_chart_page()
A
54 8 20
get_dashboard_widget_data()
S
52 5 25
init()
S
55 5 20
get_period_in_days_words()
S
55 5 20
get_selected_account_data()
S
57 5 16
can_add_ga_code()
S
59 4 14
get_period_in_days()
S
61 4 11
get_date_range_from_request()
S
53 3 23
add_ga_dashboard_widget()
S
50 1 37
get_previous_period_for_dates()
S
55 2 20
is_plugin_page()
S
65 3 8
get_code_manually_label_classes()
S
66 3 9
should_load_ga_javascript()
S
69 3 7
get_tooltip()
S
66 3 9
get_ga_dashboard_widget_data_json()
S
64 3 10
create_url()
S
68 3 7
ga_wp_notice()
S
62 2 12
are_sharethis_properties_verified()
S
71 2 6
get_option()
S
74 2 4
should_create_sharethis_property()
S
78 2 3
are_sharethis_properties_set()
S
71 2 6
are_sharethis_properties_ready_to_verify()
S
71 2 6
are_features_enabled()
S
78 2 3
get_account_id()
S
73 2 4
should_verify_sharethis_installation()
S
78 2 3
is_administrator()
S
71 2 6
update_option()
S
74 2 4
add_plus()
S
72 2 6
is_configured()
S
77 2 3
get_user_roles()
S
69 2 7
is_account_selected()
S
79 1 3
is_wp_old()
S
78 1 3
is_curl_disabled()
S
79 1 3
prepare_role()
S
79 1 3
prepare_role_id()
S
77 1 3
is_dashboard_page()
S
74 1 4
get_plugin_url_with_correct_protocol()
S
81 1 3
ga_oauth_notice()
S
67 1 9
is_authorized()
S
80 1 3
is_all_feature_disabled()
S
78 1 3
create_url_msg()
S
69 1 7
get_current_url()
S
78 1 3
is_php_version_valid()
S
67 1 7
is_sharethis_included()
S
80 1 3
are_terms_accepted()
S
79 1 3
format_percent()
S
75 1 4
is_code_manually_enabled()
S
78 1 3
is_wp_version_valid()
S
74 1 4