WooPOS Gift Cards for WooCommerce 2.4

Does "WooPOS Gift Cards for WooCommerce" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -160 bytes
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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/woopos-gift-cards-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=woopos-gift-cards-for-woocommerce%2Fgiftcards.php&plugin_status=all&paged=1&s&_wpnonce=a9b57e7da3
Aspect after-activation
HTTP status 200
Load time 0.223 s
Memory usage 3 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.328 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.275 s-0.020 s3.05 MiB3.06 MiB+ 9.4 KiB
/wp-admin/edit.php0.195 s0.207 s+0.012 s3.07 MiB3.08 MiB+ 9.32 KiB
/wp-admin/upload.php0.811 s0.374 s-0.437 s2.99 MiB2.98 MiB- 7.79 KiB
/wp-admin/options-writing.php0.277 s0.150 s-0.127 s2.99 MiB2.97 MiB- 21.14 KiB
/wp-admin/media-new.php0.282 s0.246 s-0.036 s2.97 MiB2.97 MiB+ 4.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.203 s+0.029 s2.98 MiB2.99 MiB+ 9.57 KiB
/wp-admin/options-discussion.php0.216 s0.194 s-0.022 s2.98 MiB2.97 MiB- 7.3 KiB
/wp-admin/edit-comments.php0.230 s0.224 s-0.006 s3 MiB2.99 MiB- 7.8 KiB
/0.301 s0.204 s-0.097 s2.94 MiB2.95 MiB+ 9.93 KiB
Average 0.309 s0.231 s-0.078 s3 MiB3 MiB- 160 bytes

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
PHP97.5%4,7412,73926
JavaScript2.2%10803
CSS0.3%1303
Total 4,862 2,739 32

PHP Code Analysis | More results »

Lines of code 4,786
Total complexity 1,001
Median class complexity 33.0
Median method complexity 3.0
Most complex class WC_REST_WOOPOS_Giftcards_Controller
Most complex function WOOPOSGC_Auto_Send::wooposgc_create_automatically()
Classes 17
Methods 170
Functions 71

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 30 lines

[18-Feb-2023 06:50:02 UTC] PHP Fatal error:  Uncaught Error: Class "WC_REST_CRUD_Controller" not found in /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/api/class-wc-rest-giftcardss-controller.php:19
Stack trace:
#0 /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/class-wooposgc-api.php(52): require_once()
#1 /wp-includes/class-wp-hook.php(308): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(577): do_action()
#5 /wp-includes/rest-api.php(535): rest_get_server()
#6 /wp-includes/rest-api.php(2884): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-includes/block-editor.php(638): array_reduce()
#9 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#10 /wp-admin/post-new.php(72): require('...')
#11 {main}
  thrown in /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/api/class-wc-rest-giftcardss-controller.php on line 19
[18-Feb-2023 06:50:03 UTC] PHP Fatal error:  Uncaught Error: Class "WC_REST_CRUD_Controller" not found in /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/api/class-wc-rest-giftcardss-controller.php:19
Stack trace:
#0 /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/class-wooposgc-api.php(52): require_once()
#1 /wp-includes/class-wp-hook.php(308): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(577): do_action()
#5 /wp-includes/rest-api.php(535): rest_get_server()
#6 /wp-includes/rest-api.php(2884): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-includes/block-editor.php(638): array_reduce()
#9 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#10 /wp-admin/post-new.php(72): require('...')
#11 {main}
  thrown in /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/api/class-wc-rest-giftcardss-controller.php on line 19
See also: All tests for this plugin