FG_Joomla_to_WordPress_Admin D

Total Complexity 503
Dependencies 8
Dependents 1
Total lines 3,559
Lines of code 2,223
Logical lines of code 1,274
Comment lines 1,002
Methods 118
Properties 21

Methods 118

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