Safe SVG 2.2.4

Does Safe SVG work with WordPress 6.5.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: 81.89 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.5.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=a1bad76a68
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.46 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.216 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.418 s0.342 s-0.076 s3.44 MiB3.51 MiB+ 81.2 KiB
/wp-admin/edit.php0.241 s0.216 s-0.025 s3.46 MiB3.54 MiB+ 80.52 KiB
/wp-admin/post-new.php0.985 s0.730 s-0.255 s5.59 MiB5.75 MiB+ 158.44 KiB
/wp-admin/upload.php0.672 s0.543 s-0.129 s3.38 MiB3.44 MiB+ 64.66 KiB
/wp-admin/options-writing.php0.237 s0.228 s-0.009 s3.37 MiB3.43 MiB+ 55.7 KiB
/wp-admin/media-new.php0.331 s0.239 s-0.092 s3.35 MiB3.42 MiB+ 75.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.215 s-0.026 s3.37 MiB3.45 MiB+ 81.15 KiB
/wp-admin/post-new.php?post_type=page0.682 s0.600 s-0.082 s5.59 MiB5.74 MiB+ 154.07 KiB
/wp-admin/options-discussion.php0.275 s0.383 s+0.108 s3.36 MiB3.42 MiB+ 64.23 KiB
/wp-admin/edit-comments.php0.489 s0.269 s-0.220 s3.39 MiB3.45 MiB+ 63.79 KiB
/0.402 s0.228 s-0.174 s3.42 MiB3.44 MiB+ 21.09 KiB
Average 0.452 s0.363 s-0.089 s3.79 MiB3.87 MiB+ 81.89 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.5%6624627
JavaScript23.1%220384
JSON5.7%5401
Sass1.4%1301
CSS0.3%331
Total 952 503 14

PHP Code Analysis | More results »

Lines of code 662
Total complexity 143
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