WC_Helper D

Total Complexity 357
Dependencies 11
Dependents 15
Total lines 2,747
Lines of code 1,761
Logical lines of code 879
Comment lines 592
Methods 71
Properties 1

Methods 71

Method Rating Maintainability Complexity Lines of code
render_helper_output()
D
22
28 226
_get_return_notices()
B
32 20 112
get_subscriptions()
A
41 14 50
get_subscription_list_data()
A
38 12 68
get_local_woo_plugins()
A
44 13 42
_helper_auth_return()
A
39 11 66
_filter()
A
48 13 33
_helper_auth_connect()
A
39 10 66
current_screen()
A
49 12 31
get_helper_redirect_url()
A
44 10 46
get_local_woo_themes()
A
46 9 37
deactivated_plugin()
A
44 8 46
is_subscription_installed()
A
46 8 44
get_subscription_local_data()
A
46 8 41
_helper_plugin_deactivate()
A
46 8 37
helper_subscription_deactivate()
S
51 7 25
_helper_subscription_activate()
S
51 7 25
get_product_usage_notice_rules()
S
47 6 35
activate_plugin()
S
54 7 20
get_available_subscription()
S
56 6 18
connect_theme()
S
49 5 33
admin_notices()
S
57 6 17
connect_with_password()
S
49 5 30
activated_plugin()
S
51 5 27
get_notices()
S
53 5 23
get_installed_subscriptions()
S
54 5 22
get_unconnected_subscriptions()
S
54 5 22
_get_extensions_update_notice()
S
53 5 22
get_filters_counts()
S
57 5 16
admin_enqueue_scripts()
S
62 6 9
fetch_helper_connection_info()
S
49 4 30
wccom_activate()
S
55 4 19
is_subscription_available()
S
57 4 19
deactivate_helper_subscription()
S
50 3 30
_woo_core_update_available()
S
60 4 14
get_product_subscription_state()
S
59 4 13
_get_subscriptions_from_product_id()
S
62 4 11
_flush_authentication_cache()
S
54 3 24
get_local_themes()
S
55 3 20
get_local_plugins()
S
56 3 19
_helper_auth_disconnect()
S
57 3 17
activate_helper_subscription()
S
56 3 17
_helper_auth_refresh()
S
57 3 17
get_subscription()
S
58 3 16
verify_request_hash()
S
59 3 14
update_auth_option()
S
55 2 21
log()
S
65 3 9
get_message_for_response_code()
S
66 3 8
get_current_filter()
S
65 3 8
maybe_redirect_to_new_marketplace_installer()
S
62 2 13
_get_local_from_product_id()
S
61 2 13
disconnect()
S
58 1 17
get_source_page()
S
73 2 4
add_utm_params_to_url_for_subscription_link()
S
64 2 10
includes()
S
60 1 14
get_filters()
S
60 1 13
get_cached_connection_data()
S
80 1 3
get_install_base_url()
S
79 1 3
get_woocommerce_com_base_url()
S
78 1 3
is_site_connected()
S
74 1 4
_sort_by_name()
S
78 1 3
load()
S
66 1 8
_sort_by_product_name()
S
78 1 3
_flush_updates_cache()
S
81 1 3
refresh_helper_subscriptions()
S
71 1 7
flush_connection_data_cache()
S
80 1 3
flush_product_usage_notice_rules_cache()
S
80 1 3
_flush_subscriptions_cache()
S
80 1 3
get_subscription_install_url()
S
65 1 9
has_product_subscription()
S
74 1 4
get_view_filename()
S
79 1 3