Mixin_GalleryStorage_Base_Upload C

Total Complexity 116
Dependencies 13
Dependents 0
Total lines 477
Lines of code 361
Logical lines of code 251
Comment lines 100
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
import_gallery_from_fs()
C
35 30 76
import_image_file()
C
33 28 87
extract_zip()
A
47 10 34
upload_zip()
A
45 9 39
upload_image()
A
52 9 24
is_zip()
S
55 7 19
is_image_file()
S
55 7 18
get_unique_abspath()
S
58 3 15
maybe_base64_decode()
S
64 3 11
is_current_user_over_quota()
S
65 3 9
sanitize_filename_for_db()
S
64 3 9
upload_base64_image()
S
62 2 11
is_allowed_image_extension()
S
64 2 9