Lucky Draw Contests 3.0

Does "Lucky Draw | DESIGN - REWARD - REPEAT." work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
6Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/lucky-draw/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=lucky-draw%2Flucky-draw.php&plugin_status=all&paged=1&s&_wpnonce=5a3bb4ded4
Aspect after-activation
HTTP status 200
Load time 0.833 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Lucky Draw

Page screenshot: Lucky Draw
URL /wp-admin/admin.php?page=lucky-draw
Aspect menu-item
HTTP status 200
Load time 0.226 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Lucky Draw → Add Draw

Page screenshot: Lucky Draw → Add Draw
URL /wp-admin/admin.php?page=adddraw
Aspect menu-item
HTTP status 200
Load time 0.376 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Lucky Draw → Draw Prize

Page screenshot: Lucky Draw →  Draw Prize
URL /wp-admin/admin.php?page=drawprize
Aspect menu-item
HTTP status 200
Load time 0.188 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Lucky Draw → Help

Page screenshot: Lucky Draw → Help
URL /wp-admin/admin.php?page=help
Aspect menu-item
HTTP status 200
Load time 0.188 s
Memory usage 3.48 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.246 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.301 s0.314 s+0.013 s3.48 MiB3.5 MiB+ 20.47 KiB
/wp-admin/edit.php0.206 s0.225 s+0.019 s3.54 MiB3.56 MiB+ 18.73 KiB
/wp-admin/post-new.php0.788 s1.065 s+0.277 s5.93 MiB5.95 MiB+ 23.83 KiB
/wp-admin/upload.php0.566 s0.460 s-0.106 s3.5 MiB3.5 MiB+ 1.95 KiB
/wp-admin/options-writing.php0.210 s0.244 s+0.034 s3.47 MiB3.48 MiB+ 5.32 KiB
/wp-admin/media-new.php0.380 s0.281 s-0.099 s3.46 MiB3.48 MiB+ 13.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.240 s+0.064 s3.48 MiB3.5 MiB+ 24.19 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.671 s+0.040 s5.92 MiB5.94 MiB+ 19.36 KiB
/wp-admin/options-discussion.php0.285 s0.334 s+0.049 s3.48 MiB3.48 MiB+ 2.45 KiB
/wp-admin/edit-comments.php0.199 s0.253 s+0.054 s3.5 MiB3.5 MiB+ 1.32 KiB
/0.319 s0.240 s-0.079 s3.48 MiB3.42 MiB- 60.8 KiB
Average 0.369 s0.393 s+0.024 s3.93 MiB3.94 MiB+ 6.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.

JavaScript
CSS
Language % Lines of code Comment lines Files
JavaScript81.4%31,5448,0215
CSS13.2%5,1182754
PHP5.3%2,06811424
Total 38,730 8,410 33

PHP Code Analysis | More results »

Lines of code 883
Total complexity 40
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function lucky_draw_participation_mail()
Classes 0
Methods 0
Functions 26

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.

No new entries found.

PHP Error Log 8 lines

[21-Feb-2025 23:44:51 UTC] PHP Warning:  include_once(/wp-content/plugins/lucky-draw../includes/lucky-draw-db.php): Failed to open stream: No such file or directory in /wp-content/plugins/lucky-draw/lucky-draw.php on line 30
[21-Feb-2025 23:44:51 UTC] PHP Warning:  include_once(): Failed opening '/wp-content/plugins/lucky-draw../includes/lucky-draw-db.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/lucky-draw/lucky-draw.php on line 30
[21-Feb-2025 23:44:53 UTC] WordPress database error Table 'wordpress.wp_lucky_draw' doesn't exist for query SELECT * FROM wp_lucky_draw ORDER BY id DESC  made by do_action('toplevel_page_lucky-draw'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_adminpage, include('/plugins/lucky-draw/admin/dashboard.php')
[21-Feb-2025 23:44:53 UTC] WordPress database error Table 'wordpress.wp_lucky_draw' doesn't exist for query SELECT COUNT(*) FROM `wp_lucky_draw`  made by do_action('toplevel_page_lucky-draw'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_adminpage, include('/plugins/lucky-draw/admin/dashboard.php')
[21-Feb-2025 23:44:55 UTC] WordPress database error Table 'wordpress.wp_lucky_draw' doesn't exist for query SELECT * FROM `wp_lucky_draw` WHERE draw_date <='2025-02-21 ' AND status =1 ORDER BY id ASC  made by do_action('lucky-draw_page_drawprize'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_the_prize, include('/plugins/lucky-draw/admin/draw-prize.php')
[21-Feb-2025 23:44:55 UTC] WordPress database error Table 'wordpress.wp_lucky_draw' doesn't exist for query SELECT COUNT(*) FROM `wp_lucky_draw` WHERE draw_date <='2025-02-21 ' AND status =1 ORDER BY id ASC  made by do_action('lucky-draw_page_drawprize'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_the_prize, include('/plugins/lucky-draw/admin/draw-prize.php')
[21-Feb-2025 23:45:07 UTC] WordPress database error Unknown table 'wordpress.wp_lucky_draw' for query DROP TABLE wp_lucky_draw made by deactivate_plugins, do_action('deactivate_lucky-draw/lucky-draw.php'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_table_deletion
[21-Feb-2025 23:45:07 UTC] WordPress database error Unknown table 'wordpress.wp_lucky_draw_contestants' for query DROP TABLE wp_lucky_draw_contestants made by deactivate_plugins, do_action('deactivate_lucky-draw/lucky-draw.php'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_table_deletion
See also: All tests for this plugin, How to Hide Lucky Draw Contests | DESIGN - REWARD - REPEAT. Admin Menus