Code Analysis: SEMA API 4.51

Function Rating Maintainability Complexity Lines of code
sema_getdata_callback()
D
0
170 690
WordPress\Importer\SEMA_Product_Import::importProduct()
D
0
153 396
WordPress\Importer\SEMA_Product_Import::dispatch()
D
0
91 1,104
WordPress\Importer\SEMA_Product_Import::process_product()
D
6
104 341
WordPress\Importer\SEMA_Product_Import::parseTerms()
C
31 28 105
SEMASearchPlugin::shortcode_handle_semasearch()
C
30 25 130
WordPress\Importer\SEMA_Product_Import::fetch_remote_file()
C
34 25 83
SEMASearchPlugin::__construct()
B
25
2 282
sema_validate_options()
B
38 16 63
WordPress\Importer\SEMA_Product_Import::process_attachment()
A
39 14 64
sema_product_content_fitment()
A
32 2 226
SEMASearchPlugin::product_search_sku()
A
47 15 28
WordPress\Importer\SEMA_Product_Import::wh_deleteProduct()
A
42 12 54
sema_product_update_render()
A
54 11 21
WordPress\Importer\SEMA_Product_Import::get_all_product_attributes()
A
48 9 34
sema_set_defaults()
A
52 9 25
sema_save_fitments()
A
48 8 30
sema_token_render()
A
54 8 22
WordPress\Importer\SEMA_Product_Import::parseMedia()
S
48 7 30
WordPress\Importer\SEMA_Product_Import::product_exists()
S
49 7 30
WordPress\Importer\SEMA_Product_Import::backfill_parents()
S
59 8 13
sema_membership_render()
S
58 7 14
sema_new_product_tab_content()
S
47 5 36
sema_rest_call()
S
48 5 31
SEMASearchPlugin::shortcode_handle_semasearchbar()
S
47 4 43
sema_create_tables()
S
40 1 88
sema_settings_init()
S
39 1 81
sema_hide_empty_render()
S
56 5 21
sema_aaia_render()
S
57 5 15
SEMASearchPlugin::insert_pages_admin_init()
S
58 5 13
WordPress\Importer\SEMA_Product_Import::regenerate_thumbnail()
S
58 5 13
sema_activation()
S
51 4 25
sema_insertCategory()
S
53 4 22
WordPress\Importer\SEMA_Product_Import::sema_insertCategory()
S
53 4 22
WordPress\Importer\SEMA_Product_Import::typeCheck()
S
66 5 8
sema_plugin_updated()
S
58 3 15
sema_product_currency_render()
S
63 4 10
SEMA_Data_Import::__construct()
S
59 3 14
SEMA_Data_Import::hf_user_permission()
S
61 3 12
sema_hide_submodel_render()
S
63 3 11
sema_options_page()
S
50 1 39
WordPress\Importer\SEMA_Product_Import::import_start()
S
54 2 19
SEMA_Importer::load_wp_importer()
S
65 3 9
WordPress\Importer\SEMA_Product_Import::wt_get_image_id_by_url()
S
70 3 5
sema_product_batch_render()
S
64 3 10
sema_getUserIpAddr()
S
64 3 10
attributes_cmp()
S
74 3 4
WordPress\Importer\SEMA_Product_Import::header()
S
62 2 11
WordPress\Importer\SEMA_Product_Import::wf_get_product_id_by_sku()
S
59 1 16
SEMASearchPlugin::sema_delete_post()
S
67 2 8
WordPress\Importer\SEMA_Product_Import::link_product_skus()
S
64 2 9
WordPress\Importer\SEMA_Product_Import::hf_log_data_change()
S
64 2 10
SEMA_Data_Import::sema_plugin_action_links()
S
64 2 9
SEMA_Importer::product_importer()
S
65 2 9
WordPress\Importer\SEMA_Product_Import::import_end()
S
65 2 9
WordPress\Importer\SEMA_Product_Import::__construct()
S
64 2 10
SEMASearchPlugin::insert_pages_init()
S
58 1 14
sema_uninstall()
S
61 1 12
sema_add_admin_menu()
S
72 1 5
WordPress\Importer\SEMA_Product_Import::footer()
S
82 1 3
sema_product_tab()
S
68 1 7
SEMA_Data_Import::sa_remove_stock_image_sizes()
S
80 1 3
WordPress\Importer\SEMA_Product_Import::chooseCategory()
S
81 1 3
SEMASearchPlugin::get_page_id()
S
82 1 3
sema_product_import_page()
S
82 1 3
WordPress\Importer\SEMA_Product_Import::max_attachment_size()
S
79 1 3
SEMA_Data_Import::load_plugin_textdomain()
S
77 1 3
WordPress\Importer\SEMA_Product_Import::_sql()
S
72 1 5
sema_highlightWords()
S
74 1 4
WordPress\Importer\SEMA_Product_Import::bump_request_timeout()
S
82 1 3
sema_settings_section_callback()
S
80 1 3
SEMASearchPlugin::set_page_id()
S
77 1 4
SEMA_Data_Import::woocommerce_screen_ids()
S
77 1 4
SEMA_Data_Import::register_importers()
S
78 1 3
WordPress\Importer\SEMA_Product_Import::array_iunique()
S
72 1 6
WordPress\Importer\SEMA_Product_Import::syncCategory()
S
81 1 3
WordPress\Importer\SEMA_Product_Import::add_import_result()
S
65 1 9
_sql()
S
72 1 5
sema_new_product_tab()
S
67 1 8