EEH_File B

Total Complexity 98
Dependencies 3
Dependents 10
Total lines 666
Lines of code 328
Logical lines of code 192
Comment lines 239
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
_get_wp_filesystem()
A
41 15 55
copy()
A
47 10 36
ensure_folder_exists_and_is_writable()
A
49 9 30
write_to_file()
A
52 8 23
verify_filepath_and_permissions()
S
51 7 26
ensure_file_exists_and_is_writable()
S
53 7 22
get_contents_of_folders()
S
55 6 21
_permissions_error_for_unreadable_filepath()
S
56 4 18
verify_is_writable()
S
59 4 13
add_htaccess_deny_from_all()
S
65 3 9
add_index_file()
S
65 3 9
get_parent_folder()
S
69 2 6
get_file_contents()
S
66 2 8
delete()
S
74 2 4
exists()
S
74 2 4
is_readable()
S
67 2 8
display_request_filesystem_credentials_form()
S
72 2 5
is_in_uploads_folder()
S
73 2 4
standardise_and_end_with_directory_separator()
S
79 1 3
remove_filename_from_filepath()
S
79 1 3
end_with_directory_separator()
S
78 1 3
standardise_directory_separators()
S
78 1 3
get_classname_from_filepath_with_standard_filename()
S
71 1 5
get_file_extension()
S
79 1 3
get_filename_from_filepath()
S
79 1 3
convert_local_filepath_to_remote_filepath()
S
74 1 4