wpl_UploadHandler D

Total Complexity 241
Dependencies 2
Dependents 3
Total lines 1,067
Lines of code 868
Logical lines of code 493
Comment lines 77
Methods 45
Properties 4

Methods 45

Method Rating Maintainability Complexity Lines of code
validate()
C
39 24 62
handle_file_upload()
B
36 23 74
create_scaled_image()
B
33 19 101
post()
B
43 19 47
orient_image()
B
41 16 56
generate_response()
A
51 10 24
download()
A
46 7 40
initialize()
A
55 8 21
handle_image_file()
A
49 7 31
delete()
S
57 7 16
get_full_url()
S
60 8 10
__construct()
S
41 4 59
imageflip()
S
47 5 42
get_download_url()
S
53 6 22
get_unique_filename()
S
53 6 22
get_file_type()
S
59 6 15
get_file_object()
S
53 5 23
get()
S
58 4 16
readfile()
S
58 4 15
get_upload_path()
S
60 4 14
get_config_bytes()
S
61 4 13
trim_file_name()
S
61 4 11
set_additional_file_properties()
S
61 3 12
upcount_name_callback()
S
70 3 5
is_valid_file_object()
S
68 3 7
get_file_size()
S
71 2 6
send_content_type_header()
S
66 2 8
get_error_message()
S
75 2 4
get_folder_path()
S
71 2 6
get_file_objects()
S
64 2 10
get_query_separator()
S
77 2 3
head()
S
65 2 10
get_server_var()
S
78 2 3
send_access_control_headers()
S
64 2 9
get_version_param()
S
77 2 3
get_file_name_param()
S
77 2 3
fix_integer_overflow()
S
70 2 6
get_folder_id()
S
74 1 5
upcount_name()
S
68 1 8
get_file_name()
S
68 1 8
header()
S
81 1 3
body()
S
81 1 3
count_file_objects()
S
80 1 3
handle_form_data()
S
91 1 2
fix_name()
S
66 1 7