Safe SVG 2.1.0

Does Safe SVG work with WordPress 6.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: 55.14 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.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=737e433573
Aspect after-activation
HTTP status 200
Load time 0.242 s
Memory usage 3.08 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.228 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.277 s0.248 s-0.029 s3.07 MiB3.14 MiB+ 67.88 KiB
/wp-admin/edit.php0.179 s0.188 s+0.009 s3.1 MiB3.17 MiB+ 67.88 KiB
/wp-admin/post-new.php0.757 s0.700 s-0.057 s5.02 MiB5.04 MiB+ 15.84 KiB
/wp-admin/upload.php0.537 s0.322 s-0.215 s3.02 MiB3.07 MiB+ 51.21 KiB
/wp-admin/options-writing.php0.168 s0.270 s+0.102 s3.02 MiB3.05 MiB+ 37.23 KiB
/wp-admin/media-new.php0.264 s0.236 s-0.028 s2.99 MiB3.06 MiB+ 62.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.254 s0.176 s-0.078 s3.01 MiB3.07 MiB+ 67.84 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.611 s-0.015 s5.01 MiB5.03 MiB+ 11.47 KiB
/wp-admin/options-discussion.php0.215 s0.232 s+0.017 s3 MiB3.05 MiB+ 50.97 KiB
/wp-admin/edit-comments.php0.219 s0.212 s-0.007 s3.03 MiB3.08 MiB+ 50.47 KiB
/0.275 s0.218 s-0.057 s2.97 MiB3.09 MiB+ 123.06 KiB
Average 0.343 s0.310 s-0.033 s3.39 MiB3.44 MiB+ 55.14 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
PHP60.1%4232995
JavaScript31.2%220364
JSON6.5%4601
Sass1.7%1201
CSS0.4%331
Total 704 338 12

PHP Code Analysis | More results »

Lines of code 423
Total complexity 83
Median class complexity 1.0
Median method complexity 3.0
Most complex class SafeSvg\safe_svg
Most complex function SafeSvg\safe_svg::svg_dimensions()
Classes 3
Methods 19
Functions 6

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