safe_svg A

Total Complexity 69
Dependencies 3
Dependents 0
Total lines 514
Lines of code 262
Logical lines of code 163
Comment lines 178
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
svg_dimensions()
A
47 13 34
skip_svg_regeneration()
A
45 7 42
get_image_tag_override()
S
51 7 24
fix_admin_preview()
S
48 6 32
check_for_svg()
S
58 6 15
sanitize()
S
56 5 20
fix_mime_type_svg()
S
58 5 15
str_ends_with()
S
63 4 10
one_pixel_fix()
S
61 3 13
disable_srcset()
S
70 3 6
__construct()
S
56 1 16
metadata_error_fix()
S
69 2 7
is_gzipped()
S
67 2 7
featured_image_fix()
S
68 2 7
load_custom_admin_style()
S
79 1 3
add_upgrade_link()
S
72 1 6
allow_svg()
S
73 1 5