Code Analysis: WP Data Sync 2.9.2

Function Rating Maintainability Complexity Lines of code
WP_DataSync\App\Settings::get_options()
B
21
2 372
WP_DataSync\App\DataSync::process()
B
39 15 66
WP_DataSync\App\Request::sanitize_data()
A
44 13 48
WP_DataSync\App\Settings::report_values()
A
36 10 89
WP_DataSync\App\Item::format_terms()
A
49 12 32
WP_DataSync\App\DataSync::attachment()
A
41 9 56
WP_DataSync\App\DataSync::set_term()
A
49 9 30
WP_DataSync\Woo\WC_Product_DataSync::wc_process()
A
52 8 27
WP_DataSync\App\Item::get()
A
51 8 26
WP_DataSync\Woo\WC_Product_Item::wc_process()
A
54 8 22
WP_DataSync\App\DataSync::term_meta()
A
55 8 20
WP_DataSync\Woo\WC_Product_DataSync::attributes()
S
50 7 27
WP_DataSync\App\DataSync::term_thumb()
S
53 7 25
WP_DataSync\App\DataSync::taxonomy()
S
52 7 23
WP_DataSync\Woo\WC_Product_DataSync::product_visibility()
S
54 7 20
WP_DataSync\Woo\WC_Product_DataSync::product_type()
S
55 7 19
WP_DataSync\Woo\WC_Product_Item::gallery_images()
S
54 7 19
WP_DataSync\App\DataSync::fetch_post_id()
S
49 6 33
WP_DataSync\App\DataSync::maybe_trash_post()
S
58 7 16
WP_DataSync\Woo\WC_Product_DataSync::categories()
S
49 6 31
WP_DataSync\Woo\WC_Product_DataSync::variations()
S
50 6 29
WP_DataSync\Woo\WC_Product_DataSync::prices()
S
52 6 25
WP_DataSync\App\DataSync::file_type()
S
54 6 23
WP_DataSync\App\DataSync::term_desc()
S
55 6 20
WP_DataSync\App\DataSync::gallery_images()
S
50 5 29
WP_DataSync\Woo\WC_Order_Data::get_items()
S
53 5 22
WP_DataSync\App\DataSync::fetch_post_ids()
S
55 5 21
image_replace()
S
56 5 18
WP_DataSync\App\ItemRequest::item_ids()
S
44 3 46
WP_DataSync\App\Settings::set_option_defaults()
S
61 5 12
WP_DataSync\App\SyncRequest::process()
S
54 4 21
WP_DataSync\App\KeyRequest::meta_keys()
S
56 4 20
WP_DataSync\Woo\WC_Order_DataRequest::fetch_orders()
S
55 4 19
WP_DataSync\Woo\WC_Product_Item::product_attributes()
S
55 4 19
WP_DataSync\App\Request::content_length()
S
56 4 18
WP_DataSync\Woo\WC_Order_DataRequest::get_response()
S
56 4 18
WP_DataSync\Woo\WC_Product_DataSync::selected_options()
S
56 4 18
WP_DataSync\Woo\WC_Product_DataSync::attribute_taxonomy()
S
49 3 33
WP_DataSync\App\Request::sanitize_request()
S
57 4 17
WP_DataSync\App\Log::write()
S
56 4 16
WP_DataSync\App\Request::access_token()
S
59 4 15
WP_DataSync\App\Request::private_key()
S
59 4 15
WP_DataSync\App\Item::attachment()
S
62 5 10
WP_DataSync\App\Item::featured_image()
S
62 5 10
WP_DataSync\App\Request::access()
S
66 5 8
WP_DataSync\App\Request::sanitize_callback()
S
59 4 15
view()
S
60 4 13
WP_DataSync\App\DataSync::term_exists()
S
52 3 27
WP_DataSync\Woo\WC_Product_DataSync::attribute_term_ids()
S
61 4 12
WP_DataSync\App\DataSync::save_post_meta()
S
60 4 12
WP_DataSync\App\Item::taxonomies()
S
61 4 11
WP_DataSync\Woo\WC_Product_Sells::sell_id_exists()
S
53 3 26
WP_DataSync\Woo\WC_Product_Sells::relate_ids()
S
62 4 11
WP_DataSync\App\DataSync::insert_post_row()
S
55 3 21
WP_DataSync\App\ItemInfoRequest::fetch_item_id()
S
56 3 20
WP_DataSync\Woo\WC_Product_Sells::relation_exists()
S
57 3 19
WP_DataSync\Woo\WC_Product_Sells::get_product_ids()
S
57 3 18
WP_DataSync\App\Settings::register_settings()
S
58 3 17
WP_DataSync\App\DataSync::attachment_exists()
S
59 3 16
WP_DataSync\App\DataSync::update_date()
S
58 3 16
WP_DataSync\App\Item::post_data()
S
58 3 16
WP_DataSync\App\ItemRequest::get_items()
S
58 3 16
WP_DataSync\App\ItemRequest::has_synced()
S
58 3 16
WP_DataSync\App\KeyRequest::get_taxonomies()
S
63 4 10
WP_DataSync\Woo\WC_Product_Sells::get_unrelated()
S
60 3 15
WP_DataSync\Woo\WC_Product_Sells::stage_sell_ids()
S
64 4 10
auto_update_plugin()
S
67 4 8
WP_DataSync\App\Log::message()
S
59 3 14
plugin_update()
S
60 3 13
WP_DataSync\App\DataSync::term_id()
S
61 3 12
WP_DataSync\App\VersionRequest::register_route()
S
53 2 27
WP_DataSync\Woo\WC_Order_Data::format_meta()
S
61 3 12
WP_DataSync\App\DataSync::insert_placeholder()
S
61 3 12
WP_DataSync\Woo\WC_Product_Item::product_variations()
S
62 3 12
WP_DataSync\App\DataSync::post_data_apply_filters()
S
62 3 11
WP_DataSync\App\DataSync::post_data()
S
63 3 11
WP_DataSync\App\Settings::tabs()
S
55 2 21
WP_DataSync\Woo\WC_Order_DataRequest::register_route()
S
50 1 35
WP_DataSync\App\DataSync::set_properties()
S
68 3 7
WP_DataSync\App\Log::log_file()
S
66 3 8
WP_DataSync\App\Log::log_files()
S
67 3 7
WP_DataSync\App\DataSync::get_post_type()
S
66 3 9
WP_DataSync\App\Settings::value()
S
66 3 9
WP_DataSync\App\Settings::remove_admin_notices()
S
68 3 7
WP_DataSync\App\Request::sanitize_key()
S
65 3 9
WP_DataSync\App\DataSync::post_data_defaults()
S
66 3 8
WP_DataSync\App\DataSync::post_meta()
S
66 3 8
WP_DataSync\App\ItemInfoRequest::register_route()
S
52 1 29
WP_DataSync\App\ItemRequest::register_route()
S
52 1 29
product_get_category_options_array()
S
60 2 13
WP_DataSync\App\LogRequest::request()
S
61 2 13
WP_DataSync\App\Settings::settings_page()
S
60 2 13
WP_DataSync\App\DataSync::image_array()
S
62 2 12
WP_DataSync\App\LogRequest::register_route()
S
53 1 26
WP_DataSync\Woo\WC_Product_Sells::create_table()
S
56 1 23
WP_DataSync\App\ReportRequest::register_route()
S
55 1 22
WP_DataSync\App\SyncRequest::register_route()
S
55 1 22
WP_DataSync\App\KeyRequest::register_route()
S
55 1 22
WP_DataSync\App\KeyRequest::get_keys()
S
55 1 21
WP_DataSync\App\DataSync::reset_term_taxonomy_count()
S
61 1 17
WP_DataSync\Woo\WC_Order_Data::extended_item_keys()
S
59 1 17
WP_DataSync\App\DataSync::post_data_keys()
S
59 1 16
WP_DataSync\App\ItemRequest::create_table()
S
59 1 16
message()
S
72 2 5
WP_DataSync\App\DataSync::basename()
S
65 2 9
WP_DataSync\App\LogRequest::instance()
S
71 2 6
WP_DataSync\App\Item::post_meta()
S
63 2 10
WP_DataSync\App\LogRequest::set_callback()
S
69 2 7
WP_DataSync\App\Settings::delete_all_log_files()
S
72 2 5
WP_DataSync\App\ReportRequest::instance()
S
71 2 6
WP_DataSync\App\DataSync::get_process_id()
S
68 2 8
WP_DataSync\App\Settings::sanitize_array()
S
68 2 7
WP_DataSync\App\DataSync::featured_image()
S
73 2 5
WP_DataSync\App\Settings::instance()
S
71 2 6
WP_DataSync\Woo\WC_Product_Item::instance()
S
71 2 6
WP_DataSync\App\Settings::set_active_tab()
S
73 2 5
WP_DataSync\Woo\WC_Product_Sells::set_properties()
S
70 2 6
WP_DataSync\App\DataSync::set_post_id()
S
72 2 6
WP_DataSync\App\Settings::input()
S
68 2 7
WP_DataSync\App\DataSync::fetch_image_data()
S
63 2 10
WP_DataSync\App\DataSync::ssl_verify()
S
72 2 6
reset_item_request_status()
S
67 2 8
WP_DataSync\App\DataSync::file_path()
S
70 2 6
WP_DataSync\App\DataSync::set_post_type()
S
72 2 6
WP_DataSync\App\Log::log_hash()
S
68 2 7
WP_DataSync\App\Settings::tab_status()
S
72 2 6
WP_DataSync\App\DataSync::integrations()
S
72 2 5
WP_DataSync\App\Settings::user_roles()
S
67 2 8
WP_DataSync\App\KeyRequest::instance()
S
71 2 6
WP_DataSync\App\SyncRequest::instance()
S
71 2 6
WP_DataSync\Woo\WC_Order_Data::instance()
S
71 2 6
WP_DataSync\App\Item::term_thumb_url()
S
70 2 6
WP_DataSync\App\Settings::delete_log_file_name()
S
74 2 5
WP_DataSync\App\VersionRequest::instance()
S
71 2 6
toottip()
S
72 2 5
WP_DataSync\App\Item::term_meta()
S
64 2 9
update_message()
S
68 2 8
WP_DataSync\App\ItemInfoRequest::instance()
S
71 2 6
WP_DataSync\App\DataSync::process_acf()
S
63 2 10
WP_DataSync\App\ItemInfoRequest::get_item_info()
S
68 2 7
WP_DataSync\App\Settings::delete_log_files()
S
74 2 5
WP_DataSync\Woo\WC_Order_Data::get_shipping_data()
S
66 2 8
WP_DataSync\App\ItemRequest::instance()
S
71 2 6
WP_DataSync\Woo\WC_Product_Sells::instance()
S
71 2 6
WP_DataSync\App\Request::referer()
S
66 2 8
WP_DataSync\Woo\WC_Product_Sells::set_product_ids()
S
69 2 6
WP_DataSync\App\DataSync::is_valid_image_url()
S
67 2 7
WP_DataSync\App\KeyRequest::get_post_types()
S
68 2 7
WP_DataSync\Woo\WC_Order_DataRequest::instance()
S
71 2 6
WP_DataSync\App\Log::contents()
S
69 2 7
WP_DataSync\Woo\App\WPDS_Category_Radio::start_el()
S
59 1 14
WP_DataSync\App\Request::request_data()
S
62 1 12
WP_DataSync\Woo\WC_Order_Data::format_address()
S
63 1 11
WP_DataSync\App\DataSync::get_featured_image()
S
82 1 3
WP_DataSync\App\ItemInfoRequest::request()
S
64 1 10
product_format_price()
S
81 1 3
WP_DataSync\App\DataSync::get_primary_id()
S
82 1 3
WP_DataSync\Woo\WC_Product_DataSync::set_product_type()
S
81 1 3
WP_DataSync\App\DataSync::set_order_items()
S
81 1 3
WP_DataSync\App\Settings::add_pages()
S
67 1 9
WP_DataSync\App\ReportRequest::__construct()
S
80 1 3
WP_DataSync\App\Request::allowed()
S
80 1 3
WP_DataSync\Woo\WC_Product_Sells::update_relation()
S
67 1 8
product_brand_taxonomy_key()
S
80 1 3
WP_DataSync\App\DataSync::__construct()
S
91 1 2
WP_DataSync\App\ItemRequest::set_api_id()
S
72 1 5
WP_DataSync\App\DataSync::get_integrations()
S
82 1 3
WP_DataSync\App\DataSync::get_post_meta()
S
82 1 3
WP_DataSync\App\ReportRequest::request()
S
71 1 6
WP_DataSync\Woo\WC_Product_Item::__construct()
S
80 1 3
WP_DataSync\App\DataSync::get_attributes()
S
79 1 3
item_updated()
S
82 1 3
WP_DataSync\App\DataSync::instance()
S
80 1 3
WP_DataSync\App\Log::is_active()
S
80 1 3
WP_DataSync\App\DataSync::get_source_id()
S
82 1 3
WP_DataSync\App\Settings::heading()
S
83 1 3
WP_DataSync\Woo\WC_Product_Sells::__construct()
S
80 1 3
WP_DataSync\App\DataSync::get_gallery_images()
S
79 1 3
WP_DataSync\App\Settings::is_equal()
S
78 1 3
WP_DataSync\App\DataSync::get_wc_prices()
S
78 1 3
WP_DataSync\App\ItemInfoRequest::set_api_id()
S
72 1 5
WP_DataSync\App\ItemInfoRequest::set_key()
S
76 1 4
WP_DataSync\Woo\WC_Product_DataSync::set_product()
S
80 1 3
WP_DataSync\App\DataSync::set_post_data()
S
81 1 3
WP_DataSync\Woo\WC_Product_DataSync::set_data_sync()
S
81 1 3
WP_DataSync\Woo\WC_Product_DataSync::instance()
S
79 1 3
WP_DataSync\App\KeyRequest::__construct()
S
80 1 3
WP_DataSync\App\Settings::is_true()
S
79 1 3
WP_DataSync\App\DataSync::get_is_new()
S
82 1 3
WP_DataSync\App\DataSync::get_selected_options()
S
79 1 3
WP_DataSync\App\Request::user_agent()
S
72 1 5
WP_DataSync\App\VersionRequest::__construct()
S
80 1 3
WP_DataSync\App\SyncRequest::__construct()
S
80 1 3
WP_DataSync\App\DataSync::get_gallery_details()
S
79 1 3
WP_DataSync\Woo\WC_Product_Sells::insert_sell_id()
S
64 1 10
WP_DataSync\Woo\WC_Order_DataRequest::format_min_date()
S
79 1 3
WP_DataSync\App\DataSync::set_featured_image()
S
81 1 3
WP_DataSync\App\ItemInfoRequest::set_value()
S
76 1 4
WP_DataSync\Woo\WC_Product_Sells::table()
S
76 1 4
WP_DataSync\App\ItemRequest::set_post_type()
S
76 1 4
WP_DataSync\App\KeyRequest::request()
S
73 1 5
WP_DataSync\App\Settings::actions()
S
62 1 10
WP_DataSync\Woo\WC_Order_Data::__construct()
S
80 1 3
WP_DataSync\App\DataSync::restricted_meta_keys()
S
65 1 10
WP_DataSync\App\DataSync::get_api_item_id()
S
82 1 3
WP_DataSync\App\VersionRequest::request()
S
74 1 5
WP_DataSync\App\DataSync::get_post_data()
S
82 1 3
WP_DataSync\App\DataSync::get_post_id()
S
82 1 3
WP_DataSync\App\ItemRequest::delete_id()
S
69 1 7
WP_DataSync\App\DataSync::get_taxonomies()
S
82 1 3
WP_DataSync\Woo\WC_Order_DataRequest::request()
S
64 1 10
WP_DataSync\App\ItemInfoRequest::__construct()
S
80 1 3
WP_DataSync\Woo\WC_Product_DataSync::__construct()
S
74 1 5
WP_DataSync\App\DataSync::get_source_name()
S
82 1 3
WP_DataSync\App\DataSync::get_attachment()
S
82 1 3
WP_DataSync\Woo\WC_Order_DataRequest::__construct()
S
80 1 3
WP_DataSync\App\DataSync::set_wc_categories()
S
81 1 3
WP_DataSync\App\DataSync::get_variations()
S
79 1 3
WP_DataSync\Woo\WC_Order_Data::formatted_data()
S
68 1 7
WP_DataSync\Woo\WC_Product_DataSync::save()
S
82 1 3
WP_DataSync\App\LogRequest::__construct()
S
80 1 3
WP_DataSync\Woo\WC_Product_Item::explode()
S
71 1 5
WP_DataSync\App\Item::__construct()
S
76 1 4
WP_DataSync\App\Item::term_array()
S
65 1 9
WP_DataSync\App\Settings::is_data_type_excluded()
S
78 1 3
WP_DataSync\App\DataSync::set_taxonomies()
S
81 1 3
WP_DataSync\App\Settings::scripts()
S
74 1 4
WP_DataSync\App\ItemRequest::insert_id()
S
65 1 10
WP_DataSync\App\DataSync::set_wc_prices()
S
80 1 3
WP_DataSync\App\ItemRequest::request()
S
67 1 8
WP_DataSync\App\DataSync::get_wc_categories()
S
82 1 3
WP_DataSync\App\DataSync::set_post_meta()
S
81 1 3
WP_DataSync\App\Settings::is_checked()
S
79 1 3
WP_DataSync\Woo\WC_Product_DataSync::set_variations_inactive()
S
68 1 8
WP_DataSync\App\Request::set_request()
S
81 1 3
WP_DataSync\App\ItemRequest::__construct()
S
80 1 3
WP_DataSync\Woo\WC_Product_Sells::save()
S
75 1 5
WP_DataSync\App\DataSync::post_meta_value()
S
73 1 4
WP_DataSync\App\DataSync::get_order_items()
S
82 1 3
WP_DataSync\App\DataSync::post_meta_key()
S
78 1 3
WP_DataSync\App\Settings::__construct()
S
80 1 3
WP_DataSync\App\ItemRequest::set_limit()
S
76 1 4
WP_DataSync\App\DataSync::set_attachment()
S
81 1 3
WP_DataSync\Woo\WC_Order_Data::get()
S
64 1 9
WP_DataSync\Woo\WC_Product_Sells::set_relation()
S
79 1 3
WP_DataSync\Woo\WC_Product_DataSync::set_product_id()
S
80 1 3
WP_DataSync\App\Item::get_post_type()
S
82 1 3
WP_DataSync\App\Settings::help_buttons()
S
81 1 3
WP_DataSync\App\ItemRequest::table()
S
76 1 4
WP_DataSync\App\Settings::is_set()
S
79 1 3