WDS_Theme_Switcher 1.0.0

Does WDS_Theme_Switcher work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 22.74 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.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/wds-theme-switcher/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=wds-theme-switcher%2Fwds-theme-switcher.php&plugin_status=all&paged=1&s&_wpnonce=2743c2832a
Aspect after-activation
HTTP status 200
Load time 0.430 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

WDS Theme Switcher

Page screenshot: WDS Theme Switcher
URL /wp-admin/admin.php?page=wds-theme-switcher
Aspect menu-item
HTTP status 200
Load time 0.259 s
Memory usage 3.8 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.228 s
Memory usage 3.32 MiB
JS errors
[
    {
        "message": "ReferenceError: wds_vars_vars is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/wds-theme-switcher/public/assets/js/public.js?ver=1.0.0:43:17)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.328 s-0.014 s3.38 MiB3.41 MiB+ 32.25 KiB
/wp-admin/edit.php0.218 s0.231 s+0.013 s3.41 MiB3.44 MiB+ 30.84 KiB
/wp-admin/post-new.php0.888 s0.588 s-0.300 s5.46 MiB5.49 MiB+ 34.84 KiB
/wp-admin/upload.php0.771 s0.616 s-0.155 s3.32 MiB3.34 MiB+ 13.44 KiB
/wp-admin/options-writing.php0.244 s0.229 s-0.015 s3.32 MiB3.32 MiB+ 6.02 KiB
/wp-admin/media-new.php0.350 s0.296 s-0.054 s3.3 MiB3.32 MiB+ 25.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.234 s+0.034 s3.31 MiB3.34 MiB+ 30.8 KiB
/wp-admin/post-new.php?post_type=page0.650 s0.602 s-0.048 s5.45 MiB5.48 MiB+ 34.43 KiB
/wp-admin/options-discussion.php0.277 s0.257 s-0.020 s3.3 MiB3.32 MiB+ 13.93 KiB
/wp-admin/edit-comments.php0.246 s0.412 s+0.166 s3.34 MiB3.35 MiB+ 13.47 KiB
/0.301 s0.210 s-0.091 s3.31 MiB3.32 MiB+ 14.44 KiB
Average 0.408 s0.364 s-0.044 s3.72 MiB3.74 MiB+ 22.74 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.

PO File
JSON
CSS
PHP
Language % Lines of code Comment lines Files
PO File50.1%29,15116,335119
JSON15.1%8,81508
CSS14.6%8,5212,0485
PHP13.2%7,6654,28548
Sass3.4%1,9572313
JavaScript1.7%1,0031835
Markdown1.3%74806
YAML0.3%16703
XML0.2%102783
Bourne Shell0.1%86101
Total 58,215 22,962 211

PHP Code Analysis | More results »

Lines of code 7,420
Total complexity 1,549
Median class complexity 19.0
Median method complexity 1.0
Most complex class Mobile_Detect
Most complex function Mobile_Detect::mobileGrade()
Classes 36
Methods 499
Functions 33

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 1 lines

[15-Feb-2024 21:10:21 UTC] PHP Deprecated:  Optional parameter $args declared before required parameter $i is implicitly treated as a required parameter in /wp-content/plugins/wds-theme-switcher/admin/includes/CMB2/includes/CMB2_Types.php on line 253
See also: All tests for this plugin, How to Hide the "WDS Theme Switcher" Admin Menu