WooPOS Gift Cards for WooCommerce 2.2

Does "WooPOS Gift Cards for WooCommerce" work with WordPress 5.9.3 and PHP 7.4.8? 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: 8.69 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.9.3
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/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=51a7388323
Aspect after-activation
HTTP status 200
Load time 0.370 s
Memory usage 3.27 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.347 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.540 s0.627 s+0.087 s3.37 MiB3.38 MiB+ 10.11 KiB
/wp-admin/edit.php0.311 s0.393 s+0.082 s3.4 MiB3.41 MiB+ 10.08 KiB
/wp-admin/upload.php0.521 s0.467 s-0.054 s3.25 MiB3.26 MiB+ 9.2 KiB
/wp-admin/options-writing.php0.361 s0.238 s-0.123 s3.24 MiB3.24 MiB+ 1.05 KiB
/wp-admin/media-new.php0.402 s0.297 s-0.105 s3.23 MiB3.24 MiB+ 17.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.297 s0.283 s-0.014 s3.27 MiB3.28 MiB+ 10.27 KiB
/wp-admin/options-discussion.php0.320 s0.267 s-0.053 s3.22 MiB3.24 MiB+ 17.68 KiB
/wp-admin/edit-comments.php0.382 s0.304 s-0.078 s3.27 MiB3.31 MiB+ 38.73 KiB
/0.549 s0.315 s-0.234 s3.4 MiB3.36 MiB- 36.27 KiB
Average 0.409 s0.355 s-0.055 s3.29 MiB3.3 MiB+ 8.69 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 999
Median class complexity 31.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 22 lines

[29-Apr-2022 19:35:40 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(307): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(474): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(553): do_action()
#5 /wp-includes/rest-api.php(511): rest_get_server()
#6 /wp-includes/block-patterns.php(79): rest_do_request()
#7 /wp-admin/edit-form-blocks.php(32): _load_remote_block_patterns()
#8 /opt in /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/api/class-wc-rest-giftcardss-controller.php on line 19
[29-Apr-2022 19:35:42 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(307): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(474): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(553): do_action()
#5 /wp-includes/rest-api.php(511): rest_get_server()
#6 /wp-includes/block-patterns.php(79): rest_do_request()
#7 /wp-admin/edit-form-blocks.php(32): _load_remote_block_patterns()
#8 /opt 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