WC_Legacy_REST_API_Plugin S

Total Complexity 28
Dependencies 4
Dependents 0
Total lines 166
Lines of code 90
Logical lines of code 48
Comment lines 48
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
maybe_add_hpos_incompatibility_admin_notice()
S
57 4 17
on_plugin_deactivated()
S
62 4 12
on_woocommerce_init()
S
62 3 12
on_plugin_activated()
S
63 3 11
maybe_remove_hpos_incompatibility_admin_notice()
S
73 3 5
register_hook_handlers()
S
61 2 11
hpos_is_enabled()
S
77 2 3
on_before_woocommerce_init()
S
71 2 5
legacy_api_still_in_woocommerce()
S
77 2 3
on_all_plugins()
S
71 1 5
woocommerce_is_active()
S
80 1 3
user_has_dismissed_admin_notice()
S
76 1 3