Code Analysis: Spreadsheet Price Change for WooCommerce and WP E-commerce - Light 2.4.2

Function Rating Maintainability Complexity Lines of code
pelm_product_render()
D
0
145 397
pelm_product_render()
D
10
98 284
SCConn_SellingCommander::customers_read()
D
22
51 179
excellikepricechangeforwoocommerceandwpecommercelight::display()
D
13
26 548
SCConn_WC_REST_Orders_Controller::batch_items()
D
26
51 136
SCConn_SellingCommander::set_product_terms()
D
26
47 146
SCConn_SellingCommander::get_subscriptions_and_orders()
D
21
40 233
SCConn_SellingCommander::set_product_variations()
D
27
39 134
SCConn_SellingCommander::__construct()
D
26
37 139
SCConn_SellingCommander::do_media_import()
D
26
35 149
SCConn_SellingCommander::media_read()
D
29
32 125
SCConn_SellingCommander::get_rest_info()
D
26
29 139
SCConn_SellingCommander::admin_utils()
C
31 26 104
excellikepricechangeforwoocommerceandwpecommercelight::register_plugin_menu_item()
C
33 26 83
SCConn_SellingCommander::do_media_update()
C
35 24 83
SCConn_SellingCommander::get_readout_file_path()
C
35 24 77
pelm_update_parent_variation_data()
C
33 22 105
pelm_fn_convert_unit()
C
45 26 36
SCConn_SellingCommander::sellingcommander_local()
B
37 23 65
pelm_update_parent_price_data()
B
34 20 106
SCConn_SellingCommander::products_readout()
B
32 20 101
SCConn_SellingCommander::taxonomy_readout()
B
32 19 114
pelm_fn_get_meta_by_path()
B
38 21 76
pelm_fn_get_meta_by_path()
B
38 21 76
scconn_only_needed_plugins()
B
40 20 54
SCConn_SellingCommander::rest_request_after_callbacks()
B
36 17 80
SCConn_SellingCommander::rest_api_init()
B
28
9 178
SCConn_WC_REST_Products_Controller::get_items()
A
42 15 47
SCConn_SellingCommander::get_product_variations()
A
43 14 50
SCConn_SellingCommander::get_taxonomy_terms()
A
39 12 64
pelm_load_custom_fields()
A
43 12 48
pelm_insert_image_media()
A
39 10 63
SCConn_SellingCommander::onPostDelete()
A
49 11 33
scconn_set_extra_fileds()
A
44 10 44
SCConn_SellingCommander::doRestQuery()
A
46 10 35
SCConn_SellingCommander::getAddedTaxonomyColumns()
A
55 11 18
SCConn_SellingCommander::customers_readout()
A
42 8 53
SCConn_SellingCommander::media_readout()
A
42 8 53
pelm_sc_in_spc()
A
51 9 28
scconn_batch_repack_to_assoc()
A
55 9 20
pelm_fn_show_filed()
A
55 9 20
scconn_read_sanitized_request_parm()
A
48 8 32
SCConn_SellingCommander::sellingcommander_endpoint()
A
48 8 31
SCConn_SellingCommander::check_wp_rest_authentication()
A
50 8 30
SCConn_SellingCommander::update_plugin()
A
44 7 44
SCConn_WC_REST_Products_Controller::batch_items()
A
54 8 22
scconn_is_error()
A
56 8 20
SCConn_SellingCommander::register_plugin_menu_item()
S
51 7 27
excellikepricechangeforwoocommerceandwpecommercelight::saveBackendOptions()
S
50 7 27
SCConn_SellingCommander::getCachedItems()
S
48 6 35
scconn_array_to_assoc()
S
56 7 19
SCConn_SellingCommander::cacheItem()
S
48 6 34
SCConn_SellingCommander::is_scconn_rest_request()
S
56 7 17
pelm_get_category_path()
S
52 6 27
SCConn_SellingCommander::loadCacheTables()
S
51 6 27
excellikepricechangeforwoocommerceandwpecommercelight::__construct()
S
53 6 20
SCConn_SellingCommander::do_rest_file_op()
S
56 6 17
SCConn_SellingCommander::clean_readouts()
S
57 6 15
SCConn_SellingCommander::onPostSave()
S
61 6 13
SCConn_SellingCommander::gzCompressFile()
S
54 5 21
SCConn_SellingCommander::createAccess()
S
45 3 46
scconn_ensure_proper_json()
S
62 6 10
pelm_load_attributes()
S
50 4 27
pelm_on_product_update()
S
61 5 12
SCConn_SellingCommander::user_filter()
S
56 4 19
SCConn_WC_REST_Products_Controller::get_object()
S
58 4 16
pelm_get_float()
S
59 4 15
pelm_get_float()
S
59 4 15
pelm_save_csv_for_cross_req_import()
S
58 4 14
scconn_cors_headers()
S
59 4 14
SCConn_SellingCommander::getCachedItem()
S
59 4 14
SCConn_SellingCommander::deleteAllCache()
S
59 4 14
SCConn_SellingCommander::additionalExtensionsCheck()
S
59 4 13
scconn_read_sanitized_post_parm()
S
61 4 13
scconn_read_sanitized_get_parm()
S
61 4 13
scconn_read_sanitized_server_parm()
S
61 4 13
SCConn_SellingCommander::media_import()
S
60 4 13
SCConn_SellingCommander::media_delete()
S
60 4 13
SCConn_SellingCommander::media_update()
S
60 4 13
SCConn_SellingCommander::rest_file_op()
S
60 4 13
SCConn_SellingCommander::deleteItemCache()
S
60 4 12
SCConn_WC_REST_Customers_Controller::get_collection_params()
S
63 4 11
SCConn_WC_REST_Products_Controller::get_collection_params()
S
63 4 11
SCConn_WC_REST_Product_Variations_Controller::get_collection_params()
S
63 4 11
SCConn_WC_REST_Subscriptions_Controller::get_collection_params()
S
63 4 11
SCConn_WC_REST_Attachments_Controller::get_collection_params()
S
63 4 11
SCConn_WC_REST_Orders_Controller::get_collection_params()
S
63 4 11
scconn_array_key_last()
S
66 4 8
pelm_array_escape()
S
64 4 9
SCConn_SellingCommander::checkDBMaxPacket()
S
63 4 10
SCConn_SellingCommander::do_media_delete()
S
57 3 15
SCConn_SellingCommander::save_forward_settings()
S
61 3 12
SCConn_SellingCommander::readAccessToken()
S
61 3 12
scconn_assoc_flip()
S
63 3 11
scconn_escape_db_in()
S
62 3 11
pelm_fn_show_filed()
S
64 3 11
pelm_read_sanitized_post_parm()
S
66 3 9
pelm_read_sanitized_server_parm()
S
66 3 9
SCConn_CacheObjectWrapper::get_id()
S
69 3 7
excellikepricechangeforwoocommerceandwpecommercelight::callDisplayLast()
S
64 3 10
SCConn_SellingCommander::rest_queries()
S
63 3 10
SCConn_SellingCommander::plugin_path()
S
68 3 8
SCConn_SellingCommander::get_added_product_terms()
S
66 3 9
scconn_array_key_first()
S
67 3 8
SCConn_SellingCommander::save_settings()
S
67 3 8
pelm_read_sanitized_request_parm()
S
65 3 10
pelm_sanitize_array()
S
67 3 8
pelm_read_sanitized_get_parm()
S
66 3 9
pelm_get_nonce()
S
65 3 10
pelm_read_sanitized_cookie_parm()
S
66 3 9
SCConn_WC_REST_Products_Controller::save_object()
S
60 2 13
SCConn_WC_REST_Subscriptions_Controller::save_object()
S
61 2 12
SCConn_WC_REST_Orders_Controller::save_object()
S
61 2 12
SCConn_SellingCommander::display()
S
62 2 11
pelm_to_utf8()
S
70 2 7
pelm_array_val()
S
72 2 6
pelm_fn_correct_type()
S
70 2 7
pelm_accept_verified_nonce()
S
69 2 7
SCConn_SellingCommander::clear_cache()
S
65 2 8
SCConn_SellingCommander::mail_send_disable_during_request()
S
58 1 15
pelm_get_array_value()
S
70 2 7
SCConn_WC_REST_Products_Controller::get_objects()
S
65 2 9
scconn_uncaught_exception_handler()
S
63 2 10
SCConn_SellingCommander::rest_query()
S
71 2 6
excellikepricechangeforwoocommerceandwpecommercelight::plugin_path()
S
73 2 5
SCConn_WC_REST_Products_Controller::prepare_object_for_response()
S
71 2 6
scconn_term_items()
S
72 2 6
SCConn_WC_REST_Products_Controller::prepare_response_for_collection()
S
71 2 6
pelm_fn_correct_type()
S
70 2 7
pelm_get_product_categories_paths()
S
64 2 9
pelm_array_val()
S
72 2 6
pelm_get_array_value()
S
70 2 7
excellikepricechangeforwoocommerceandwpecommercelight::callDisplayShop()
S
81 1 3
SCConn_WCSubscriptionWrapper::__construct()
S
91 1 2
SCSCConn_WCProductWrapper::scconn_set_date_prop()
S
80 1 3
SCConn_CacheObjectWrapper::__construct()
S
81 1 3
SCConn_WCSubscriptionWrapper::scconn_set_date_prop()
S
80 1 3
pelm_catsort()
S
80 1 3
pelm_list_categories_callback()
S
64 1 10
SCConn_WC_REST_Attachments_Controller::__construct()
S
73 1 5
SCConn_WCOrderWrapper::scconn_set_prop()
S
80 1 3
pelm_load_custom_fields()
S
83 1 3
pelm_esc_sanitized_request_parm()
S
79 1 3
excellikepricechangeforwoocommerceandwpecommercelight::callDisplaySettings()
S
81 1 3
SCConn_SellingCommander::on_wp_init()
S
77 1 4
excellikepricechangeforwoocommerceandwpecommercelight::loadOptions()
S
79 1 3
scconn_ends_with()
S
78 1 3
pelm_get_csv_order()
S
68 1 7
SCConn_WC_REST_Customers_Controller::__construct()
S
77 1 4
excellikepricechangeforwoocommerceandwpecommercelight::isPostRequest()
S
78 1 3
SCConn_WC_REST_Orders_Controller::__construct()
S
77 1 4
SCConn_WC_REST_Products_Controller::parent_batch_items()
S
80 1 3
SCConn_WCOrderWrapper::__construct()
S
91 1 2
SCConn_SellingCommander::rest_pre_serve_request_before()
S
82 1 3
pelm_remember_csv_order()
S
75 1 4
excellikepricechangeforwoocommerceandwpecommercelight::internal_display()
S
67 1 7
excellikepricechangeforwoocommerceandwpecommercelight::saveOptions()
S
75 1 4
SCConn_WC_REST_Products_Controller::parent_get_items()
S
80 1 3
SCConn_WC_REST_Subscriptions_Controller::__construct()
S
77 1 4
pelm_error_handler()
S
64 1 10
pelm_uncaught_exception_handler()
S
67 1 8
SCConn_SellingCommander::manage_products()
S
78 1 3
scconn_error_handler()
S
64 1 9
excellikepricechangeforwoocommerceandwpecommercelight::sc_menu_item()
S
79 1 7
scconn_starts_with()
S
78 1 3
SCConn_SellingCommander::link_in_plugins_list()
S
71 1 5
SCConn_SellingCommander::check_scconn_rest_authentication()
S
80 1 3
excellikepricechangeforwoocommerceandwpecommercelight::load_plugin_textdomain()
S
68 1 6
SCConn_WCOrderWrapper::scconn_set_date_prop()
S
80 1 3
SCConn_WC_REST_Product_Variations_Controller::__construct()
S
74 1 5
SCConn_SellingCommander::removeUrlProtocol()
S
78 1 3
SCConn_SellingCommander::load_plugin_textdomain()
S
68 1 6
SCConn_WC_REST_Products_Controller::__construct()
S
71 1 6
pelm_get_mem_allocated()
S
77 1 4
SCSCConn_WCProductWrapper::scconn_set_prop()
S
80 1 3
SCConn_SellingCommander::cache_delete()
S
67 1 9
SCSCConn_WCProductWrapper::__construct()
S
91 1 2
SCConn_SellingCommander::get_product_variations_ids()
S
74 1 4
excellikepricechangeforwoocommerceandwpecommercelight::admin_css_s()
S
79 1 3
SCConn_WCSubscriptionWrapper::scconn_set_prop()
S
80 1 3