Code Analysis: Integration for Epos Now and WooCommerce 3.0.8

Function Rating Maintainability Complexity Lines of code
sew_build_order_data()
C
29
28 127
sew_check_webhooks()
C
40 25 53
sew_woocommerce_order_refunded()
B
38 23 65
getRefundLineItems()
B
36 21 83
sew_wc_webhook_delivery_response()
B
37 18 73
sew_get_products()
B
39 16 64
sew_process_refund_orders()
B
38 15 67
sew_process_product_stock()
B
36 13 92
sew_wc_webhook_payload()
A
43 15 46
sln_save_variation_settings_fields()
A
42 14 55
sew_filter_orders_before_sending()
A
44 14 42
sew_product_save_options()
A
43 13 50
sew_initialise()
A
38 11 73
sew_get_all_product_variations()
A
44 10 45
variation_settings_fields()
A
35 6 103
add_slynk_epos_now_product_data_fields()
A
35 6 102
sew_process_orders()
A
44 9 44
sew_update_product()
A
43 8 47
sln_suppress_eposnow_order_emails()
A
49 9 29
sew_update_orders()
A
48 7 33
checkEpnWcMeasurementUnits()
S
59 8 13
sew_api_register_routes()
S
38 1 113
slynk_validation_admin_notices()
S
56 7 17
sew_setup_options()
S
57 6 18
sew_deleteLogFile()
S
57 6 16
sew_get_all_tax_classes()
S
51 5 27
sew_check_user_role()
S
52 5 24
sew_update_wc_order_sync_status()
S
57 5 17
sew_wc_orders_handle_custom_query_var()
S
51 4 31
sew_log_data()
S
58 5 14
getOrderBundleCompositeItems()
S
59 5 14
sew_delete_all_webhooks()
S
62 5 12
sew_save_product_stock_instant()
S
51 4 26
sew_get_webhooks()
S
53 4 24
sew_check_versions()
S
55 4 19
sew_check_refund_order_date_valid()
S
57 4 18
sew_handle_preflight()
S
59 4 15
sew_get_super_admin_id()
S
60 4 14
sew_plugin_activate()
S
59 4 14
sew_setup_cron_jobs()
S
61 4 13
sew_woocommerce_update_product_callback()
S
61 4 11
sew_check_product_webhook_from_stock()
S
53 3 22
sew_wc_webhook_headers()
S
56 3 17
sew_check_activation()
S
58 3 15
sew_save_product_stock()
S
59 3 14
check_any_refund_needs_to_process()
S
59 3 14
sew_product_stock_update_json_file()
S
59 3 13
sew_check_order_date_valid()
S
61 3 13
sew_custom_wc_orders_cols()
S
62 3 11
sew_create_webhook()
S
53 2 22
sew_add_custom_user_profile_fields()
S
59 2 20
sew_wc_build_product_data()
S
58 2 16
sew_log_all_api_responses()
S
57 2 16
getRefundShipping()
S
58 2 15
sew_check_webhook_ours()
S
66 3 8
sew_custom_wc_orders_cols_func()
S
63 3 10
sew_woocommerce_delete_product_callback()
S
65 3 8
sew_woocommerce_create_product_callback()
S
65 3 8
sew_filter_wc_order_status_keys()
S
65 3 9
sew_admin_enqueue()
S
65 3 8
sew_order_sync()
S
67 3 8
getRefundTaxLines()
S
58 2 15
sew_get_sync_status_for_order()
S
59 2 14
sew_action_woocommerce_change_stock()
S
61 2 12
sew_add_new_topic_hooks()
S
56 1 23
sew_add_cron_interval()
S
54 1 23
sew_api_options_init()
S
55 1 22
sew_api_admin_menu()
S
59 1 18
sew_compare_dates()
S
66 2 9
sew_wc_order_action()
S
69 2 7
sew_plugin_deactivate()
S
68 2 8
cron_setup_callback()
S
64 2 10
sew_checkSetLogFile()
S
67 2 8
sew_orders_woocommerce_actions_filters_init()
S
60 1 12
sew_add_new_webhook_topics()
S
62 1 11
sew_plugin_activate_set_flag()
S
80 1 3
sew_wc_order_add_meta_box()
S
77 1 3
sew_add_new_topic_events()
S
70 1 6
sew_products_woocommerce_actions_filters_init()
S
63 1 10
sew_cron_twicedaily()
S
79 1 4
sew_delete_webhook()
S
76 1 4
sew_update_product_stock()
S
71 1 5
sln_select_plugin_scripts()
S
79 1 3
sew_cron_daily()
S
83 1 3
sew_refund_webhook_log()
S
80 1 3
sew_api_authentication()
S
73 1 5
sew_admin_menu_main_display()
S
83 1 3
sew_refund_log()
S
80 1 3
sew_update_webhook()
S
71 1 6
sew_print_pre()
S
80 1 3
sew_admin_menu_settings_display()
S
80 1 3
sew_admin_menu_log_settings_display()
S
80 1 3
sew_send_order_to_slynk_manually()
S
71 1 5
sew_webhooks_woocommerce_actions_filters_init()
S
66 1 8
sew_custom_checkout_field_display_admin_order_meta()
S
62 1 10
sew_woocommerce_refund_created()
S
79 1 3
sew_send_order_refund_to_slynk_manually()
S
71 1 5
sew_remove_cron_jobs()
S
70 1 7
slynk_epos_now_product_data_tab()
S
67 1 8