Svg_Uploads_OBFX_Module S

Total Complexity 44
Dependencies 1
Dependents 0
Total lines 319
Lines of code 171
Logical lines of code 98
Comment lines 99
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_svg_dimensions()
A
48 10 35
sanitize()
A
52 9 25
prepare_attachment_for_js()
S
54 5 22
sanitize_uploaded_file()
S
55 5 19
adjust_filetype_extension()
S
60 3 13
generate_attachment_metadata()
S
63 2 11
set_module_strings()
S
63 1 11
enable_module()
S
82 1 3
load()
S
91 1 2
options()
S
82 1 3
admin_enqueue()
S
82 1 3
public_enqueue()
S
82 1 3
hooks()
S
65 1 8
load_sanitizer()
S
73 1 5
is_gzipped()
S
77 1 3
add_svg_mime_type()
S
73 1 5