WC_Helper D

Total Complexity 338
Dependencies 11
Dependents 14
Total lines 2,586
Lines of code 1,655
Logical lines of code 810
Comment lines 574
Methods 66
Properties 1

Methods 66

Method Rating Maintainability Complexity Lines of code
render_helper_output()
D
22
28 226
_get_return_notices()
B
32 20 112
get_local_woo_plugins()
A
44 13 42
get_subscriptions()
A
45 13 39
_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
helper_subscription_deactivate()
S
51 7 25
_helper_subscription_activate()
S
51 7 25
activate_helper_subscription()
S
53 7 21
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_product_usage_notice_rules()
S
53 5 24
get_notices()
S
53 5 23
_get_extensions_update_notice()
S
53 5 22
get_filters_counts()
S
57 5 16
admin_enqueue_scripts()
S
62 6 9
is_subscription_available()
S
57 4 19
wccom_activate()
S
55 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
verify_request_hash()
S
59 3 14
update_auth_option()
S
56 2 20
_get_subscriptions_from_product_id()
S
67 3 7
log()
S
65 3 9
get_current_filter()
S
65 3 8
_get_local_from_product_id()
S
61 2 13
maybe_redirect_to_new_marketplace_installer()
S
62 2 13
get_subscription()
S
62 2 12
disconnect()
S
58 1 16
get_source_page()
S
73 2 4
add_utm_params_to_url_for_subscription_link()
S
64 2 10
get_filters()
S
60 1 13
includes()
S
62 1 12
get_install_base_url()
S
79 1 3
get_woocommerce_com_base_url()
S
78 1 3
is_site_connected()
S
74 1 4
flush_product_usage_notice_rules_cache()
S
80 1 3
_sort_by_name()
S
78 1 3
_sort_by_product_name()
S
78 1 3
_flush_updates_cache()
S
81 1 3
load()
S
66 1 8
_flush_subscriptions_cache()
S
80 1 3
refresh_helper_subscriptions()
S
71 1 7
get_subscription_install_url()
S
65 1 9
has_product_subscription()
S
74 1 4
get_view_filename()
S
79 1 3