FG_PrestaShop_to_WooCommerce_Admin D

Total Complexity 549
Dependencies 7
Dependents 1
Total lines 3,970
Lines of code 2,525
Logical lines of code 1,477
Comment lines 1,052
Methods 122
Properties 29

Methods 122

Method Rating Maintainability Complexity Lines of code
import_product()
D
26
34 134
dispatch()
D
28
32 121
process_content_media_links()
C
33 30 82
calculate_special_price()
B
42 24 44
import_media()
B
38 17 61
import()
B
39 16 62
import_cms_categories()
A
40 14 57
calculate_prices()
A
45 15 40
import_products()
A
42 13 50
import_product_category()
A
43 13 43
import_cms_articles()
A
41 12 53
import_product_categories()
A
43 11 50
empty_database()
A
33 5 134
import_cms_article()
A
41 10 51
insert_attachment()
A
44 9 44
import_media_from_content()
A
46 8 38
get_products()
A
42 7 51
ajax_importer()
A
51 8 24
get_cms_articles()
A
43 6 52
delete_woocommerce_data()
A
41 5 62
get_all_product_categories()
S
44 6 43
get_specific_prices()
S
48 6 34
add_post_media()
S
56 7 17
get_total_elements_count()
S
57 7 16
get_cms_categories_count()
S
51 6 24
get_cms_categories()
S
47 5 36
guess_import_media()
S
56 6 18
get_prestashop_version()
S
56 6 17
url_exists()
S
49 5 31
get_products_categories_count()
S
51 5 27
build_image_filenames()
S
52 5 23
get_cms_articles_count()
S
53 5 22
get_customers_count()
S
54 5 21
prestashop_connect()
S
55 5 17
test_database_connection()
S
52 4 23
restore_wp_terms()
S
54 4 22
table_exists()
S
54 4 20
column_exists()
S
54 4 20
get_employees_count()
S
55 4 19
validate_form_info()
S
48 3 33
create_unique_terms()
S
58 4 15
prestashop_query()
S
58 4 15
restore_wp_posts()
S
58 4 15
set_product_visibility()
S
60 4 14
restore_wp_term_relationships()
S
58 4 14
get_product_images()
S
51 3 28
get_attachment_ids()
S
62 4 12
get_product_stock()
S
54 3 22
importer()
S
56 3 20
get_default_tax_rate()
S
56 3 19
get_product_supplier_reference()
S
57 3 17
upload_dir()
S
56 3 16
get_configuration()
S
58 3 16
get_attachment_from_name()
S
58 3 15
pre_import_check()
S
64 4 9
get_root_category()
S
59 3 15
get_sku()
S
60 3 14
get_shops_count()
S
59 3 14
terms_tax_count()
S
62 3 12
recount_terms()
S
62 3 11
count_posts()
S
62 3 11
get_database_info()
S
52 2 22
save_wp_terms()
S
56 2 18
get_product_tags()
S
58 2 17
save_wp_posts()
S
57 2 17
display_admin_notice()
S
65 3 8
import_configuration()
S
62 3 10
display_admin_error()
S
65 3 8
import_tags()
S
66 3 8
display_admin_warning()
S
65 3 8
allow_backorders()
S
66 3 8
__construct()
S
60 2 12
get_imported_ps_posts()
S
62 2 11
get_products_count()
S
62 2 11
get_users_by_meta_key()
S
62 2 11
get_term_metas_by_metakey()
S
62 2 11
enqueue_scripts()
S
54 1 19
get_prestashop_info()
S
54 1 19
add_help_tab()
S
58 1 16
optimize_database()
S
59 1 16
get_orders_count()
S
64 2 10
test_woocommerce_activation()
S
68 2 7
set_local_timezone()
S
71 2 6
display_notices()
S
71 2 5
process_content()
S
66 2 8
restore_links()
S
71 2 5
create_woocommerce_product_visibilities()
S
62 1 14
display_admin_page()
S
58 1 14
save_wp_term_relationships()
S
61 1 13
get_product_categories()
S
63 1 11
delete_transient()
S
74 1 4
remote_copy()
S
79 1 3
stop_import()
S
80 1 3
enqueue_styles()
S
77 1 3
terms_count()
S
76 1 4
remove_links()
S
74 1 4
display_media_count()
S
78 1 3
save_plugin_options()
S
72 1 5
delete_var_prices_transient()
S
81 1 3
save_wp_data()
S
75 1 5
get_wp_product_id_from_prestashop_id()
S
75 1 4
init()
S
77 1 3
format_filename()
S
70 1 6
get_post_id_from_guid()
S
74 1 4
get_imported_products()
S
79 1 3
empty_log_file()
S
80 1 3
get_option_names()
S
77 1 4
help_instructions()
S
79 1 3
get_imported_prestashop_customers()
S
80 1 3
get_imported_prestashop_employees()
S
80 1 3
get_imported_manufacturers()
S
78 1 3
get_imported_categories()
S
78 1 3
help_options()
S
79 1 3
get_wp_post_id_from_meta()
S
69 1 6
get_imported_cms_categories()
S
78 1 3
clean_cache()
S
75 1 4
get_plugin_name()
S
82 1 3
import_cms()
S
78 1 4
create_woocommerce_product_types()
S
67 1 9
import_stopped()
S
80 1 3
log()
S
78 1 3
restore_wp_data()
S
75 1 5