Flexible_Shipping_Plugin B

Total Complexity 84
Dependencies 92
Dependents 3
Total lines 752
Lines of code 432
Logical lines of code 223
Comment lines 178
Methods 32
Properties 6

Methods 32

Method Rating Maintainability Complexity Lines of code
option_woocommerce_cod_settings()
A
52 10 25
admin_enqueue_scripts()
A
43 7 50
woocommerce_default_shipment_method()
A
56 9 17
add_flexible_shipping_order_meta_on_checkout()
S
53 7 22
load_dependencies()
S
38 2 79
links_filter()
S
53 5 21
should_enqueue_admin_scripts()
S
59 5 14
hooks()
S
48 1 41
flexible_shipping_method_rate_id()
S
70 3 6
wp_enqueue_scripts()
S
77 3 3
can_register_fs_info()
S
71 3 6
init_free_shipping_notice()
S
66 3 8
init_base_variables()
S
59 2 14
init_beacon()
S
60 2 13
prepare_shoud_display_for_flexible_shipping()
S
59 1 16
enqueue_rules_scripts()
S
59 1 16
is_adding_order_page()
S
74 2 4
init_logger()
S
66 2 8
woocommerce_shipping_methods_filter()
S
67 2 8
is_editing_order_page()
S
71 2 5
init_renderer()
S
68 1 6
init_logger_on_shipping_method()
S
77 1 4
init_contextual_info()
S
68 1 7
init_multicurrency()
S
81 1 3
init()
S
69 1 8
init_external_plugin_access()
S
78 1 3
activate()
S
81 1 3
init_tracker()
S
70 1 7
init_logger_on_shipment()
S
91 1 2
init_assets_url_on_rules_settings_field()
S
80 1 3
init_shipping_zones_notice()
S
79 1 3
__construct()
S
69 1 7