SurveyJS 1.12.20

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

Summary

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

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

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

Environment
WordPress version6.8.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=d5966f8a9b
Aspect after-activation
HTTP status 200
Load time 0.917 s
Memory usage 3.59 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 2.503 s
Memory usage 3.56 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.637 s
Memory usage 3.56 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.714 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.401 s0.520 s+0.119 s3.51 MiB3.57 MiB+ 67.83 KiB
/wp-admin/edit.php0.189 s0.334 s+0.145 s3.57 MiB3.64 MiB+ 68.77 KiB
/wp-admin/post-new.php0.833 s1.257 s+0.424 s6.07 MiB6.12 MiB+ 59.81 KiB
/wp-admin/upload.php0.578 s0.474 s-0.104 s3.52 MiB3.57 MiB+ 50.11 KiB
/wp-admin/options-writing.php0.233 s0.327 s+0.094 s3.5 MiB3.55 MiB+ 55.35 KiB
/wp-admin/media-new.php0.275 s0.383 s+0.108 s3.49 MiB3.55 MiB+ 63.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.306 s+0.087 s3.5 MiB3.57 MiB+ 68.72 KiB
/wp-admin/post-new.php?post_type=page0.647 s0.608 s-0.039 s6.05 MiB6.11 MiB+ 55.34 KiB
/wp-admin/options-discussion.php0.324 s0.446 s+0.122 s3.5 MiB3.55 MiB+ 46.98 KiB
/wp-admin/edit-comments.php0.191 s0.329 s+0.138 s3.52 MiB3.57 MiB+ 51.35 KiB
/0.327 s0.597 s+0.270 s3.43 MiB3.48 MiB+ 49.68 KiB
Average 0.383 s0.507 s+0.124 s3.97 MiB4.03 MiB+ 57.95 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript89.9%10,5042,16843
PHP9.4%1,1025520
CSS0.6%6902
SVG0.1%1011
Total 11,685 2,224 66

PHP Code Analysis | More results »

Lines of code 1,147
Total complexity 109
Median class complexity 4.0
Median method complexity 1.0
Most complex class SurveyJS_SurveyJS
Most complex function SurveyJS_Editor::render()
Classes 19
Methods 51
Functions 6

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

[03-May-2025 23:34:06 UTC] PHP Warning:  Undefined variable $license_key in /wp-content/plugins/surveyjs/views/settings.php on line 45
See also: All tests for this plugin, How to Hide SurveyJS Admin Menus