safe_svg A

Total Complexity 60
Dependencies 4
Dependents 0
Total lines 469
Lines of code 249
Logical lines of code 156
Comment lines 150
Methods 16
Properties 1

Methods 16

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