Safe SVG 2.2.0

Does Safe SVG work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 46.03 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 900,000+
WordPress.org page https://wordpress.org/plugins/safe-svg/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=safe-svg%2Fsafe-svg.php&plugin_status=all&paged=1&s&_wpnonce=c8013c2ef5
Aspect after-activation
HTTP status 200
Load time 0.557 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.209 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.369 s0.321 s-0.048 s2.83 MiB2.9 MiB+ 71.8 KiB
/wp-admin/edit.php0.207 s0.195 s-0.012 s2.85 MiB2.92 MiB+ 71.8 KiB
/wp-admin/post-new.php0.732 s0.606 s-0.126 s5.22 MiB5.19 MiB- 22.78 KiB
/wp-admin/upload.php0.572 s0.377 s-0.195 s2.77 MiB2.82 MiB+ 55.25 KiB
/wp-admin/options-writing.php0.225 s0.188 s-0.037 s2.76 MiB2.81 MiB+ 46.29 KiB
/wp-admin/media-new.php0.354 s0.319 s-0.035 s2.74 MiB2.81 MiB+ 66.58 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.244 s+0.031 s2.76 MiB2.83 MiB+ 71.75 KiB
/wp-admin/post-new.php?post_type=page0.589 s0.949 s+0.360 s5.21 MiB5.18 MiB- 27.2 KiB
/wp-admin/options-discussion.php0.214 s0.220 s+0.006 s2.75 MiB2.8 MiB+ 54.82 KiB
/wp-admin/edit-comments.php0.276 s0.208 s-0.068 s2.78 MiB2.83 MiB+ 54.38 KiB
/0.273 s0.230 s-0.043 s3.13 MiB3.19 MiB+ 63.69 KiB
Average 0.366 s0.351 s-0.015 s3.25 MiB3.3 MiB+ 46.03 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP69.1%6494427
JavaScript23.4%220384
JSON5.8%5401
Sass1.4%1301
CSS0.3%331
Total 939 483 14

PHP Code Analysis | More results »

Lines of code 649
Total complexity 138
Median class complexity 15.0
Median method complexity 2.0
Most complex class SafeSvg\safe_svg
Most complex function SafeSvg\safe_svg::svg_dimensions()
Classes 5
Methods 33
Functions 8

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin