WC_Helper D

Total Complexity 364
Dependencies 13
Dependents 15
Total lines 2,815
Lines of code 1,802
Logical lines of code 897
Comment lines 602
Methods 73
Properties 1

Methods 73

Method Rating Maintainability Complexity Lines of code
render_helper_output()
D
22
28 226
_get_return_notices()
B
32 20 112
get_subscriptions()
A
40 15 56
get_local_woo_plugins()
A
44 13 42
_helper_auth_return()
A
39 11 66
get_subscription_list_data()
A
39 11 64
_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
get_product_usage_notice_rules()
A
45 7 41
helper_subscription_deactivate()
S
51 7 25
_helper_subscription_activate()
S
51 7 25
activate_plugin()
S
54 7 20
connect_theme()
S
49 5 33
get_available_subscription()
S
56 6 18
add_api_error_notice()
S
48 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_extensions_update_notice()
S
53 5 22
get_filters_counts()
S
57 5 16
remove_api_error_notice()
S
58 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
get_installed_subscriptions()
S
56 4 18
get_unconnected_subscriptions()
S
56 4 18
deactivate_helper_subscription()
S
50 3 30
_woo_core_update_available()
S
60 4 14
get_product_subscription_state()
S
59 4 13
_flush_authentication_cache()
S
54 3 24
get_local_themes()
S
55 3 20
get_local_plugins()
S
56 3 19
_helper_auth_refresh()
S
57 3 17
_helper_auth_disconnect()
S
57 3 17
activate_helper_subscription()
S
56 3 17
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
_get_subscriptions_from_product_id()
S
67 3 7
maybe_redirect_to_new_marketplace_installer()
S
62 2 13
_get_local_from_product_id()
S
61 2 13
get_subscription()
S
62 2 12
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_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_product_name()
S
78 1 3
_sort_by_name()
S
78 1 3
get_cached_connection_data()
S
80 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
load()
S
66 1 8
get_view_filename()
S
79 1 3