Safe SVG 2.3.1

Does Safe SVG work with WordPress 6.8.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: 88.37 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000,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=ac4ecbbaa5
Aspect after-activation
HTTP status 200
Load time 0.300 s
Memory usage 3.61 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.182 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.343 s0.290 s-0.053 s3.51 MiB3.6 MiB+ 92.23 KiB
/wp-admin/edit.php0.207 s0.208 s+0.001 s3.57 MiB3.66 MiB+ 92.91 KiB
/wp-admin/post-new.php0.795 s0.689 s-0.106 s6.06 MiB6.16 MiB+ 101.3 KiB
/wp-admin/upload.php0.591 s0.740 s+0.149 s3.52 MiB3.61 MiB+ 82.85 KiB
/wp-admin/options-writing.php0.229 s0.215 s-0.014 s3.5 MiB3.58 MiB+ 81.11 KiB
/wp-admin/media-new.php0.348 s0.174 s-0.174 s3.49 MiB3.58 MiB+ 89.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.206 s+0.009 s3.5 MiB3.6 MiB+ 99.98 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.655 s+0.043 s6.05 MiB6.15 MiB+ 97.76 KiB
/wp-admin/options-discussion.php0.454 s0.281 s-0.173 s3.5 MiB3.58 MiB+ 77.61 KiB
/wp-admin/edit-comments.php0.254 s0.215 s-0.039 s3.52 MiB3.6 MiB+ 77.11 KiB
/0.310 s0.205 s-0.105 s3.43 MiB3.51 MiB+ 79.95 KiB
Average 0.395 s0.353 s-0.042 s3.97 MiB4.06 MiB+ 88.37 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
PHP71.1%7144947
JavaScript21.9%220384
JSON5.4%5401
Sass1.3%1301
CSS0.3%331
Total 1,004 535 14

PHP Code Analysis | More results »

Lines of code 714
Total complexity 150
Median class complexity 16.0
Median method complexity 2.0
Most complex class SafeSvg\safe_svg
Most complex function SafeSvg\safe_svg::svg_dimensions()
Classes 5
Methods 36
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