wds_UploadHandler D

Total Complexity 246
Dependencies 2
Dependents 0
Total lines 925
Lines of code 801
Logical lines of code 438
Comment lines 50
Methods 45
Properties 2

Methods 45

Method Rating Maintainability Complexity Lines of code
__construct()
C
37 24 66
create_scaled_image()
B
33 21 95
validate()
B
42 19 52
post()
B
43 19 45
handle_file_upload()
A
40 15 58
handle_directory()
A
46 10 35
generate_response()
A
54 10 19
handle_zip_file()
A
48 8 32
initialize()
A
55 8 21
handle_image_file()
A
49 7 33
orient_image()
A
49 7 32
delete()
S
57 7 16
get_full_url()
S
60 8 10
download()
S
51 5 26
handle_file_import()
S
51 5 25
get_file_object()
S
53 5 23
get_unique_filename()
S
59 5 14
get_file_type()
S
61 5 13
get()
S
57 4 17
get_download_url()
S
59 4 14
get_config_bytes()
S
61 4 13
trim_file_name()
S
60 4 12
set_file_delete_properties()
S
61 3 12
get_upload_path()
S
69 3 6
is_valid_file_object()
S
68 3 7
send_content_type_header()
S
64 3 10
upcount_name_callback()
S
70 3 5
get_version_param()
S
77 2 3
head()
S
65 2 10
send_access_control_headers()
S
64 2 9
get_error_message()
S
78 2 3
get_file_name_param()
S
77 2 3
fix_integer_overflow()
S
70 2 6
get_file_objects()
S
64 2 10
get_user_path()
S
71 2 6
get_query_separator()
S
77 2 3
get_file_name()
S
68 1 8
get_user_id()
S
77 1 4
body()
S
82 1 3
readfile()
S
80 1 3
get_file_size()
S
80 1 3
upcount_name()
S
68 1 8
handle_form_data()
S
91 1 2
count_file_objects()
S
80 1 3
header()
S
81 1 3