EEH_File C

Total Complexity 113
Dependencies 2
Dependents 12
Total lines 914
Lines of code 481
Logical lines of code 227
Comment lines 312
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
loadAlternateWpFileSystem()
A
44 8 47
ensure_folder_exists_and_is_writable()
A
49 9 30
loadWpFileSystem()
A
46 8 41
write_to_file()
A
47 8 36
verify_filepath_and_permissions()
S
50 7 29
ensure_file_exists_and_is_writable()
S
53 7 22
move()
S
49 6 31
copy()
S
51 6 28
get_contents_of_folders()
S
54 6 22
_permissions_error_for_unreadable_filepath()
S
53 4 24
validateFolderForCopyOrMove()
S
56 4 18
validateFileForCopyOrMove()
S
57 4 17
verify_is_writable()
S
57 4 15
add_index_file()
S
60 3 15
_get_wp_filesystem()
S
63 3 12
add_htaccess_deny_from_all()
S
65 3 9
get_file_contents()
S
61 2 14
display_request_filesystem_credentials_form()
S
72 2 5
get_parent_folder()
S
69 2 6
standardise_directory_separators()
S
73 2 4
convert_local_filepath_to_remote_filepath()
S
74 1 4
group()
S
75 1 4
owner()
S
75 1 4
permissions()
S
75 1 4
chmod()
S
74 1 4
remove_filename_from_filepath()
S
79 1 3
is_in_uploads_folder()
S
74 1 4
get_filename_from_filepath()
S
79 1 3
delete()
S
74 1 4
standardise_and_end_with_directory_separator()
S
79 1 3
end_with_directory_separator()
S
78 1 3
get_classname_from_filepath_with_standard_filename()
S
71 1 5
exists()
S
75 1 4
is_readable()
S
75 1 4
get_file_extension()
S
79 1 3