Code Analysis: WPSyncSheets Lite For WooCommerce 1.6

Function Rating Maintainability Complexity Lines of code
WPSSLW_Order::wpsslw_multiple_order_update()
D
6
94 443
WPSSLW_Settings::wpsslw_multiple_update_data()
D
10
88 354
WPSSLW_Default::prepare_value()
D
17
78 203
WPSSLW_Settings::wpsslw_plugin_page()
D
12
57 421
WPSSLW_Default_Headers::prepare_value()
D
20
71 166
WPSSLW_Product::wpsslw_multiple_product_update()
D
15
62 295
WPSSLW_Product::wpsslw_woocommerce_update_product()
D
17
66 219
WPSSLW_Product::wpsslw_update_product_settings()
D
20
50 205
WPSSLW_Order::wpsslw_wc_woocommerce_update_post_meta()
D
23
41 171
WPSSLW_Order::wpsslw_woo_order_status_change_custom()
D
31 46 85
WPSSLW_Order::wpsslw_create_sheet()
D
26
40 138
WPSSLW_Order::wpsslw_insert_data_into_sheet()
C
30 28 110
WPSSLW_Settings::wpsslw_wcgs_trash()
C
35 24 78
WPSSLW_Product::wpsslw_sync_products()
B
34 20 86
WPSSLW_Settings::wpsslw_wcgs_untrash()
B
43 23 37
WPSSLW_Order::wpsslw_make_value_array()
B
36 18 81
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::getClient()
A
40 14 60
WPSSLW_Order::wpsslw_woocommerce_admin_field_set_headers()
A
40 10 67
WPSSLW_Order::wpsslw_clear_all_sheet()
A
42 10 48
WPSSLW_Product::wpsslw_get_product_count()
A
41 9 57
WPSSLW_Order::wpsslw_prepare_sheets()
A
48 10 33
WPSSLW_Order::wpsslw_check_existing_sheet()
A
47 10 33
WPSSLW_Order::wpsslw_woocommerce_admin_field_set_sheets()
A
43 8 56
WPSSLW_Product::wpsslw_make_product_value_array()
A
46 9 38
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::checkcredenatials()
A
55 9 19
WPSSLW_Order::wpsslw_wcgs_restore()
S
57 8 14
WPSSLW_Order::wpsslw_wc_woocommerce_process_post_meta()
S
58 7 14
WPSSLW_Order::wpsslw_update_settings()
S
49 6 28
WPSSLW_Order::wpsslw_get_formatted_values()
S
50 6 28
WPSSLW_Order::wpsslw_move_order()
S
46 5 40
WPSSLW_Order::wpsslw_getItemmeta()
S
52 6 24
WPSSLW_Settings::wpsslw_freeze_header()
S
54 6 19
WPSSLW_Order::wpsslw_wcgs_trash_order()
S
57 6 16
WPSSLW_Order::wpsslw_make_equal()
S
57 6 15
WPSSLW_Default_Headers::wpsslw_price()
S
50 5 29
WPSSLW_Settings::wpsslw_check_sheet_exist()
S
57 5 17
WPSSLW_Product::wpsslw_clear_productsheet()
S
49 4 30
WPSSLW_Order::wpsslw_array_merge_recursive_distinct()
S
62 5 11
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_spreadsheet_listing()
S
53 4 23
WPSSLW_Settings::wpsslw_load_custom_wp_admin_style()
S
56 4 16
WPSSLW_Order::wpsslw_get_settings()
S
43 1 60
WPSSLW_Settings::wpsslw_array_flatten()
S
59 4 14
WPSSLW_Settings::wpsslw_cleanarray()
S
62 4 11
WPSSLW_Order::wpsslw_woocommerce_admin_field_select_spreadsheet()
S
55 3 23
WPSSLW_Settings::wpsslw_menu_page()
S
55 3 19
wpsslw_wc_admin_notice()
S
63 4 10
WPSSLW_Settings::wpsslw_reset_settings()
S
58 3 15
WPSSLW_Settings::wpsslw_get_column_index()
S
60 3 13
WPSSLW_Product::wpsslw_get_product_inputoption()
S
62 3 12
WPSSLW_Settings::wpsslw_delete_sheet()
S
60 3 12
WPSSLW_Settings::wpsslw_check_hpos_order_setting_enabled()
S
63 3 11
WPSSLW_Default::prepare_headers()
S
49 1 31
WPSSLW_Settings::wpsslw_handle_external_redirects()
S
66 3 9
WPSSLW_Settings::wpsslw_find_class()
S
66 3 8
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::instance()
S
65 3 9
WPSSLW_Default::get_header_list()
S
65 3 9
WPSSLW_Dependencies::wpsslw_woocommerce_active_check()
S
69 3 6
WPSSLW_Settings::get_headers_by_key()
S
64 3 10
WPSSLW_Default_Headers::prepare_headers()
S
51 1 26
WPSSLW_Include_Action::wpsslw_include_order_hook()
S
62 2 11
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::freezeobject()
S
58 1 18
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::moveDimensionrequests()
S
59 1 16
WPSSLW_Product::wpsslw_google_api()
S
71 2 6
WPSSLW_Settings::wpsslw_plugin_row_meta()
S
63 2 9
WPSSLW_Dependencies::init()
S
68 2 7
WPSSLW_Order::wpsslw_google_api()
S
71 2 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::newsheetobject()
S
60 1 15
WPSSLW_Settings::wpsslw_google_api()
S
71 2 6
WPSSLW_Google_API::wpsslw_option()
S
67 2 8
WPSSLW_Settings::wpsslw_instance()
S
71 2 6
WPSSLW_Settings::wpsslw_convert_string()
S
66 2 9
WPSSLW_Default_Headers::get_header_list()
S
70 2 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::__construct()
S
75 2 5
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::wpsslw_load_library()
S
73 2 5
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_client_object()
S
69 2 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_drive_object()
S
69 2 7
WPSSLW_Google_API::wpsslw_update_option()
S
69 2 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_sheet_list()
S
68 2 7
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::load_textdomain()
S
70 2 6
WPSSLW_Order::wpsslw_is_productwise()
S
68 2 7
WPSSLW_Include_Action::wpsslw_include_product_compatibility_files()
S
70 2 6
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::wpsslw_include_module_files()
S
73 2 5
WPSSLW_Settings::wpsslw_convert_int()
S
66 2 9
WPSSLW_Include_Action::wpsslw_include_order_compatibility_files()
S
70 2 6
WPSSLW_Order::wpsslw_woocommerce_admin_field_manage_row_field()
S
60 1 14
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::insertdimensionrequests()
S
60 1 14
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::deletesheetobject()
S
61 1 13
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::deleteDimensionrequests()
S
61 1 13
WPSSLW_Order::wpsslw_woocommerce_admin_field_new_spreadsheetname()
S
66 1 12
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_sheet_listing()
S
76 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::clearobject()
S
76 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::multirangevalueupdate()
S
79 1 3
WPSSLW_Google_API::update_entry()
S
77 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::appendentry()
S
79 1 3
WPSSLW_Settings::wpsslw_update_option()
S
79 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::insertdimensionobject()
S
66 1 9
WPSSLW_Settings::wpsslw_load_textdomain()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::updateentry()
S
79 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_object_drive_object()
S
80 1 3
WPSSLW_Order::wpsslw_order_clean_array()
S
72 1 5
WPSSLW_Include_Action::wpsslw_include_order_ajax_hook()
S
70 1 6
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::constants()
S
81 1 3
WPSSLW_Default::get_value()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::createspreadsheet()
S
79 1 3
WPSSLW_Settings::wpsslw_selectively_enqueue_admin_script()
S
77 1 3
WPSSLW_Order::init()
S
69 1 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::loadobject()
S
77 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::valuerangeobject()
S
75 1 4
WPSSLW_Google_API::batchupdatevalues()
S
78 1 3
WPSSLW_Google_API::batchget()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::formatsheet()
S
79 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::clear()
S
79 1 3
WPSSLW_Google_API::get_values()
S
78 1 3
WPSSLW_Settings::wpsslw_option()
S
75 1 4
WPSSLW_Product::__construct()
S
71 1 6
WPSSLW_Include_Action::wpsslw_include_plugin_hook()
S
63 1 10
WPSSLW_Include_Action::wpsslw_include_product_hook()
S
79 1 3
WPSSLW_Default_Headers::get_value()
S
78 1 3
WPSSLW_Google_API::get_sheets()
S
80 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::refreshobject()
S
77 1 4
wpsslw()
S
80 1 3
WPSSLW_Default::__construct()
S
75 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::multirangevaluerequestbody()
S
66 1 9
WPSSLW_Google_API::batchupdate()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::prepare_param()
S
69 1 7
WPSSLW_Settings::init()
S
74 1 5
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::newspreadsheetobject()
S
66 1 10
WPSSLW_Google_API::clearsheet()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::wpsslw_update_option()
S
75 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::createspreadsheetobject()
S
66 1 10
wpsslw_add_action_links()
S
70 1 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::wpsslw_option()
S
72 1 5
WPSSLW_Default_Headers::__construct()
S
75 1 4
WPSSLW_Settings::remove_duplicate_submenu_page()
S
80 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::setparamater()
S
67 1 8
WPSSLW_Include_Action::wpsslw_include_orderfield_hook()
S
67 1 7
WPSSLW_Include_Action::wpsslw_include_product_ajax_hook()
S
70 1 6
WPSSLW_Dependencies::wpsslw_is_woocommerce_active()
S
80 1 3
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::includes()
S
69 1 7
WPSSLW_Google_API::create_spreadsheet()
S
80 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::updatebachrequests()
S
64 1 10
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_row_list()
S
68 1 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::getbatchvalues()
S
76 1 4
WPSSLW_Google_API::append_entry()
S
77 1 3