SurveyJS 1.8.51

Does SurveyJS work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 30.8 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.070 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600+
WordPress.org page https://wordpress.org/plugins/surveyjs/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=surveyjs%2Fsurveyjs.php&plugin_status=all&paged=1&s&_wpnonce=21b41ae990
Aspect after-activation
HTTP status 200
Load time 0.387 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

SurveyJS

Page screenshot: SurveyJS
URL /wp-admin/admin.php?page=sjs-main-menu
Aspect menu-item
HTTP status 200
Load time 0.849 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

SurveyJS → Settings

Page screenshot: SurveyJS → Settings
URL /wp-admin/admin.php?page=sjs-settings
Aspect menu-item
HTTP status 200
Load time 0.403 s
Memory usage 3.03 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.366 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.262 s0.416 s+0.154 s3.05 MiB3.1 MiB+ 55.65 KiB
/wp-admin/edit.php0.167 s0.307 s+0.140 s3.07 MiB3.13 MiB+ 55.79 KiB
/wp-admin/post-new.php0.745 s0.878 s+0.133 s4.97 MiB4.96 MiB- 1.88 KiB
/wp-admin/upload.php0.654 s0.455 s-0.199 s2.99 MiB3.04 MiB+ 44.14 KiB
/wp-admin/options-writing.php0.159 s0.245 s+0.086 s2.99 MiB3.01 MiB+ 24.94 KiB
/wp-admin/media-new.php0.253 s0.295 s+0.042 s2.97 MiB3.02 MiB+ 49.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.273 s+0.104 s2.98 MiB3.04 MiB+ 59.02 KiB
/wp-admin/post-new.php?post_type=page0.609 s0.599 s-0.010 s4.96 MiB4.9 MiB- 63.63 KiB
/wp-admin/options-discussion.php0.200 s0.379 s+0.179 s2.98 MiB3.01 MiB+ 38.78 KiB
/wp-admin/edit-comments.php0.194 s0.307 s+0.113 s3 MiB3.04 MiB+ 39.45 KiB
/0.291 s0.321 s+0.030 s2.94 MiB2.98 MiB+ 37.22 KiB
Average 0.337 s0.407 s+0.070 s3.35 MiB3.38 MiB+ 30.8 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS80.9%4,278265
PHP17.5%9262618
JavaScript1.5%7702
SVG0.2%1011
Total 5,291 53 26

PHP Code Analysis | More results »

Lines of code 952
Total complexity 90
Median class complexity 3.0
Median method complexity 1.0
Most complex class SurveyJS_SettingsPage
Most complex function SurveyJS_Editor::render()
Classes 17
Methods 49
Functions 4

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.

Database Tables 2

PHP Error Log 8 lines

[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
[20-Nov-2022 01:17:24 UTC] PHP Warning:  Undefined variable $current_theme in /wp-content/plugins/surveyjs/views/settings.php on line 61
See also: All tests for this plugin, How to Hide SurveyJS Admin Menus