SurveyJS 1.9.136

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

Summary

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

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

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

Environment
WordPress version6.6.2
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=6687f2296d
Aspect after-activation
HTTP status 200
Load time 0.501 s
Memory usage 3.55 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.167 s
Memory usage 3.53 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.624 s
Memory usage 3.53 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.684 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s1.138 s+0.774 s3.47 MiB3.54 MiB+ 68 KiB
/wp-admin/edit.php0.234 s0.364 s+0.130 s3.54 MiB3.6 MiB+ 68.95 KiB
/wp-admin/post-new.php0.832 s0.920 s+0.088 s5.75 MiB5.82 MiB+ 66.61 KiB
/wp-admin/upload.php0.722 s0.523 s-0.199 s3.49 MiB3.54 MiB+ 50.34 KiB
/wp-admin/options-writing.php0.211 s0.549 s+0.338 s3.41 MiB3.52 MiB+ 114.4 KiB
/wp-admin/media-new.php0.265 s0.345 s+0.080 s3.4 MiB3.52 MiB+ 127.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.312 s+0.103 s3.47 MiB3.54 MiB+ 68.95 KiB
/wp-admin/post-new.php?post_type=page0.646 s0.623 s-0.023 s5.75 MiB5.81 MiB+ 66.66 KiB
/wp-admin/options-discussion.php0.234 s0.359 s+0.125 s3.41 MiB3.52 MiB+ 111.16 KiB
/wp-admin/edit-comments.php0.248 s0.558 s+0.310 s3.49 MiB3.54 MiB+ 51.53 KiB
/0.323 s0.453 s+0.130 s3.45 MiB3.45 MiB- 3.52 KiB
Average 0.390 s0.559 s+0.169 s3.87 MiB3.94 MiB+ 71.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
Language % Lines of code Comment lines Files
PHP87.4%1,0785220
JavaScript6.2%7702
CSS5.6%6902
SVG0.8%1011
Total 1,234 53 25

PHP Code Analysis | More results »

Lines of code 1,116
Total complexity 100
Median class complexity 3.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 2 lines

[14-Sep-2024 05:14:36 UTC] PHP Deprecated:  Optional parameter $file declared before required parameter $path is implicitly treated as a required parameter in /wp-content/plugins/surveyjs/ajax_handlers/upload_files.php on line 15
[14-Sep-2024 05:14:40 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