SVG Icons 1.0.6

Does SVG Icons work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 58.9 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 version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/shp-icon/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=shp-icon%2Fshp-icon.php&plugin_status=all&paged=1&s&_wpnonce=8f4c8dc49f
Aspect after-activation
HTTP status 200
Load time 0.460 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Appearance → SVG Icons

Page screenshot: Appearance → SVG Icons
URL /wp-admin/themes.php?page=shp-icon
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Appearance → SVG Icons → Settings

Page screenshot: Appearance → SVG Icons → Settings
URL /wp-admin/themes.php?page=shp-icon&tab=settings
Aspect menu-item-tab
HTTP status 200
Load time 0.143 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Appearance → SVG Icons → Information & Help

Page screenshot: Appearance → SVG Icons → Information & Help
URL /wp-admin/themes.php?page=shp-icon&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 0.150 s
Memory usage 2.73 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.315 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.250 s0.259 s+0.009 s2.82 MiB2.87 MiB+ 56.01 KiB
/wp-admin/edit.php0.171 s0.208 s+0.037 s2.86 MiB2.92 MiB+ 56.01 KiB
/wp-admin/post-new.php0.877 s0.941 s+0.064 s5.02 MiB5.11 MiB+ 92.8 KiB
/wp-admin/upload.php0.462 s0.346 s-0.116 s2.7 MiB2.75 MiB+ 57.77 KiB
/wp-admin/options-writing.php0.245 s0.236 s-0.009 s2.71 MiB2.74 MiB+ 25.01 KiB
/wp-admin/media-new.php0.219 s0.182 s-0.037 s2.67 MiB2.73 MiB+ 57.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.196 s+0.016 s2.77 MiB2.83 MiB+ 55.98 KiB
/wp-admin/post-new.php?post_type=page1.153 s0.804 s-0.349 s5.01 MiB5.1 MiB+ 88.39 KiB
/wp-admin/options-discussion.php0.285 s0.277 s-0.008 s2.67 MiB2.73 MiB+ 57.52 KiB
/wp-admin/edit-comments.php0.235 s0.222 s-0.013 s2.78 MiB2.83 MiB+ 54.86 KiB
/0.269 s0.232 s-0.037 s2.65 MiB2.7 MiB+ 46.31 KiB
Average 0.395 s0.355 s-0.040 s3.15 MiB3.21 MiB+ 58.9 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
CSS
Language % Lines of code Comment lines Files
PHP51.5%1,15043312
JavaScript31.4%7001683
CSS14.0%31222
JSON3.0%6601
Markdown0.2%401
Total 2,232 603 19

PHP Code Analysis | More results »

Lines of code 1,144
Total complexity 167
Median class complexity 22.0
Median method complexity 2.0
Most complex class SayHello\Plugin\Icon\Plugin\Package\OptionsPage
Most complex function SayHello\Plugin\Icon\Plugin\Package\Shortcode::shortcode()
Classes 8
Methods 51
Functions 2

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.

Options wp_options 2

PHP Error Log 2 lines

[20-May-2021 08:52:31 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>shp-icon/v1/icons</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
[20-May-2021 08:52:34 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>shp-icon/v1/icons</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
See also: All tests for this plugin, How to Hide the "SVG Icons" Admin Menu