FG_Joomla_to_WordPress_Admin D

Total Complexity 532
Dependencies 9
Dependents 1
Total lines 3,771
Lines of code 2,356
Logical lines of code 1,364
Comment lines 1,072
Methods 125
Properties 22

Methods 125

Method Rating Maintainability Complexity Lines of code
dispatch()
D
31 36 95
process_content_media_links()
C
33 26 86
import_post()
C
32 23 95
import_media()
B
34 22 82
import_categories()
B
39 21 62
import()
B
37 17 69
set_excerpt_content()
A
49 16 27
insert_categories()
A
41 12 56
import_posts()
A
47 13 35
empty_database()
A
33 5 129
insert_attachment()
A
45 11 39
ajax_importer()
A
50 10 26
get_wp_post_from_joomla_url()
A
51 9 26
modify_links_in_string()
A
52 9 23
get_total_elements_count()
A
54 9 20
get_and_process_featured_image()
A
52 8 24
import_media_from_content()
S
51 7 27
joomla_query()
S
52 7 24
map_taxonomy()
S
54 7 23
url_exists()
S
47 6 34
joomla_version()
S
56 7 18
modify_links_in_posts()
S
49 6 31
get_categories()
S
44 4 51
fix_colon_in_links()
S
54 6 20
get_categories_count()
S
49 5 33
add_post_media()
S
57 6 17
update_categories_hierarchy()
S
56 6 17
get_posts_count()
S
52 5 24
get_posts()
S
49 4 32
get_params()
S
53 4 26
import_tags()
S
52 4 26
get_skipped_categories()
S
53 4 23
get_menu_item_from_item_id()
S
54 4 23
restore_wp_terms()
S
54 4 22
validate_form_info()
S
47 3 35
modify_links()
S
54 4 20
table_exists()
S
54 4 20
column_exists()
S
54 4 20
modify_links_in_categories()
S
55 4 20
get_joomla_id_in_link()
S
56 4 19
test_database_connection()
S
56 4 19
modify_link()
S
57 4 17
restore_wp_posts()
S
58 4 15
get_wp_term_from_joomla_url()
S
59 4 15
restore_wp_term_relationships()
S
58 4 14
importer()
S
55 3 22
set_plugin_options()
S
48 2 36
get_extension_manifest()
S
57 3 18
get_joomla_info()
S
56 3 17
get_component_categories_count()
S
57 3 16
joomla_connect()
S
56 3 16
get_weblinks_count()
S
57 3 16
pre_import_check()
S
64 4 9
get_attachment_from_name()
S
58 3 15
terms_tax_count()
S
60 3 14
get_sections_count()
S
60 3 13
upload_dir()
S
59 3 13
remove_image_from_content()
S
61 3 12
count_posts()
S
62 3 11
get_component_categories()
S
53 2 23
get_imported_joomla_posts_with_post_type()
S
56 2 19
exists_duplicate_categories()
S
57 2 18
save_wp_terms()
S
56 2 18
save_wp_posts()
S
57 2 17
get_sections()
S
57 2 17
convert_post_attribs_to_array()
S
64 3 9
process_audio_video_links()
S
65 3 9
get_categories_extra_criteria()
S
64 3 10
parse_ini_or_json()
S
65 3 8
test_joomla_1_0()
S
63 3 10
display_admin_notice()
S
65 3 8
display_admin_error()
S
65 3 8
display_admin_warning()
S
65 3 8
__construct()
S
59 2 14
process_content()
S
61 2 13
get_imported_joomla_users()
S
62 2 11
get_term_metas_by_metakey()
S
62 2 11
get_imported_joomla_posts()
S
62 2 11
enqueue_scripts()
S
54 1 20
add_help_tab()
S
58 1 16
optimize_database()
S
59 1 16
is_internal_link()
S
71 2 5
split_anchor_link()
S
63 2 10
get_joomla_language()
S
67 2 8
build_taxonomy_slug()
S
68 2 7
restore_links()
S
69 2 6
get_database_info()
S
57 1 15
process_category_description()
S
68 2 7
rename_old_log_file()
S
69 2 6
get_log_filename()
S
63 2 10
display_notices()
S
71 2 5
get_first_image_from()
S
65 2 9
set_local_timezone()
S
71 2 6
display_admin_page()
S
58 1 14
save_wp_term_relationships()
S
61 1 13
clean_cache()
S
75 1 4
get_wp_term_ids_from_meta()
S
69 1 6
wc_upload_dir()
S
67 1 7
get_post_meta_like()
S
64 1 10
get_plugin_name()
S
82 1 3
get_term_id_by_slug()
S
69 1 7
enqueue_styles()
S
77 1 3
get_imported_categories()
S
80 1 3
init()
S
77 1 3
wp_table_exists()
S
71 1 5
stop_import()
S
80 1 3
log()
S
78 1 3
empty_log_file()
S
80 1 3
remove_html_extension()
S
75 1 4
get_post_id_from_guid()
S
74 1 4
get_wp_term_id_from_meta()
S
69 1 6
save_plugin_options()
S
72 1 5
get_wp_post_ids_from_meta()
S
69 1 6
get_wp_post_id_from_meta()
S
69 1 6
get_wp_post_id_from_joomla_id()
S
75 1 4
remove_links()
S
74 1 4
get_option_names()
S
77 1 4
get_post_by_name()
S
71 1 5
help_instructions()
S
79 1 3
help_options()
S
79 1 3
save_wp_data()
S
75 1 5
terms_count()
S
76 1 4
restore_wp_data()
S
75 1 5
remote_copy()
S
79 1 3
import_stopped()
S
80 1 3