WC_Helper D

Total Complexity 294
Dependencies 8
Dependents 9
Total lines 2,229
Lines of code 1,475
Logical lines of code 708
Comment lines 450
Methods 53
Properties 1

Methods 53

Method Rating Maintainability Complexity Lines of code
render_helper_output()
D
22
28 226
_get_return_notices()
B
32 20 112
activated_plugin()
A
41 13 56
get_local_woo_plugins()
A
44 13 42
_helper_auth_return()
A
40 11 65
_filter()
A
48 13 33
get_subscriptions()
A
45 12 37
get_subscription_list_data()
A
40 10 61
current_screen()
A
50 11 31
activate_helper_subscription()
A
46 10 36
deactivated_plugin()
A
44 8 46
get_subscription_local_data()
A
46 8 41
_helper_plugin_deactivate()
A
46 8 37
get_local_woo_themes()
A
46 8 37
_helper_auth_connect()
A
43 7 52
is_subscription_installed()
A
50 7 34
_helper_subscription_activate()
S
50 7 25
helper_subscription_deactivate()
S
51 7 25
get_helper_redirect_url()
S
49 6 33
admin_notices()
S
57 6 17
connect_with_password()
S
49 5 30
_get_extensions_update_notice()
S
53 5 22
_helper_auth_disconnect()
S
55 4 19
_helper_auth_refresh()
S
55 4 19
is_subscription_available()
S
57 4 19
get_filters_counts()
S
58 4 16
admin_enqueue_scripts()
S
62 5 9
deactivate_helper_subscription()
S
50 3 30
_woo_core_update_available()
S
60 4 14
get_subscription_install_url()
S
52 3 25
_flush_authentication_cache()
S
54 3 23
get_local_themes()
S
55 3 20
get_local_plugins()
S
56 3 19
update_auth_option()
S
57 2 19
_get_subscriptions_from_product_id()
S
67 3 7
maybe_redirect_to_new_marketplace_installer()
S
59 2 15
get_current_filter()
S
65 3 8
log()
S
65 3 9
_get_local_from_product_id()
S
61 2 13
get_subscription()
S
62 2 12
add_utm_params_to_url_for_subscription_link()
S
64 2 10
get_filters()
S
60 1 13
disconnect()
S
63 1 12
_sort_by_name()
S
78 1 3
is_site_connected()
S
74 1 4
get_view_filename()
S
78 1 3
_sort_by_product_name()
S
78 1 3
_flush_updates_cache()
S
81 1 3
_flush_subscriptions_cache()
S
80 1 3
load()
S
66 1 8
refresh_helper_subscriptions()
S
72 1 6
includes()
S
65 1 9
has_product_subscription()
S
74 1 4