Safe SVG 2.2.1

Does Safe SVG work with WordPress 6.4.1 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: 53.61 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.4.1
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=0f8d59d202
Aspect after-activation
HTTP status 200
Load time 0.484 s
Memory usage 3.4 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.238 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.540 s0.369 s-0.171 s3.38 MiB3.46 MiB+ 79.91 KiB
/wp-admin/edit.php0.444 s0.243 s-0.201 s3.41 MiB3.48 MiB+ 79.91 KiB
/wp-admin/post-new.php0.984 s0.695 s-0.289 s5.46 MiB5.49 MiB+ 37.41 KiB
/wp-admin/upload.php0.661 s0.573 s-0.088 s3.32 MiB3.38 MiB+ 63.36 KiB
/wp-admin/options-writing.php0.233 s0.430 s+0.197 s3.32 MiB3.37 MiB+ 55.02 KiB
/wp-admin/media-new.php0.340 s0.315 s-0.025 s3.29 MiB3.37 MiB+ 74.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.225 s+0.000 s3.31 MiB3.39 MiB+ 79.86 KiB
/wp-admin/post-new.php?post_type=page0.820 s0.636 s-0.184 s5.45 MiB5.42 MiB- 26.35 KiB
/wp-admin/options-discussion.php0.386 s0.300 s-0.086 s3.3 MiB3.36 MiB+ 62.93 KiB
/wp-admin/edit-comments.php0.256 s0.241 s-0.015 s3.33 MiB3.4 MiB+ 62.49 KiB
/0.303 s0.217 s-0.086 s3.36 MiB3.38 MiB+ 20.47 KiB
Average 0.472 s0.386 s-0.086 s3.72 MiB3.77 MiB+ 53.61 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