WooPOS Gift Cards for WooCommerce 2.5

Does "WooPOS Gift Cards for WooCommerce" work with WordPress 6.8.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: 3.49 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.8.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=59a482ff24
Aspect after-activation
HTTP status 200
Load time 0.274 s
Memory usage 3.53 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.193 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.305 s-0.024 s3.51 MiB3.52 MiB+ 10.8 KiB
/wp-admin/edit.php0.222 s0.215 s-0.007 s3.57 MiB3.58 MiB+ 10.38 KiB
/wp-admin/upload.php0.778 s0.287 s-0.491 s3.52 MiB3.52 MiB- 6.3 KiB
/wp-admin/options-writing.php0.245 s0.220 s-0.025 s3.5 MiB3.5 MiB- 2.94 KiB
/wp-admin/media-new.php0.290 s0.266 s-0.024 s3.49 MiB3.5 MiB+ 5.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.214 s+0.006 s3.5 MiB3.52 MiB+ 15.93 KiB
/wp-admin/options-discussion.php0.537 s0.184 s-0.353 s3.5 MiB3.5 MiB- 6.44 KiB
/wp-admin/edit-comments.php0.243 s0.397 s+0.154 s3.52 MiB3.52 MiB- 6.94 KiB
/0.324 s0.268 s-0.056 s3.43 MiB3.45 MiB+ 11.69 KiB
Average 0.353 s0.262 s-0.091 s3.51 MiB3.51 MiB+ 3.49 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
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

[05-May-2025 15:23:10 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(324): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(628): do_action()
#5 /wp-includes/rest-api.php(586): rest_get_server()
#6 /wp-includes/rest-api.php(2973): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-includes/block-editor.php(757): array_reduce()
#9 /wp-admin/edit-form-blocks.php(114): 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
[05-May-2025 15:23:12 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(324): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(628): do_action()
#5 /wp-includes/rest-api.php(586): rest_get_server()
#6 /wp-includes/rest-api.php(2973): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-includes/block-editor.php(757): array_reduce()
#9 /wp-admin/edit-form-blocks.php(114): 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