WC_Connect_Loader D

Total Complexity 247
Dependencies 60
Dependents 7
Total lines 1,970
Lines of code 1,221
Logical lines of code 662
Comment lines 278
Methods 119
Properties 39

Methods 119

Method Rating Maintainability Complexity Lines of code
add_tracking_info_to_emails()
B
37 17 73
track_completed_order()
A
42 13 51
render_schema_notices()
A
47 13 33
should_render_upgrade_banner()
A
52 10 26
rest_api_init()
A
35 3 95
display_wcst_to_wcshipping_migration_notice()
S
44 5 49
pre_wc_init()
S
54 6 21
get_service_schema_defaults()
S
56 6 18
schedule_service_schemas_fetch()
S
60 6 12
load_dependencies()
S
40 2 65
add_sift_js_tracker()
S
53 4 28
shipping_rate_packaging_debug_log_meta_box()
S
48 3 37
should_show_shipping_debug_meta_box()
S
61 4 13
shipping_service_settings()
S
52 3 27
can_add_wc_admin_notice()
S
63 4 11
add_shipping_phone_to_checkout()
S
54 3 21
attach_hooks()
S
56 3 18
__construct()
S
57 3 17
on_plugins_loaded()
S
57 3 17
load_admin_dependencies()
S
56 3 17
get_active_shipping_services()
S
58 3 17
admin_enqueue_scripts()
S
49 2 31
get_i18n_json()
S
63 4 10
maybe_render_upgrade_banner()
S
63 4 10
log_rest_api_errors()
S
62 3 11
enqueue_wc_connect_script()
S
48 1 36
plugin_deactivation()
S
56 2 19
init_live_rates()
S
55 2 18
add_meta_boxes()
S
61 3 10
get_shipping_or_billing_phone_from_order()
S
68 3 7
localize_and_enqueue_service_script()
S
62 2 13
init_shipping_labels()
S
57 1 16
register_wcshipping_migration_modal()
S
58 1 16
queue_service_schema_refresh()
S
68 2 7
hide_wc_connect_order_meta_data()
S
70 2 6
woocommerce_load_shipping_methods()
S
68 2 7
woocommerce_shipping_methods()
S
68 2 7
get_service_object_by_id()
S
70 2 6
shipping_zone_method_added()
S
73 2 5
shipping_zone_method_deleted()
S
70 2 6
shipping_zone_method_status_toggled()
S
72 2 5
init_service()
S
66 2 9
add_method_to_shipping_zone()
S
64 2 10
get_wc_connect_base_url()
S
77 2 3
get_wcs_admin_style_url()
S
68 2 7
get_wcs_version()
S
68 2 7
are_woo_shipping_and_woo_tax_active()
S
74 2 4
wc_api_dev_init()
S
63 2 10
delete_notices()
S
71 2 6
reports_tabs()
S
60 1 14
get_service_settings_store()
S
82 1 3
get_tracks()
S
82 1 3
set_payment_methods_store()
S
81 1 3
get_payment_methods_store()
S
82 1 3
set_service_settings_store()
S
81 1 3
set_tracks()
S
81 1 3
get_rest_account_settings_controller()
S
82 1 3
woocommerce_payment_gateways()
S
82 1 3
is_wc_connect_shipping_service()
S
75 1 4
set_service_schemas_store()
S
81 1 3
hide_wc_connect_package_meta_data()
S
74 1 5
display_woo_shipping_and_woo_tax_are_active_notice()
S
78 1 3
is_wc_shipping_activated()
S
78 1 3
get_wcs_admin_script_url()
S
78 1 3
add_plugin_action_links()
S
64 1 10
add_shipping_phone_to_order_fields()
S
70 1 6
get_logger()
S
82 1 3
set_logger()
S
81 1 3
get_service_schemas_store()
S
82 1 3
get_shipping_logger()
S
82 1 3
set_shipping_logger()
S
81 1 3
tos_rest_init()
S
65 1 9
get_active_services()
S
81 1 3
get_api_client()
S
82 1 3
set_api_client()
S
81 1 3
set_rest_tos_controller()
S
81 1 3
get_rest_services_controller()
S
82 1 3
set_rest_services_controller()
S
81 1 3
set_rest_shipping_label_preview_controller()
S
81 1 3
get_carrier_types_controller()
S
82 1 3
set_rest_migration_flag_controller()
S
81 1 3
set_carrier_types_controller()
S
81 1 3
set_rest_address_normalization_controller()
S
81 1 3
set_rest_shipping_rates_controller()
S
81 1 3
set_rest_shipping_label_print_controller()
S
81 1 3
get_rest_shipping_label_print_controller()
S
82 1 3
get_rest_shipping_label_preview_controller()
S
82 1 3
set_service_schemas_validator()
S
81 1 3
set_rest_shipping_label_refund_controller()
S
81 1 3
get_rest_shipping_label_refund_controller()
S
82 1 3
set_rest_shipping_label_status_controller()
S
81 1 3
get_rest_shipping_label_status_controller()
S
82 1 3
set_rest_shipping_label_controller()
S
81 1 3
get_rest_shipping_label_controller()
S
82 1 3
set_rest_self_help_controller()
S
81 1 3
get_rest_self_help_controller()
S
82 1 3
get_service_schemas_validator()
S
82 1 3
get_settings_pages()
S
82 1 3
set_rest_assets_controller()
S
81 1 3
set_rest_account_settings_controller()
S
81 1 3
set_rest_carriers_controller()
S
81 1 3
set_rest_subscriptions_controller()
S
81 1 3
set_rest_subscription_activate_controller()
S
81 1 3
set_rest_carrier_controller()
S
81 1 3
after_wc_init()
S
75 1 5
save_defaults_to_shipping_method()
S
69 1 6
set_rest_carrier_delete_controller()
S
81 1 3
set_rest_packages_controller()
S
81 1 3
jetpack_on_plugins_loaded()
S
64 1 10
set_settings_pages()
S
81 1 3
load_textdomain()
S
77 1 3
set_label_reports()
S
81 1 3
set_paypal_ec()
S
81 1 3
set_taxjar()
S
81 1 3
plugin_uninstall()
S
77 1 4
set_shipping_label()
S
81 1 3
set_help_view()
S
81 1 3
get_help_view()
S
82 1 3
set_nux()
S
81 1 3