MGMediaLibraryFolders D

Total Complexity 1,067
Dependencies 6
Dependents 0
Total lines 7,052
Lines of code 5,293
Logical lines of code 2,969
Comment lines 294
Methods 188
Properties 20

Methods 188

Method Rating Maintainability Complexity Lines of code
move_copy_file()
D
21
39 197
admin_check_for_new_folders()
D
27
43 125
set_global_constants()
D
34 38 94
move_to_protected_folder()
D
27
34 133
max_sync_contents()
D
29 31 121
maxgalleria_rename_image()
D
28
30 121
delete_maxgalleria_media()
C
31 24 106
display_files()
C
29 22 131
search_library()
C
27
18 162
mlfp_process_bdp()
B
34 18 91
regenerate_interface()
B
26
9 219
max_discover_files()
B
37 19 66
add_new_attachment()
B
35 18 80
mlfp_run_sync_process()
B
36 18 79
mlp_upgrade_to_pro()
B
25
1 321
mlfp_process_mc_data()
B
39 18 64
upload_attachment()
B
39 18 60
show_mlp_admin_notice()
B
44 19 39
update_bb_postmeta_item()
B
43 18 48
get_browser()
B
39 16 63
display_folder_nav()
B
30 2 262
mlf_delete_post()
A
43 16 42
enqueue_admin_print_styles()
A
44 15 40
ajax_process_image()
A
44 15 38
scan_attachments()
A
39 13 65
regen_mlp_thumbnails()
A
41 13 50
get_folder_data()
A
39 12 63
mlfp_bdp_report()
A
38 12 62
mlp_display_folder_contents_ajax()
A
45 13 39
mlfp_set_scaling()
A
46 13 37
add_to_max_gallery()
A
41 12 51
create_new_folder()
A
43 10 46
enqueue_admin_print_scripts()
A
44 10 38
mlp_display_folder_contents_images_ajax()
A
48 10 32
get_absolute_path()
A
47 10 31
mlp_generate_file_link()
A
49 10 28
remove_existing_thumbnails()
A
54 10 18
display_folder_contents()
A
39 6 67
setup_hooks()
A
32 3 112
recursive_find_and_update()
A
56 9 16
update_elementor_data()
A
50 8 28
mlfp_load_fe_image()
A
51 8 25
search_media()
A
45 7 40
mlp_image_seo_change()
A
53 8 22
update_serial_postmeta_records()
A
52 8 22
hide_maxgalleria_media()
A
46 7 36
update_links()
A
48 7 32
mlp_load_folder()
S
49 7 28
new_folder_search()
S
53 7 19
sort_contents()
S
55 7 18
mlf_change_sort_type()
S
55 7 18
wp_get_attachment()
S
49 6 29
get_image_sizes()
S
54 6 19
mlfp_load_image()
S
54 6 19
search_elementor_array()
S
59 6 15
mlpp_settings()
S
43 2 72
mlfp_unblock_ips()
S
51 5 25
activate()
S
52 5 23
mlp_remove_slashes()
S
53 5 23
remove_protected_folders()
S
55 5 19
get_bda_file_info()
S
54 5 18
search_folder_attachments()
S
57 5 16
mlfp_block_new_ip()
S
48 4 31
in_array_r()
S
65 6 8
mlfp_update_htaccess()
S
49 4 29
wppb_recursive_find_and_update()
S
62 5 11
write_log()
S
63 5 11
get_parents()
S
52 4 25
mlfp_display_protected_file()
S
49 1 64
remove_children()
S
56 4 18
new_folder_check()
S
57 4 17
get_file_url_for_copy()
S
58 4 14
get_file_url()
S
58 4 14
mlfp_save_noaccess_page()
S
60 4 13
mlp_get_folder_data()
S
59 4 13
gutenberg_active()
S
59 4 13
is_base_file()
S
60 4 13
mlf_check_for_new_folders()
S
59 4 12
bda_prepare_attachment_for_js()
S
60 4 12
display_folder_nav_ajax()
S
60 4 12
mgmlp_move_copy()
S
61 4 11
is_dir_empty()
S
62 4 11
update_themify_data()
S
54 3 20
update_wppb_data()
S
54 3 20
get_maxgalleria_galleries()
S
56 3 18
strip_base_file()
S
62 4 10
objectToArray()
S
65 4 9
ignore_notice()
S
66 4 8
mlfp_save_mc_data()
S
63 4 9
add_attachment_to_folder2()
S
63 4 10
is_windows()
S
67 4 7
mlfp_toggle_file_access()
S
58 3 15
mlfp_display_bda_info()
S
59 3 14
get_blocked_ips()
S
59 3 13
is_file_protected()
S
61 3 13
mflp_enable_auto_protect()
S
62 3 11
copy_template_to_theme()
S
63 3 11
mlp_review_notice()
S
58 2 18
find_parent_id()
S
57 2 17
get_upload_status()
S
67 3 7
get_ajax_paramater()
S
67 3 7
get_folders()
S
65 3 9
get_folders2()
S
67 3 7
folder_exist()
S
59 2 14
mpmlp_insert_post()
S
51 1 28
mlp_features_notice()
S
62 2 13
add_new_folder_parent()
S
61 2 12
bda_load_protected_file()
S
61 2 12
get_default_folder()
S
62 2 11
mlfp_process_sync_file()
S
61 2 11
mlfp_update_bda_record()
S
61 2 11
mlfp_enqueue_media()
S
61 2 11
kses_mlf_add_allowed_html()
S
63 2 11
__construct()
S
51 1 24
display_mlfp_header()
S
53 1 21
media_localize()
S
56 1 17
add_block_access_table()
S
60 1 16
bda_help()
S
60 1 16
get_base_file()
S
68 2 7
mlpp_hide_template_ad()
S
67 2 7
remove_extension()
S
68 2 7
register_mgmlp_post_type()
S
59 1 15
add_attachment_to_folder()
S
71 2 6
mlf_body_classes()
S
66 2 8
update_elemenator_css_file()
S
62 2 10
file_exists()
S
64 2 10
arrayToObject()
S
69 2 7
is_webp()
S
70 2 6
make_dir_path()
S
78 2 3
classic_editor_plugin_active()
S
73 2 5
is_protected_file()
S
64 2 9
check_for_old_multisite()
S
66 2 8
get_theme_dir()
S
70 2 6
mlfp_remove_protected_folders()
S
68 2 7
mlfp_get_block_ips()
S
66 2 8
is_new_top_level_folder()
S
68 2 7
bda_add_class_to_media_library_grid_elements()
S
66 2 8
get_parent()
S
63 2 10
mlf_hide_info()
S
67 2 7
fetch_uploads_folder_id()
S
64 2 10
mlf_option_true_update()
S
68 2 7
remove_hidden_files()
S
69 2 6
get_subfolder_path()
S
59 1 14
get_folder_path()
S
60 1 13
add_bda_record()
S
60 1 13
add_blocked_ips_table()
S
64 1 11
add_folder_table()
S
64 1 11
esc_quotes()
S
79 1 3
die_json_error_msg()
S
76 1 3
deactivate()
S
91 1 2
get_hash_id()
S
68 1 7
get_private_link()
S
71 1 5
add_hash_id()
S
67 1 7
build_location_url()
S
77 1 3
run_on_deactivate()
S
81 1 3
add_media_folder()
S
63 1 10
update_bda_record()
S
64 1 10
do_deactivation()
S
82 1 3
mlp_set_review_notice_true()
S
69 1 6
do_activation()
S
82 1 3
mlp_set_feature_notice_true()
S
69 1 6
mlp_set_review_later()
S
67 1 7
get_attachment_author()
S
69 1 6
get_all_pages()
S
70 1 6
bda_enqueue_scripts()
S
81 1 3
set_activation_hooks()
S
75 1 4
mlf_folders()
S
82 1 3
remove_bda_record()
S
68 1 7
get_folder_name()
S
69 1 6
add_postmeta_index()
S
73 1 5
load_textdomain()
S
77 1 3
get_parent_by_name()
S
72 1 5
delete_folder_attachment()
S
70 1 6
lookup_uploads_folder_name()
S
70 1 6
mlp_support()
S
80 1 3
block_access_settings()
S
82 1 3
support_sys_info()
S
82 1 3
support_articles()
S
82 1 3
locaton_without_basedir()
S
74 1 4
support_tips()
S
82 1 3
media_library()
S
82 1 3
mlfp_support()
S
82 1 3
mlfp_settings8()
S
82 1 3
mlfp_image_seo()
S
82 1 3
mlfp_thumbnails()
S
82 1 3
remove_postmeta_index()
S
73 1 5
setup_mg_media_plus()
S
61 1 10
update_bb_postmeta()
S
75 1 4