Reward Points For Woocommerce 4.3.3

Does Reward Points For Woocommerce work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/reward-points-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=reward-points-for-woocommerce%2Fphoen-rewpts.php&plugin_status=all&paged=1&s&_wpnonce=3d76e78c56
Aspect after-activation
HTTP status 200
Load time 0.872 s
Memory usage 4.18 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).datepicker is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/reward-points-for-woocommerce/admin/js/phoen-rewpts-admin.js?ver=1.0.0:54:71)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)",
        "trace": null,
        "code": null
    }
]
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.383 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.343 s0.382 s+0.039 s3.08 MiB3.17 MiB+ 93.38 KiB
/wp-admin/edit.php0.181 s0.350 s+0.169 s3.11 MiB3.25 MiB+ 142.63 KiB
/wp-admin/post-new.php1.301 s1.273 s-0.028 s5.27 MiB5.36 MiB+ 99.15 KiB
/wp-admin/upload.php0.545 s0.449 s-0.096 s3.03 MiB3.12 MiB+ 94.22 KiB
/wp-admin/options-writing.php0.143 s0.361 s+0.218 s3.02 MiB3.1 MiB+ 80.79 KiB
/wp-admin/media-new.php0.219 s0.488 s+0.269 s3.01 MiB3.1 MiB+ 95.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.279 s+0.087 s3.04 MiB3.13 MiB+ 95.7 KiB
/wp-admin/post-new.php?post_type=page1.248 s1.339 s+0.091 s5.26 MiB5.35 MiB+ 98.49 KiB
/wp-admin/options-discussion.php0.295 s0.378 s+0.083 s3 MiB3.1 MiB+ 97.83 KiB
/wp-admin/edit-comments.php0.214 s0.341 s+0.127 s3.04 MiB3.13 MiB+ 93.56 KiB
/0.412 s0.303 s-0.109 s2.96 MiB2.98 MiB+ 26.5 KiB
Average 0.463 s0.540 s+0.077 s3.44 MiB3.53 MiB+ 92.52 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
PHP92.3%3,80666732
JavaScript5.6%230574
CSS2.1%8653
Total 4,122 729 39

PHP Code Analysis | More results »

Lines of code 1,551
Total complexity 326
Median class complexity 9.0
Median method complexity 1.0
Most complex class Phoen_Rewpts_Public
Most complex function Phoen_Rewpts_Public::phoen_rewpts_click_on_checkout_action()
Classes 8
Methods 79
Functions 12

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.

Options wp_options 5

PHP Error Log 7 lines

[16-Sep-2021 09:10:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/reward-points-for-woocommerce/public/class-phoen-rewpts-public.php on line 637
[16-Sep-2021 09:10:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/reward-points-for-woocommerce/public/class-phoen-rewpts-public.php on line 88
[16-Sep-2021 09:10:57 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/reward-points-for-woocommerce/public/class-phoen-rewpts-public.php on line 92
[16-Sep-2021 09:10:59 UTC] PHP Notice:  Undefined index: apply_btn_bg_col in /wp-content/plugins/reward-points-for-woocommerce/public/phoen-reward-frontend/phoen_rewpts_frontend.php on line 137
[16-Sep-2021 09:10:59 UTC] PHP Notice:  Undefined index: apply_btn_txt_col in /wp-content/plugins/reward-points-for-woocommerce/public/phoen-reward-frontend/phoen_rewpts_frontend.php on line 138
[16-Sep-2021 09:11:07 UTC] PHP Notice:  Undefined index: apply_btn_bg_col in /wp-content/plugins/reward-points-for-woocommerce/public/phoen-reward-frontend/phoen_rewpts_frontend.php on line 137
[16-Sep-2021 09:11:07 UTC] PHP Notice:  Undefined index: apply_btn_txt_col in /wp-content/plugins/reward-points-for-woocommerce/public/phoen-reward-frontend/phoen_rewpts_frontend.php on line 138
See also: All tests for this plugin