Modula_Gallery_Upload D

Total Complexity 150
Dependencies 3
Dependents 0
Total lines 1,139
Lines of code 677
Logical lines of code 393
Comment lines 365
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
sanitize_image()
B
38 18 76
ajax_unzip_file()
A
40 12 60
zip_upload_dir()
A
44 10 47
notify_upload_errors()
A
46 9 39
ajax_check_paths()
A
48 9 34
ajax_modula_add_images_ids()
A
43 7 47
upload_error_notice()
S
51 7 28
ajax_check_files()
S
52 7 24
list_folders()
S
54 6 22
ajax_list_folders()
S
53 6 20
ajax_import_file()
S
54 6 19
media_browser()
S
45 4 42
mb_pathinfo()
S
55 5 21
upload_image()
S
51 4 31
check_file()
S
62 5 11
get_files()
S
59 4 15
handle_sideload_without_deleting()
S
58 4 15
check_folder()
S
62 4 13
enqueue_scripts()
S
62 4 12
required_scripts()
S
53 3 21
check_user_upload_rights()
S
65 4 9
get_instance()
S
70 3 6
get_uploaded_error_files()
S
64 2 10
define_allowed_mime_types()
S
60 1 14
__construct()
S
58 1 14
enqueue_browser_scripts()
S
72 1 6
update_uploaded_error_files()
S
79 1 3
add_folder_browser_button()
S
72 1 7
add_upload_zip_button()
S
72 1 7
set_default_browser_dir()
S
75 1 4