Code Analysis: WPSyncSheets Lite For WooCommerce 1.9.4

Function Rating Maintainability Complexity Lines of code
WPSSLW_Settings::wpsslw_plugin_page()
D
0
180 1,403
WPSSLW_Settings::wpsslw_multiple_update_data()
D
5
110 398
WPSSLW_Order::wpsslw_multiple_order_update()
D
6
94 443
WPSSLW_Customer_Headers::prepare_value()
D
16
83 240
WPSSLW_Default::prepare_value()
D
16
79 210
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_Order::wpsslw_create_sheet()
D
16
64 243
WPSSLW_Product::wpsslw_update_product_settings()
D
18
61 223
WPSSLW_Order::wpsslw_get_orders_count()
D
19
54 218
WPSSLW_Order::wpsslw_sync_sheetswise()
D
22
49 178
WPSSLW_Coupon::wpsslw_update_coupon_settings()
D
23
42 179
WPSSLW_Customer::wpsslw_update_customer_settings()
D
23
42 179
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_Settings::wpsslw_wcgs_untrash()
D
33 45 72
WPSSLW_Coupon_Headers::prepare_value()
D
28
40 139
WPSSLW_Settings::wpsslw_wcgs_trash()
D
27
38 132
WPSSLW_Customer::wpsslw_insert_customer_data_into_sheet()
C
30 30 105
WPSSLW_Order::wpsslw_woocommerce_admin_field_set_headers()
C
27
23 188
WPSSLW_Order::wpsslw_insert_data_into_sheet()
C
30 28 110
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::getClient()
C
35 26 78
WPSSLW_Settings::wpsslw_change_row_background_color()
B
35 20 87
WPSSLW_Product::wpsslw_sync_products()
B
34 20 86
WPSSLW_Order::wpsslw_make_value_array()
B
36 18 81
WPSSLW_Coupon::wpsslw_sync_coupons()
B
36 17 75
WPSSLW_Customer::wpsslw_make_customer_value_array()
B
33 15 100
WPSSLW_Coupon::wpsslw_insert_coupon_data_into_sheet()
B
34 14 93
WPSSLW_General::wpsslw_update_general_settings()
B
39 15 63
WPSSLW_Customer::wpsslw_sync_customers()
A
37 14 68
WPSSLW_Customer::wpsslw_delete_user()
A
38 14 67
WPSSLW_Order::wpsslw_woocommerce_admin_field_set_sheets()
A
35 10 117
WPSSLW_Coupon::wpsslw_coupon_object_updated_props()
A
48 16 26
WPSSLW_Coupon::wpsslw_get_coupon_count()
A
41 10 52
WPSSLW_Order::wpsslw_clear_all_sheet()
A
42 10 48
WPSSLW_Product::wpsslw_get_product_count()
A
40 9 59
WPSSLW_Order::wpsslw_prepare_sheets()
A
48 10 33
WPSSLW_Order::wpsslw_check_existing_sheet()
A
47 10 33
WPSSLW_Customer::wpsslw_get_customer_count()
A
42 8 53
WPSSLW_Product::wpsslw_make_product_value_array()
A
46 9 38
WPSSLW_Order::wpsslw_get_settings()
A
38 6 79
WPSSLW_Settings::wpsslw_get_plugin_changelog()
A
47 8 34
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::checkcredenatials()
A
55 9 19
WPSSLW_Settings::wpsslw_freeze_header()
A
49 8 28
WPSSLW_Order::wpsslw_woocommerce_admin_field_set_custom_sheets()
A
41 5 66
WPSSLW_Order::wpsslw_update_settings()
A
47 7 33
WPSSLW_Order::wpsslw_wcgs_restore()
S
57 8 14
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::addchartobject()
S
36 2 104
WPSSLW_Customer::edit_user_profile_update()
S
54 7 19
WPSSLW_Order::wpsslw_wc_woocommerce_process_post_meta()
S
58 7 14
WPSSLW_Order::wpsslw_get_formatted_values()
S
50 6 28
WPSSLW_Order::wpsslw_woocommerce_admin_field_select_spreadsheet()
S
44 4 56
WPSSLW_Order::wpsslw_move_order()
S
46 5 40
WPSSLW_Order::wpsslw_getItemmeta()
S
52 6 24
WPSSLW_Settings::wpsslw_reset_settings()
S
52 6 23
WPSSLW_Order::wpsslw_wcgs_trash_order()
S
57 6 16
WPSSLW_Order::wpsslw_make_equal()
S
57 6 15
WPSSLW_Coupon::wpsslw_clear_couponsheet()
S
49 5 30
WPSSLW_Default_Headers::wpsslw_price()
S
50 5 29
WPSSLW_Coupon::wpsslw_make_coupon_value_array()
S
51 5 26
WPSSLW_Order::wpsslw_woocommerce_admin_field_sync_button()
S
47 3 48
WPSSLW_Settings::wpsslw_check_sheet_exist()
S
57 5 17
WPSSLW_Product::wpsslw_clear_productsheet()
S
49 4 30
wpsslw_remove_custom_capability_from_all_roles()
S
60 5 14
WPSSLW_Customer::wpsslw_clear_customersheet()
S
50 4 28
WPSSLW_Order::wpsslw_array_merge_recursive_distinct()
S
62 5 11
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::addconditionalformatruleobject()
S
42 1 71
WPSSLW_Settings::wpsslw_load_custom_wp_admin_style()
S
52 4 22
WPSSLW_Order::wpsslw_woocommerce_admin_field_manage_row_field()
S
49 3 35
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_spreadsheet_listing()
S
55 4 20
WPSSLW_Order::wpsslw_check_order_spreadsheet_setting()
S
62 5 10
wpsslw_wc_admin_notice()
S
60 4 14
WPSSLW_Dependencies::init()
S
59 4 14
WPSSLW_Settings::wpsslw_array_flatten()
S
59 4 14
WPSSLW_Customer::wpsslw_customercleanArray()
S
60 4 12
WPSSLW_Settings::wpsslw_cleanarray()
S
62 4 11
wpsslw_add_custom_capability_to_specific_roles()
S
63 4 11
WPSSLW_Settings::wpsslw_menu_page()
S
55 3 19
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_Customer::wpsslw_user_registration_save()
S
61 3 11
WPSSLW_Order::get_headers_by_key()
S
63 3 11
WPSSLW_Settings::wpsslw_check_hpos_order_setting_enabled()
S
63 3 11
WPSSLW_Customer_Headers::prepare_headers()
S
48 1 33
WPSSLW_Default::prepare_headers()
S
49 1 31
WPSSLW_Dependencies::wpsslw_woocommerce_active_check()
S
69 3 6
WPSSLW_Settings::wpsslw_find_class()
S
66 3 8
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::instance()
S
65 3 9
WPSSLW_Settings::wpsslw_handle_external_redirects()
S
66 3 9
WPSSLW_Default::get_header_list()
S
65 3 9
WPSSLW_Settings::get_headers_by_key()
S
64 3 10
WPSSLW_Coupon::wpsslw_get_all_product_categories()
S
60 2 14
WPSSLW_Include_Action::wpsslw_include_order_hook()
S
62 2 11
WPSSLW_Default_Headers::prepare_headers()
S
51 1 26
WPSSLW_Coupon_Headers::prepare_headers()
S
53 1 23
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::updatesheetnameobject()
S
57 1 18
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::moveDimensionrequests()
S
59 1 16
WPSSLW_Google_API::wpsslw_update_option()
S
69 2 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_sheet_list()
S
68 2 7
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::wpsslw_include_module_files()
S
73 2 5
WPSSLW_Include_Action::wpsslw_include_order_compatibility_files()
S
70 2 6
WPSSLW_Settings::wpsslw_convert_int()
S
66 2 9
WPSSLW_Order::wpsslw_is_productwise()
S
68 2 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_drive_object()
S
69 2 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::wpsslw_load_library()
S
73 2 5
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::load_textdomain()
S
70 2 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::newspreadsheetobject()
S
61 1 15
WPSSLW_Settings::wpsslw_plugin_row_meta()
S
63 2 9
WPSSLW_Include_Action::wpsslw_include_customer_compatibility_files()
S
70 2 6
WPSSLW_Settings::wpsslw_instance()
S
71 2 6
WPSSLW_Settings::wpsslw_convert_string()
S
66 2 9
WPSSLW_Settings::wpsslw_google_api()
S
71 2 6
WPSSLW_Default_Headers::get_header_list()
S
70 2 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::__construct()
S
75 2 5
WPSSLW_Google_API::wpsslw_option()
S
67 2 8
WPSSLW_Include_Action::wpsslw_include_product_compatibility_files()
S
70 2 6
WPSSLW_Product::wpsslw_google_api()
S
71 2 6
WPSSLW_Coupon_Headers::get_header_list()
S
70 2 6
WPSSLW_Customer_Headers::get_header_list()
S
70 2 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_client_object()
S
69 2 7
WPSSLW_Order::wpsslw_google_api()
S
71 2 6
WPSSLW_Include_Action::wpsslw_include_coupon_compatibility_files()
S
70 2 6
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::newsheetobject()
S
60 1 15
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::insertdimensionrequests()
S
60 1 14
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::freezeobject()
S
61 1 14
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::deletesheetobject()
S
61 1 13
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::deleteDimensionrequests()
S
61 1 13
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::deleteembeddedobject()
S
61 1 13
WPSSLW_Settings::init()
S
74 1 5
WPSSLW_Product::__construct()
S
71 1 6
WPSSLW_Settings::wpsslw_load_textdomain()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::updateentry()
S
79 1 3
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::constants()
S
81 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::multirangevalueobject()
S
65 1 10
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::valuerangeobject()
S
75 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::loadobject()
S
77 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::clearobject()
S
76 1 4
WPSSLW_Include_Action::wpsslw_include_product_hook()
S
79 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::wpsslw_option()
S
75 1 4
WPSSLW_Customer_Headers::__construct()
S
75 1 4
WPSSLW_Coupon::wpsslw_woo_coupon_headers()
S
70 1 6
WPSSLW_Customer::action_woocommerce_checkout_update_customer()
S
80 1 3
WPSSLW_Include_Action::wpsslw_include_coupon_hook()
S
80 1 3
WPSSLW_Google_API::update_entry()
S
77 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::multirangevalueupdate()
S
79 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_sheet_listing()
S
76 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::getbatchvalues()
S
76 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::formatsheet()
S
79 1 3
WPSSLW_Settings::wpsslw_selectively_enqueue_admin_script()
S
77 1 3
WPSSLW_Google_API::clearsheet()
S
78 1 3
WPSSLW_Google_API::append_entry()
S
77 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::updatebachrequests()
S
64 1 10
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::updatebachrequestsrowcolor()
S
72 1 5
WPSSLW_Default_Headers::__construct()
S
75 1 4
WPSSLW_Include_Action::wpsslw_include_coupon_ajax_hook()
S
73 1 5
WPSSLW_Include_Action::wpsslw_include_customer_hook()
S
68 1 7
WPSSLW_Google_API::batchupdatevalues()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::addconditionalformatrule()
S
72 1 5
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::clear()
S
79 1 3
WPSSLW_Coupon_Headers::get_value()
S
78 1 3
WPSSLW_Default_Headers::get_value()
S
78 1 3
wpsslw_add_action_links()
S
70 1 6
WPSSLW_Include_Action::wpsslw_include_product_ajax_hook()
S
70 1 6
WPSSLW_Customer::__construct()
S
74 1 5
WPSSLW_Settings::remove_duplicate_submenu_page()
S
80 1 3
WPSSLW_Customer_Headers::get_value()
S
77 1 3
WPSSLW_Include_Action::wpsslw_include_orderfield_hook()
S
66 1 8
WPSSLW_Default::__construct()
S
75 1 4
WPSSLW_Order::init()
S
69 1 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_object_drive_object()
S
80 1 3
WPSSLW_Include_Action::wpsslw_include_plugin_hook()
S
63 1 10
WPSSLW_Google_API::get_sheets()
S
80 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::insertdimensionobject()
S
66 1 9
WPSSLW_Include_Action::wpsslw_include_order_ajax_hook()
S
70 1 6
WPSSLW_Google_API::batchget()
S
78 1 3
WPSSLW_Default::get_value()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::get_row_list()
S
68 1 7
WPSSLW_Include_Action::wpsslw_include_customer_ajax_hook()
S
73 1 5
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::prepare_param()
S
69 1 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::refreshobject()
S
77 1 4
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::createspreadsheetobject()
S
66 1 10
WPSSLW_Settings::wpsslw_update_option()
S
79 1 3
WPSSLW_General::__construct()
S
91 1 2
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::setparamater()
S
67 1 8
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::createspreadsheet()
S
79 1 3
WPSSLW_Order::wpsslw_order_clean_array()
S
72 1 5
WPSSLW_Google_API::batchupdate()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::wpsslw_update_option()
S
75 1 4
WPSSLW_Dependencies::wpsslw_is_woocommerce_active()
S
80 1 3
WPSSLW_Coupon::__construct()
S
74 1 5
wpsslw()
S
80 1 3
WPSSLW_Settings::wpsslw_check_license_key()
S
81 1 3
WPSSLW_Google_API::get_values()
S
78 1 3
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::appendentry()
S
79 1 3
WPSSLW_Coupon_Headers::__construct()
S
75 1 4
WPSyncSheetsWooCommerce\WPSyncSheetsWooCommerce::includes()
S
69 1 7
WPSyncSheetsWooCommerce\WPSSLW_Google_API_Functions::multirangevaluerequestbody()
S
66 1 9
WPSSLW_Google_API::create_spreadsheet()
S
80 1 3
WPSSLW_Coupon::wpsslw_couponcleanArray()
S
72 1 5
WPSSLW_Settings::wpsslw_option()
S
75 1 4