Poll 1.9.5

Does Poll work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 165.23 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/poll-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=poll-wp%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=a6094a6c08
Aspect after-activation
HTTP status 200
Load time 0.789 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

TS Poll

Page screenshot: TS Poll
URL /wp-admin/admin.php?page=ts-poll
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

TS Poll → Add Poll

Page screenshot: TS Poll → Add Poll
URL /wp-admin/admin.php?page=ts-poll-builder
Aspect menu-item
HTTP status 200
Load time 0.629 s
Memory usage 4.52 MiB
JS errors None
Resource errors None

TS Poll → Pro Features

Page screenshot: TS Poll → Pro Features
URL /wp-admin/admin.php?page=ts-poll-pro
Aspect menu-item
HTTP status 200
Load time 0.237 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

TS Poll → Add-Ons

Page screenshot: TS Poll → Add-Ons
URL /wp-admin/admin.php?page=ts-poll-add-ons
Aspect menu-item
HTTP status 200
Load time 0.795 s
Memory usage 3.88 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.306 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.506 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.041 s
Memory usage 5.63 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.371 s+0.025 s3.72 MiB3.9 MiB+ 182.92 KiB
/wp-admin/edit.php0.249 s0.239 s-0.010 s3.76 MiB3.92 MiB+ 172.38 KiB
/wp-admin/post-new.php0.777 s0.911 s+0.134 s5.55 MiB5.66 MiB+ 113.77 KiB
/wp-admin/upload.php0.421 s0.527 s+0.106 s3.69 MiB3.85 MiB+ 171.33 KiB
/wp-admin/options-writing.php0.170 s0.157 s-0.013 s3.62 MiB3.83 MiB+ 215.23 KiB
/wp-admin/media-new.php0.398 s0.205 s-0.193 s3.66 MiB3.83 MiB+ 171.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.197 s-0.033 s3.69 MiB3.86 MiB+ 172.41 KiB
/wp-admin/post-new.php?post_type=page0.707 s0.658 s-0.049 s5.54 MiB5.65 MiB+ 108.77 KiB
/wp-admin/options-discussion.php0.257 s0.252 s-0.005 s3.6 MiB3.83 MiB+ 235.81 KiB
/wp-admin/edit-comments.php0.218 s0.203 s-0.015 s3.7 MiB3.86 MiB+ 171.35 KiB
/0.281 s0.210 s-0.071 s3.6 MiB3.7 MiB+ 102.04 KiB
Average 0.369 s0.357 s-0.011 s4.01 MiB4.17 MiB+ 165.23 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP41.8%12,67574429
CSS27.7%8,39611814
JavaScript22.7%6,8951,03811
PO File6.2%1,8841,1414
SVG1.6%493012
Total 30,343 3,041 70

PHP Code Analysis | More results »

Lines of code 5,294
Total complexity 478
Median class complexity 13.0
Median method complexity 1.0
Most complex class ts_poll_admin
Most complex function ts_poll_function::__construct()
Classes 11
Methods 95
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

Options wp_options 1

Sidebar Widgets 1

ID Name
ts_poll_widgetTS Poll Widget

Meta Boxes

{
    "dashboard": {
        "tspoll_dashboard_widget": {
            "title": "TS Poll",
            "context": "normal"
        }
    }
}

PHP Error Log 5 lines

[04-Oct-2022 14:46:28 UTC] PHP Notice:  Undefined index: hook_suffix in /wp-admin/includes/class-wp-screen.php on line 223
[04-Oct-2022 14:46:35 UTC] PHP Notice:  Undefined index: hook_suffix in /wp-admin/includes/class-wp-screen.php on line 223
[04-Oct-2022 14:46:42 UTC] PHP Notice:  Undefined index: hook_suffix in /wp-admin/includes/class-wp-screen.php on line 223
[04-Oct-2022 14:46:43 UTC] PHP Notice:  Undefined index: hook_suffix in /wp-admin/includes/class-wp-screen.php on line 223
[04-Oct-2022 14:46:44 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). 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.8.0.) in /wp-includes/functions.php on line 5831
See also: All tests for this plugin, How to Hide Poll Admin Menus and Widgets