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 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybe_add_hpos_incompatibility_admin_notice() | 57 | 4 | 17 | |
on_plugin_deactivated() | 62 | 4 | 12 | |
on_woocommerce_init() | 62 | 3 | 12 | |
on_plugin_activated() | 63 | 3 | 11 | |
maybe_remove_hpos_incompatibility_admin_notice() | 72 | 3 | 5 | |
register_hook_handlers() | 61 | 2 | 11 | |
hpos_is_enabled() | 77 | 2 | 3 | |
on_before_woocommerce_init() | 71 | 2 | 5 | |
legacy_api_still_in_woocommerce() | 77 | 2 | 3 | |
user_has_dismissed_admin_notice() | 67 | 2 | 7 | |
on_all_plugins() | 71 | 1 | 5 | |
woocommerce_is_active() | 80 | 1 | 3 |