UploadHandler D

Total Complexity 340
Dependencies 4
Dependents 0
Total lines 1,403
Lines of code 1,202
Logical lines of code 667
Comment lines 112
Methods 66
Properties 3

Methods 66

Method Rating Maintainability Complexity Lines of code
validate()
D
33 33 86
imagick_create_scaled_image()
C
34 27 82
gd_create_scaled_image()
C
32 21 109
post()
B
43 17 48
gd_orient_image()
B
41 16 56
handle_file_upload()
A
43 13 49
imagemagick_create_scaled_image()
A
45 11 41
fix_file_extension()
A
48 10 30
generate_response()
A
52 10 23
get_image_size()
A
47 9 33
get_full_url()
A
58 10 12
delete()
A
53 9 23
imagick_orient_image()
A
49 8 33
download()
A
46 7 40
initialize()
A
55 8 21
__construct()
S
39 4 73
gd_imageflip()
S
47 5 41
get_download_url()
S
53 6 23
handle_image_file()
S
53 6 22
get_file_object()
S
53 5 23
imagick_get_image_object()
S
59 5 14
get_file_type()
S
61 5 13
get()
S
58 4 16
readfile()
S
58 4 15
is_valid_image_file()
S
63 5 10
get_upload_path()
S
60 4 14
get_config_bytes()
S
60 4 14
get_unique_filename()
S
60 4 14
create_scaled_image()
S
64 4 9
set_additional_file_properties()
S
60 3 13
get_scaled_image_file_paths()
S
60 3 13
get_file_names_params()
S
64 3 10
destroy_image_object()
S
72 3 5
imagick_destroy_image_object()
S
74 3 4
is_valid_file_object()
S
68 3 7
gd_destroy_image_object()
S
74 3 4
gd_get_image_object()
S
68 3 7
get_file_size()
S
64 3 10
upcount_name_callback()
S
70 3 5
head()
S
65 2 10
send_content_type_header()
S
67 2 8
send_access_control_headers()
S
64 2 9
fix_integer_overflow()
S
70 2 6
get_query_separator()
S
77 2 3
get_file_objects()
S
64 2 10
get_error_message()
S
76 2 4
get_user_path()
S
71 2 6
trim_file_name()
S
67 2 7
get_file_name()
S
61 1 14
get_response()
S
82 1 3
get_user_id()
S
77 1 4
imagick_set_image_object()
S
76 1 4
handle_form_data()
S
91 1 2
get_file_name_param()
S
75 1 4
get_singular_param_name()
S
78 1 3
get_version_param()
S
79 1 3
get_server_var()
S
80 1 3
get_query_param()
S
80 1 3
get_post_param()
S
80 1 3
get_upload_data()
S
80 1 3
header()
S
81 1 3
body()
S
82 1 3
count_file_objects()
S
80 1 3
upcount_name()
S
68 1 8
gd_set_image_object()
S
76 1 4
basename()
S
72 1 4