WP SVG Images 4.2

Does WP SVG Images work with WordPress 6.5.4 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: 111.6 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.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/wp-svg-images/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

SVG images ‹ Test site — WordPress

Page screenshot: SVG images ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=wp-svg-images.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-svg-images%2Fwp-svg-images.php&plugin_status=all&paged=1&s&_wpnonce=fcf1ea09df
Aspect after-activation
HTTP status 200
Load time 0.509 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Settings → SVG images

Page screenshot: Settings → SVG images
URL /wp-admin/options-general.php?page=wp-svg-images.php
Aspect menu-item
HTTP status 200
Load time 0.173 s
Memory usage 3.43 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.302 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.410 s0.346 s-0.064 s3.44 MiB3.56 MiB+ 131.29 KiB
/wp-admin/edit.php0.308 s0.228 s-0.080 s3.46 MiB3.59 MiB+ 128.71 KiB
/wp-admin/post-new.php0.936 s0.662 s-0.274 s5.59 MiB5.76 MiB+ 176.94 KiB
/wp-admin/upload.php0.628 s0.428 s-0.200 s3.38 MiB3.51 MiB+ 132.74 KiB
/wp-admin/options-writing.php0.242 s0.416 s+0.174 s3.37 MiB3.45 MiB+ 74.21 KiB
/wp-admin/media-new.php0.313 s0.293 s-0.020 s3.35 MiB3.44 MiB+ 95.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.206 s-0.008 s3.37 MiB3.48 MiB+ 115.61 KiB
/wp-admin/post-new.php?post_type=page0.559 s0.626 s+0.067 s5.59 MiB5.75 MiB+ 172.52 KiB
/wp-admin/options-discussion.php0.388 s0.305 s-0.083 s3.36 MiB3.46 MiB+ 100.62 KiB
/wp-admin/edit-comments.php0.274 s0.235 s-0.039 s3.39 MiB3.49 MiB+ 98.24 KiB
/0.334 s0.213 s-0.121 s3.42 MiB3.42 MiB+ 1.7 KiB
Average 0.419 s0.360 s-0.059 s3.79 MiB3.9 MiB+ 111.6 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
Language % Lines of code Comment lines Files
PHP98.5%1,47846413
JavaScript1.3%2001
CSS0.1%101
SVG0.1%101
Total 1,500 464 16

PHP Code Analysis | More results »

Lines of code 1,452
Total complexity 239
Median class complexity 6.5
Median method complexity 1.0
Most complex class WPSVG
Most complex function enshrined\svgSanitize\data\AllowedAttributes::getAttributes()
Classes 12
Methods 86
Functions 1

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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "SVG images" Admin Menu