BP_Attachment B

Total Complexity 86
Dependencies 2
Dependents 0
Total lines 729
Lines of code 321
Logical lines of code 162
Comment lines 295
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
edit_image()
A
45 13 43
crop()
A
41 11 56
upload()
A
49 9 31
__construct()
A
51 9 25
add_revision()
A
45 8 40
get_image_data()
S
55 6 18
validate_mime_types()
S
61 5 12
sanitize_utf8_filename()
S
62 5 11
set_upload_dir()
S
58 4 16
create_dir()
S
64 4 11
set_upload_error_strings()
S
55 3 19
validate_upload()
S
65 4 9
includes()
S
66 3 8
script_data()
S
62 1 12
upload_dir_filter()
S
64 1 10