WC_Legacy_REST_API_Plugin S

Total Complexity 29
Dependencies 4
Dependents 0
Total lines 170
Lines of code 94
Logical lines of code 50
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
72 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
user_has_dismissed_admin_notice()
S
67 2 7
on_all_plugins()
S
71 1 5
woocommerce_is_active()
S
80 1 3