Raffle Ticket Generator - Woocommerce 4.2.03

Does "Raffle Ticket Generator - Woocommerce" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 18.39 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 version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/raffle-ticket-generator/
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=raffle-ticket-generator%2Fraffle-ticket-generator.php&plugin_status=all&paged=1&s&_wpnonce=170a15abef
Aspect after-activation
HTTP status 200
Load time 0.312 s
Memory usage 2.73 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).accordion is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/raffle-ticket-generator/includes/js/script.js?ver=5.7.2:2:28)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7.2:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7.2:2:30307)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Raffle Ticket Generator

Page screenshot: Raffle Ticket Generator
URL /wp-admin/admin.php?page=woocommerce-raffle
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 2.7 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).accordion is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/raffle-ticket-generator/includes/js/script.js?ver=5.7.2:2:28)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7.2:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7.2:2:30307)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Raffle Ticket Generator → View Customer’s Ticket Numbers

Page screenshot: Raffle Ticket Generator → View Customer’s Ticket Numbers
URL /wp-admin/admin.php?page=woocommerce-raffle-tickets
Aspect menu-item
HTTP status 200
Load time 0.292 s
Memory usage 2.72 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.154 s
Memory usage 2.66 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.258 s-0.004 s2.82 MiB2.84 MiB+ 21.37 KiB
/wp-admin/edit.php0.298 s0.189 s-0.109 s2.86 MiB2.88 MiB+ 21.68 KiB
/wp-admin/post-new.php0.921 s1.063 s+0.142 s5.02 MiB5.07 MiB+ 42.35 KiB
/wp-admin/upload.php0.492 s0.413 s-0.079 s2.7 MiB2.71 MiB+ 17.15 KiB
/wp-admin/options-writing.php0.235 s0.146 s-0.089 s2.71 MiB2.7 MiB- 15.81 KiB
/wp-admin/media-new.php0.219 s0.167 s-0.052 s2.67 MiB2.69 MiB+ 17.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.200 s+0.017 s2.77 MiB2.79 MiB+ 19.48 KiB
/wp-admin/post-new.php?post_type=page1.206 s0.738 s-0.468 s5.01 MiB5.04 MiB+ 33.94 KiB
/wp-admin/options-discussion.php0.287 s0.286 s-0.001 s2.67 MiB2.69 MiB+ 16.7 KiB
/wp-admin/edit-comments.php0.230 s0.214 s-0.016 s2.78 MiB2.79 MiB+ 16.26 KiB
/0.248 s0.202 s-0.046 s2.65 MiB2.66 MiB+ 11.9 KiB
Average 0.416 s0.352 s-0.064 s3.15 MiB3.17 MiB+ 18.39 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
CSS75.9%1,67342
PHP17.7%391361
JavaScript5.9%1292243
XML0.5%1202
Total 2,205 264 8

PHP Code Analysis | More results »

Lines of code 461
Total complexity 39
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function raffle_showresults()
Classes 0
Methods 0
Functions 17

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 1

PHP Error Log 14 lines

[16-May-2021 03:55:19 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:19 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:21 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:21 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:22 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:24 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:24 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:24 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:25 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:25 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:26 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:27 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:27 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
[16-May-2021 03:55:28 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/raffle-ticket-generator/raffle-ticket-generator.php on line 61
See also: All tests for this plugin, How to Hide Raffle Ticket Generator - Woocommerce Admin Menus