Code Analysis: Wildrobot frakt integrasjon 6.13.2

Function Rating Maintainability Complexity Lines of code
WC_Logistra_Robots_Shipping_Method::calculate_shipping()
D
6
109 345
logistra_robots_shipping_method_init()
D
11
2 760
Wildrobot_Logistra_Migration::options_6_0_0()
D
33 41 68
Wildrobot_Logistra_Consignment::to_json()
D
24
29 200
Wildrobot_Logistra_Consignment::send_backend()
D
28
33 125
Wildrobot_Logistra_Consignment::to_estimate()
D
30 31 113
Wildrobot_Logistra_Deprecated_V6::migrate_shipping_method_relation_from_below_version_5()
C
31 23 108
Wildrobot_Logistra_DHL::get_dhl_electronic_invoice_data()
C
30 22 106
Wildrobot_Logistra_Cargonizer::get_service_partners()
C
32 22 99
Wildrobot_Logistra_Consignment_Order::get_consignment_args_from_order_id()
C
29
18 153
Wildrobot_Logistra_Ajax::get_service_partners()
B
33 19 110
WC_Logistra_Robots_Shipping_Method::settings()
B
22
2 325
Wildrobot_Logistra_Consignment::normalize_weight_and_dimensions()
B
41 18 57
Wildrobot_Logistra_Delivery_Relations::get_all_relations()
B
38 17 71
Wildrobot_Logistra_Ajax::parse_value()
B
45 17 40
Wildrobot_Logistra_Ajax::get_deliverable_orders()
A
40 13 60
Wildrobot_Logistra_Consignment::packages()
A
45 14 36
Wildrobot_Logistra_Consignment::__construct()
A
29 7 136
Wildrobot_Logistra_Order_Utils::get_dimensions_from_order()
A
41 12 58
Wildrobot_Logistra_Order_Utils::get_dimensions_from_package()
A
41 11 58
Wildrobot_Logistra_Order_Utils::get_deliverable_consignments_for_order()
A
38 10 69
Wildrobot_Logistra_Consignment_Order::consignee()
A
46 12 33
Wildrobot_Logistra_Consignment::transfer_time()
A
49 12 31
Wildrobot_Logistra_Order_Utils::get_weight_for_order()
A
48 12 31
Wildrobot_Logistra_DHL::wildrobot_logistra_woocommerce_wp_select_multiple()
A
50 12 21
Wildrobot_Logistra_Options::set_dev()
A
49 11 25
Wildrobot_Logistra_Options::set_prod()
A
49 11 25
Wildrobot_Logistra_Consignment::goods_letter()
A
37 6 82
Wildrobot_Logistra_Consignment::print_time()
A
54 10 21
Wildrobot_Logistra_Order_Utils::bulk_send_order()
A
43 8 45
Wildrobot_Logistra_Ajax::complete_picklist()
A
44 8 41
Wildrobot_Logistra_Public::logistra_robots_cart_shipping_template_args()
A
44 7 46
Wildrobot_Logistra_Order_Utils::send_order()
A
48 8 30
Wildrobot_Logistra_DHL::logistra_robots_save_shipping_option_commodity_code()
A
53 8 22
Wildrobot_Logistra_Ajax::create_consignment_for_order_id()
A
47 7 36
run_wildrobot_logistra()
S
45 6 44
Wildrobot_Logistra_Cargonizer::estimate_consignment()
S
49 7 28
Wildrobot_Logistra_Cargonizer::get_printers()
S
46 6 39
Wildrobot_Logistra_Consignment::service_partner()
S
52 7 23
Wildrobot_Logistra_Consignment_Order::parse_name_for_order()
S
55 7 18
Wildrobot_Logistra_Admin::order_actions()
S
55 7 16
Wildrobot_Logistra_Admin::edit_order_box_content_send()
S
55 7 16
Wildrobot_Logistra_DB::update_delivery_relation()
S
49 6 31
Wildrobot_Logistra_Order_Utils::add_product_box()
S
51 6 27
Wildrobot_Logistra_Consignment::get_transfer_time()
S
52 6 24
Wildrobot_Logistra_Deprecated_V6::get_shipping_method_data()
S
46 5 38
Wildrobot_Logistra_Migration::freight_relations_6_0_0()
S
46 5 37
Wildrobot_Logistra_Backend::create_picklist()
S
47 5 35
Wildrobot_Logistra_Ajax::get_consignment_args_from_order()
S
48 5 32
Wildrobot_Logistra_Cargonizer::better_array_unique()
S
58 6 15
Wildrobot_Logistra_Picklist::bulk_picklist_order()
S
50 5 27
Wildrobot_Logistra_Ajax::create_consignment_from_args()
S
51 5 27
Wildrobot_Logistra_Options::update_options()
S
48 4 37
Wildrobot_Logistra_Consignment::get_print_time()
S
54 5 21
Wildrobot_Logistra_Public::wildrobot_logistra_locate_template()
S
57 5 18
Wildrobot_Logistra_Ajax::check_array()
S
56 5 17
Wildrobot_Logistra_Public::wildrobot_logistra_woocommerce_checkout_process()
S
63 6 10
Wildrobot_Logistra_DB::normalize_some_shipping_method_identifier()
S
58 5 14
Wildrobot_Logistra_DHL::logistra_robots_add_shipping_option_commodity_code()
S
43 2 55
Wildrobot_Logistra_Ajax::get_deliverable_order_options()
S
53 4 22
Wildrobot_Logistra_Admin::add_wildrobot_order_meta_values_to_order_query()
S
56 4 21
Wildrobot_Logistra_Ajax::add_ajax_events()
S
49 3 35
Wildrobot_Logistra_DB::get_method_and_instance_from_shipping_method()
S
56 4 18
Wildrobot_Logistra_Deprecated_V6::get_method_and_instance_from_shipping_method()
S
56 4 18
Wildrobot_Logistra_Public::add_picklist_to_page()
S
64 5 9
Wildrobot_Logistra_Ajax::define_ajax()
S
62 5 10
Wildrobot_Logistra_Utils::is_test_enviroment()
S
58 4 15
Wildrobot_Logistra_DB::get_transport_agreement_for_logistra_identifier()
S
59 4 14
Wildrobot_Logistra_DB::get_transport_agreement_for_product_unsafe()
S
59 4 14
Wildrobot_Logistra_Options::set_semi_constants()
S
59 4 14
Wildrobot_Logistra_Consignment_Order::country()
S
62 4 13
Wildrobot_Logistra_Options::get_public_options()
S
60 4 12
Wildrobot_Logistra_Backend::create_consignments()
S
51 3 26
Wildrobot_Logistra_Consignment_Order::electronic_invoice()
S
51 3 26
Wildrobot_Logistra_Ajax::create_goods_letter()
S
54 3 22
Wildrobot_Logistra_Consignment::return_address()
S
54 3 21
Wildrobot_Logistra_Consignment_Order::transport_description()
S
54 3 20
Wildrobot_Logistra_Ajax::print_picklist()
S
56 3 19
Wildrobot_Logistra_Ajax::get_order_freight_label_url()
S
55 3 19
Wildrobot_Logistra_Picklist::create_picklist()
S
56 3 16
Wildrobot_Logistra_Activator::install_db()
S
51 2 31
Wildrobot_Logistra_Order_Utils::calculate_volume()
S
69 4 6
Wildrobot_Logistra_User::save_user_printer()
S
64 4 9
Wildrobot_Logistra_Consignment_Order::packages()
S
58 3 15
Wildrobot_Logistra_Consignment::weight()
S
64 4 9
Wildrobot_Logistra_Picklist::wpo_wcpdf_custom_styles()
S
58 2 29
Wildrobot_Logistra_DB::delete_delivery_relation()
S
59 3 14
Wildrobot_Logistra_DB::get_delivery_relation()
S
59 3 14
Wildrobot_Logistra_Consignment::printer()
S
60 3 14
Wildrobot_Logistra_Consignment::terms_of_delivery()
S
60 3 13
Wildrobot_Logistra_Ajax::wc_ajax_headers()
S
60 3 13
Wildrobot_Logistra_Ajax::do_wc_ajax()
S
60 3 13
Wildrobot_Logistra_Consignment::electronic_invoice()
S
52 2 27
Wildrobot_Logistra_Consignment::customs_value()
S
61 3 12
Wildrobot_Logistra_Picklist::wildrobot_logistra_packing_slip_qr_code()
S
63 3 11
Wildrobot_Logistra_User::user_printer()
S
54 2 24
WC_Logistra_Robots_Shipping_Method::init()
S
46 1 37
Wildrobot_Logistra::define_admin_hooks()
S
46 1 37
Wildrobot_Logistra_Cargonizer::get_endpoint()
S
58 2 17
Wildrobot_Logistra_Consignment_Order::get_order_amounts()
S
57 2 17
Wildrobot_Logistra_Options::get_admin_options()
S
56 2 17
Wildrobot_Logistra_Admin::edit_order_box_content_return()
S
64 3 8
Wildrobot_Logistra_Migration::run_migrations()
S
65 3 9
Wildrobot_Logistra_Consignment_Order::postcode()
S
65 3 10
Wildrobot_Logistra_Delivery_Relations::merge_with_relation()
S
66 3 8
Wildrobot_Logistra_Order_Utils::get_smallest_dimension()
S
64 3 10
Wildrobot_Logistra_Consignment::consignee_message()
S
63 3 10
Wildrobot_Logistra_Consignment::check_required()
S
75 3 4
Wildrobot_Logistra_Admin::display_tracking_in_email()
S
63 3 8
Wildrobot_Logistra_Loader::run()
S
66 3 8
Wildrobot_Logistra_Consignment_Order::city()
S
65 3 10
Wildrobot_Logistra_Options::get_options_safe()
S
63 3 10
Wildrobot_Logistra_Ajax::get_delivery_relation()
S
60 2 14
Wildrobot_Logistra_Ajax::update_delivery_relation()
S
60 2 14
Wildrobot_Logistra_Ajax::get_options()
S
60 2 14
Wildrobot_Logistra_Ajax::update_options()
S
60 2 14
Wildrobot_Logistra_Consignment::dhl_express_pickup()
S
59 2 14
Wildrobot_Logistra_Ajax::get_printers()
S
59 2 14
Wildrobot_Logistra_Ajax::set_prod()
S
61 2 13
Wildrobot_Logistra_Ajax::get_deliverable_order()
S
60 2 13
Wildrobot_Logistra_Ajax::get_delivery_relations()
S
61 2 13
Wildrobot_Logistra_Ajax::get_pages()
S
61 2 13
Wildrobot_Logistra_Ajax::set_dev()
S
61 2 13
Wildrobot_Logistra_Cargonizer::get_headers()
S
63 2 12
Wildrobot_Logistra::__construct()
S
62 2 12
Wildrobot_Logistra_Delivery_Relations::get_relation()
S
63 2 11
Wildrobot_Logistra_DB::get_delivery_relation_with_transport_agreement()
S
61 2 11
Wildrobot_Logistra_Consignment::consignee()
S
52 1 26
Wildrobot_Logistra_Public::get_js_file_path()
S
61 2 11
Wildrobot_Logistra_Admin::get_js_file_path()
S
61 2 11
Wildrobot_Logistra::load_dependencies()
S
53 1 23
Wildrobot_Logistra_Deprecated_V6::get_shipping_method_data_without_shipping_method()
S
57 1 16
Wildrobot_Logistra_DB::encode_data()
S
71 2 6
Wildrobot_Logistra_Consignment::transport_description()
S
66 2 8
Wildrobot_Logistra_Consignment::carrier_message()
S
66 2 8
Wildrobot_Logistra_Picklist::bulk_actions_picklist_order()
S
69 2 6
Wildrobot_Logistra_DB::get_transport_product_and_agreement_id()
S
63 2 10
Wildrobot_Logistra_Admin::special_script_enqueue_tags()
S
70 2 6
Wildrobot_Logistra_Cargonizer::get_url()
S
71 2 6
Wildrobot_Logistra_Consignment_Order::consignee_message()
S
67 2 7
Wildrobot_Logistra_DB::get_delivery_relations()
S
64 2 9
Wildrobot_Logistra_Picklist::wcpdf_custom_mm_page_size()
S
66 2 8
Wildrobot_Logistra_Admin::display_logistra_robots_settings()
S
70 2 7
WC_Logistra_Robots_Shipping_Method::__construct()
S
62 1 12
Wildrobot_Logistra_Admin::enqueue_scripts()
S
61 1 11
Wildrobot_Logistra_Public::enqueue_scripts()
S
61 1 11
Wildrobot_Logistra_Public::add_service_partner_picker_field()
S
62 1 11
Wildrobot_Logistra_Picklist::picklist_qr_code_url()
S
65 1 9
Wildrobot_Logistra_Admin::wildrobot_woocommerce_submenu_link()
S
73 1 4
Wildrobot_Logistra_DB::decode_data()
S
74 1 4
Wildrobot_Logistra_Cargonizer::init()
S
89 1 2
Wildrobot_Logistra_Picklist::__construct()
S
77 1 4
Wildrobot_Logistra_Order_Utils::__construct()
S
77 1 4
Wildrobot_Logistra_Loader::add()
S
64 1 10
Wildrobot_Logistra_Consignment_Order::customs_value()
S
69 1 7
Wildrobot_Logistra_i18n::load_plugin_textdomain()
S
69 1 7
Wildrobot_Logistra_Frontend::__construct()
S
77 1 4
Wildrobot_Logistra_Activator::update()
S
80 1 3
Wildrobot_Logistra_Admin::edit_order_return_order_box()
S
76 1 3
Wildrobot_Logistra_Public::__construct()
S
77 1 4
Wildrobot_Logistra::get_loader()
S
82 1 3
Wildrobot_Logistra_User::__construct()
S
77 1 4
Wildrobot_Logistra::get_version()
S
82 1 3
Wildrobot_Logistra_Admin::__construct()
S
77 1 4
Wildrobot_Logistra_Public::enqueue_styles()
S
91 1 2
Wildrobot_Logistra_Admin::enqueue_styles()
S
77 1 3
Wildrobot_Logistra_Admin::add_woocommerce_settings_tab()
S
72 1 5
Wildrobot_Logistra_Consignment::trim_customer_messages()
S
77 1 3
Wildrobot_Logistra_Options::all_options_keys()
S
65 1 10
Wildrobot_Logistra::get_plugin_name()
S
82 1 3
Wildrobot_Logistra_Loader::add_action()
S
77 1 3
Wildrobot_Logistra_Utils::init()
S
89 1 2
Wildrobot_Logistra_Picklist::create_picklist_pdf()
S
72 1 5
Wildrobot_Logistra_Consignment::toLocalTime()
S
63 1 10
Wildrobot_Logistra_Delivery_Relations::delete_relation()
S
79 1 3
Wildrobot_Logistra_Loader::add_filter()
S
77 1 3
Wildrobot_Logistra_DB::init()
S
89 1 2
Wildrobot_Logistra_Ajax::check_security()
S
79 1 3
Wildrobot_Logistra_Admin::edit_order_deliver_order_box()
S
76 1 3
Wildrobot_Logistra::set_locale()
S
75 1 4
Wildrobot_Logistra_Options::all_options()
S
67 1 10
Wildrobot_Logistra_Deprecated_V6::get_shipping_method_export_settings()
S
65 1 8
Wildrobot_Logistra_Picklist::picklist_fullfill_url()
S
67 1 7
Wildrobot_Logistra_Consignment::to_args()
S
80 1 3
Wildrobot_Logistra_Consignment_Order::carrier_message()
S
80 1 3
Wildrobot_Logistra_Deprecated_V6::get_shipping_method_priority_settings()
S
67 1 7
Wildrobot_Logistra_Delivery_Relations::__construct()
S
77 1 4
Wildrobot_Logistra_Migration::__construct()
S
77 1 4
Wildrobot_Logistra_Options::__construct()
S
77 1 4
add_logistra_robots_shipping_method()
S
77 1 4
Wildrobot_Logistra_Order_Utils::bulk_actions_send_order_transport()
S
75 1 4
Wildrobot_Logistra::run()
S
82 1 3
Wildrobot_Logistra_Admin::add_service_partner_picker_field_to_checkout()
S
76 1 3
Wildrobot_Logistra_Deactivator::deactivate()
S
89 1 2
Wildrobot_Logistra_Order_Utils::get_weight_for_cart()
S
75 1 4
Wildrobot_Logistra_Activator::activate()
S
80 1 3
Wildrobot_Logistra_DHL::__construct()
S
77 1 4
Wildrobot_Logistra_Backend::__construct()
S
91 1 2
deactivate_wildrobot_logistra()
S
76 1 4
Wildrobot_Logistra::define_public_hooks()
S
62 1 10
Wildrobot_Logistra_Ajax::get_endpoint()
S
75 1 3
activate_wildrobot_logistra()
S
76 1 4
Wildrobot_Logistra_Ajax::init()
S
72 1 5
Wildrobot_Logistra_Consignment::add_error()
S
80 1 3
Wildrobot_Logistra_Ajax::check_field()
S
75 1 4
Wildrobot_Logistra_Admin::display_pick_and_delivery_page()
S
79 1 4
Wildrobot_Logistra_Loader::__construct()
S
77 1 4