WooPOS Gift Cards for WooCommerce 2.0

Does "WooPOS Gift Cards for WooCommerce" work with WordPress 5.6.2 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: 13.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 version5.6.2
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=5cc5394977
Aspect after-activation
HTTP status 200
Load time 0.231 s
Memory usage 2.69 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.256 s
Memory usage 2.62 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.274 s-0.027 s2.79 MiB2.8 MiB+ 9.8 KiB
/wp-admin/edit.php0.199 s0.193 s-0.006 s2.84 MiB2.84 MiB+ 9.77 KiB
/wp-admin/upload.php0.525 s0.313 s-0.212 s2.67 MiB2.68 MiB+ 8.88 KiB
/wp-admin/options-writing.php0.159 s0.153 s-0.006 s2.68 MiB2.66 MiB- 23.14 KiB
/wp-admin/media-new.php0.286 s0.178 s-0.108 s2.65 MiB2.65 MiB+ 9.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.205 s+0.005 s2.68 MiB2.75 MiB+ 73.96 KiB
/wp-admin/options-discussion.php0.286 s0.173 s-0.113 s2.65 MiB2.66 MiB+ 9.37 KiB
/wp-admin/edit-comments.php0.235 s0.199 s-0.036 s2.75 MiB2.76 MiB+ 8.87 KiB
/0.307 s0.188 s-0.119 s2.61 MiB2.63 MiB+ 14.89 KiB
Average 0.278 s0.208 s-0.069 s2.7 MiB2.71 MiB+ 13.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,6572,73626
JavaScript2.3%10803
CSS0.3%1303
Total 4,778 2,736 32

PHP Code Analysis | More results »

Lines of code 4,704
Total complexity 970
Median class complexity 36.5
Median method complexity 3.0
Most complex class WC_REST_WOOPOS_Giftcards_Controller
Most complex function WOOPOSGC_Auto_Send::wooposgc_create_automatically()
Classes 16
Methods 164
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

[26-Feb-2021 22:14:30 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(287): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(521): do_action()
#5 /wp-includes/rest-api.php(479): rest_get_server()
#6 /wp-includes/rest-api.php(2520): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-admin/edit-form-blocks in /wp-content/plugins/woopos-gift-cards-for-woocommerce/includes/api/class-wc-rest-giftcardss-controller.php on line 19
[26-Feb-2021 22:14:31 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(287): WOOPOSGC_API::register_routes()
#2 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-includes/rest-api.php(521): do_action()
#5 /wp-includes/rest-api.php(479): rest_get_server()
#6 /wp-includes/rest-api.php(2520): rest_do_request()
#7 [internal function]: rest_preload_api_request()
#8 /wp-admin/edit-form-blocks 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