C_Gallery_Storage D

Total Complexity 478
Dependencies 22
Dependents 0
Total lines 2,017
Lines of code 1,455
Logical lines of code 1,017
Comment lines 488
Methods 67
Properties 4

Methods 67

Method Rating Maintainability Complexity Lines of code
calculate_image_clone_result()
D
17
69 214
generate_image_clone()
D
25
47 134
get_image_size_params()
D
35 32 83
import_image_file()
C
32 29 93
_get_computed_image_abspath()
B
38 23 68
copy_images()
A
44 12 42
recover_image()
A
48 12 32
get_image_dimensions()
A
48 12 32
get_image_html()
A
48 11 33
_delete_gallery_directory()
A
49 11 29
extract_zip()
A
47 10 34
correct_exif_rotation()
A
50 10 28
upload_zip()
A
45 9 39
normalize_image_size_name()
A
57 10 18
_get_computed_gallery_abspath()
A
50 9 29
delete_image()
A
50 9 28
_get_computed_image_url()
A
49 9 27
set_post_thumbnail()
A
52 9 25
upload_image()
A
52 9 22
get_image_sizes()
A
56 9 17
render_image()
A
51 8 26
is_zip()
S
55 7 19
copy_to_media_library()
S
47 6 34
is_image_file()
S
55 7 18
get_gallery_abspath()
S
66 6 7
delete_directory()
S
56 4 19
update_image_dimension_metadata()
S
61 5 10
__call()
S
62 5 10
is_in_media_library()
S
59 4 14
_get_image_id()
S
62 4 12
_get_gallery_id()
S
62 4 12
generate_resized_image()
S
64 4 10
get_unique_abspath()
S
58 3 15
delete_gallery()
S
64 4 8
calculate_image_size_dimensions()
S
60 3 13
get_upload_abspath()
S
62 3 11
move_images()
S
66 3 9
sanitize_filename_for_db()
S
64 3 9
delete_from_media_library()
S
66 3 9
is_current_user_over_quota()
S
65 3 9
maybe_base64_decode()
S
66 3 9
is_animated_webp()
S
61 2 12
upload_base64_image()
S
62 2 11
calculate_image_clone_dimensions()
S
66 2 8
get_gallery_relpath()
S
68 2 7
flush_gallery_path_cache()
S
75 2 4
get_instance()
S
70 2 6
get_image_checksum()
S
68 2 7
is_allowed_image_extension()
S
64 2 9
_chmod()
S
66 2 8
sanitize_directory_name()
S
59 1 11
get_wrapped_instance()
S
83 1 3
get_original_html()
S
80 1 3
initialize()
S
73 1 5
get_upload_relpath()
S
71 1 5
get_original_url()
S
79 1 3
get_original_dimensions()
S
80 1 3
get_image_format_list()
S
74 1 4
convert_slashes()
S
72 1 5
get_gallery_root()
S
80 1 3
get_full_url()
S
80 1 3
get_full_html()
S
80 1 3
get_full_dimensions()
S
80 1 3
get_full_abspath()
S
80 1 3
get_cache_abspath()
S
79 1 3
flush_cache()
S
76 1 4
define()
S
66 1 9