Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported) 4.1.4

Does "Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)" work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 314.22 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.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/gift-voucher/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 13

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?charsout=2&plugin=gift-voucher%2Fgift-voucher.php&plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=gift-voucher%2Fgift-voucher.php&plugin_status=all&paged=1&s&_wpnonce=ce590ab8b2
Aspect after-activation
HTTP status 200
Load time 1.397 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Gift Vouchers

Page screenshot: Gift Vouchers
URL /wp-admin/edit.php?post_type=wpgv_voucher_product
Aspect menu-item
HTTP status 200
Load time 0.194 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Gift Vouchers → All Gift Cards

Page screenshot: Gift Vouchers → All Gift Cards
URL /wp-admin/edit.php?post_type=voucher_template
Aspect menu-item
HTTP status 200
Load time 0.154 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Gift Vouchers → Item Categories

Page screenshot: Gift Vouchers → Item Categories
URL /wp-admin/edit-tags.php?taxonomy=wpgv_voucher_category&post_type=wpgv_voucher_product
Aspect menu-item
HTTP status 200
Load time 0.298 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Gift Vouchers → Gift Cards Categories

Page screenshot: Gift Vouchers → Gift Cards Categories
URL /wp-admin/edit-tags.php?taxonomy=category_voucher_template&post_type=voucher_template
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Gift Vouchers → Voucher Templates

Page screenshot: Gift Vouchers → Voucher Templates
URL /wp-admin/admin.php?page=voucher-templates
Aspect menu-item
HTTP status 200
Load time 0.187 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Gift Vouchers → Settings

Page screenshot: Gift Vouchers → Settings
URL /wp-admin/admin.php?page=voucher-setting
Aspect menu-item
HTTP status 200
Load time 1.842 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Gift Vouchers → Settings → Payment Settings

Page screenshot: Gift Vouchers → Settings → Payment Settings
URL /wp-admin/admin.php?page=voucher-setting
Aspect menu-item-tab
HTTP status 200
Load time 1.420 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Gift Vouchers → Settings → Email Settings

Page screenshot: Gift Vouchers → Settings → Email Settings
URL /wp-admin/admin.php?page=voucher-setting
Aspect menu-item-tab
HTTP status 200
Load time 1.356 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Gift Vouchers → Settings → Custom CSS

Page screenshot: Gift Vouchers → Settings → Custom CSS
URL /wp-admin/admin.php?page=voucher-setting
Aspect menu-item-tab
HTTP status 200
Load time 1.286 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Gift Vouchers → Gift Voucher Orders

Page screenshot: Gift Vouchers → Gift Voucher Orders
URL /wp-admin/admin.php?page=vouchers-lists
Aspect menu-item
HTTP status 200
Load time 0.265 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Gift Vouchers → Gift Voucher Orders → Purchased Items

Page screenshot: Gift Vouchers → Gift Voucher Orders → Purchased Items
URL /wp-admin/admin.php?page=vouchers-lists&items=1
Aspect menu-item-tab
HTTP status 200
Load time 0.159 s
Memory usage 3.25 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.198 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.296 s0.360 s+0.064 s3.08 MiB3.41 MiB+ 336.33 KiB
/wp-admin/edit.php0.170 s0.200 s+0.030 s3.11 MiB3.43 MiB+ 320.38 KiB
/wp-admin/post-new.php0.752 s1.099 s+0.347 s5.27 MiB5.67 MiB+ 417.08 KiB
/wp-admin/upload.php0.748 s0.355 s-0.393 s3.03 MiB3.38 MiB+ 355.42 KiB
/wp-admin/options-writing.php0.169 s0.154 s-0.015 s3.02 MiB3.24 MiB+ 226.61 KiB
/wp-admin/media-new.php0.276 s0.212 s-0.064 s3.01 MiB3.24 MiB+ 241.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.171 s0.211 s+0.040 s3.04 MiB3.35 MiB+ 321.2 KiB
/wp-admin/post-new.php?post_type=page1.020 s1.005 s-0.015 s5.26 MiB5.66 MiB+ 417.03 KiB
/wp-admin/options-discussion.php0.276 s0.311 s+0.035 s3 MiB3.26 MiB+ 259.43 KiB
/wp-admin/edit-comments.php0.203 s0.264 s+0.061 s3.04 MiB3.35 MiB+ 319.05 KiB
/0.383 s0.227 s-0.156 s2.96 MiB3.19 MiB+ 242.65 KiB
Average 0.406 s0.400 s-0.006 s3.44 MiB3.74 MiB+ 314.22 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.

JavaScript
PO File
PHP
Language % Lines of code Comment lines Files
JavaScript43.3%18,2724,7736
PO File21.9%9,2386,93012
PHP19.2%8,10270043
CSS7.2%3,018146
SVG6.7%2,81408
JSON1.8%75407
Markdown0.0%101
Total 42,199 12,417 83

PHP Code Analysis | More results »

Lines of code 6,072
Total complexity 943
Median class complexity 25.0
Median method complexity 1.0
Most complex class WPGV_Voucher_List
Most complex function wpgv_giftitems_shortcode()
Classes 15
Methods 169
Functions 63

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.

Database Tables 4

Options wp_options 3

Custom Post Types 2

ID Name
wpgv_voucher_productGift Items
voucher_templateGift Cards

Meta Boxes

{
    "wpgv_voucher_product": {
        "wpgv_voucher_amount": {
            "title": "Item Details",
            "context": "normal"
        }
    },
    "voucher_template": {
        "customize-template": {
            "title": "Customize Template",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported) Admin Menus and Meta Boxes