WpXMLSmackUCIUploadHandler D

Total Complexity 340
Dependencies 4
Dependents 0
Total lines 1,179
Lines of code 1,005
Logical lines of code 688
Comment lines 127
Methods 61
Properties 4

Methods 61

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