WC_Helper D

Total Complexity 296
Dependencies 9
Dependents 9
Total lines 2,245
Lines of code 1,476
Logical lines of code 708
Comment lines 462
Methods 54
Properties 1

Methods 54

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
get_subscriptions()
A
45 13 39
_filter()
A
48 13 33
get_subscription_list_data()
A
40 10 61
_helper_auth_return()
A
41 9 61
current_screen()
A
50 11 31
activate_helper_subscription()
A
46 10 36
get_helper_redirect_url()
A
45 9 45
_helper_auth_connect()
A
41 8 59
get_local_woo_themes()
A
46 9 37
deactivated_plugin()
A
44 8 46
get_subscription_local_data()
A
46 8 41
_helper_plugin_deactivate()
A
46 8 37
is_subscription_installed()
A
50 7 34
_helper_subscription_activate()
S
50 7 25
helper_subscription_deactivate()
S
51 7 25
admin_notices()
S
57 6 17
connect_with_password()
S
49 5 30
_get_extensions_update_notice()
S
53 5 22
get_filters_counts()
S
57 5 16
is_subscription_available()
S
57 4 19
admin_enqueue_scripts()
S
62 5 9
deactivate_helper_subscription()
S
50 3 30
_woo_core_update_available()
S
60 4 14
_flush_authentication_cache()
S
54 3 23
get_local_themes()
S
55 3 20
get_local_plugins()
S
56 3 19
_helper_auth_disconnect()
S
57 3 17
_helper_auth_refresh()
S
57 3 17
update_auth_option()
S
57 2 19
get_current_filter()
S
65 3 8
log()
S
65 3 9
_get_subscriptions_from_product_id()
S
67 3 7
_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
add_utm_params_to_url_for_subscription_link()
S
64 2 10
get_filters()
S
60 1 13
disconnect()
S
63 1 12
includes()
S
63 1 11
_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
has_product_subscription()
S
74 1 4
get_subscription_install_url()
S
65 1 9
refresh_helper_subscriptions()
S
72 1 6
get_install_base_url()
S
74 1 4