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

Does "Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)" work with WordPress 5.6.2 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: 293.11 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.034 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.6.2
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=9ae9322d3f
Aspect after-activation
HTTP status 200
Load time 0.747 s
Memory usage 2.99 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.210 s
Memory usage 3 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.161 s
Memory usage 3 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.384 s
Memory usage 3.05 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.201 s
Memory usage 2.97 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.194 s
Memory usage 2.98 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.875 s
Memory usage 3.33 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.667 s
Memory usage 3.15 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.496 s
Memory usage 3.15 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.363 s
Memory usage 3.15 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.259 s
Memory usage 3 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.156 s
Memory usage 2.94 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.190 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.259 s0.454 s+0.195 s2.79 MiB3.05 MiB+ 260.81 KiB
/wp-admin/edit.php0.182 s0.201 s+0.019 s2.84 MiB3.13 MiB+ 304.2 KiB
/wp-admin/post-new.php0.829 s1.258 s+0.429 s4.93 MiB5.29 MiB+ 365.55 KiB
/wp-admin/upload.php0.453 s0.317 s-0.136 s2.67 MiB3.02 MiB+ 356.75 KiB
/wp-admin/options-writing.php0.154 s0.163 s+0.009 s2.68 MiB2.94 MiB+ 259.57 KiB
/wp-admin/media-new.php0.225 s0.197 s-0.028 s2.65 MiB2.93 MiB+ 290.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.475 s+0.286 s2.68 MiB2.98 MiB+ 307.41 KiB
/wp-admin/post-new.php?post_type=page1.048 s0.683 s-0.365 s4.92 MiB5.28 MiB+ 361.5 KiB
/wp-admin/options-discussion.php0.284 s0.293 s+0.009 s2.65 MiB2.95 MiB+ 308.39 KiB
/wp-admin/edit-comments.php0.235 s0.248 s+0.013 s2.75 MiB2.98 MiB+ 240.49 KiB
/0.255 s0.193 s-0.062 s2.67 MiB2.83 MiB+ 169.05 KiB
Average 0.374 s0.407 s+0.034 s3.11 MiB3.4 MiB+ 293.11 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.4%18,2724,7736
PO File21.8%9,1607,01912
PHP19.2%8,08969943
CSS7.2%3,011146
SVG6.7%2,81408
JSON1.8%75407
Total 42,100 12,505 82

PHP Code Analysis | More results »

Lines of code 6,058
Total complexity 939
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 168
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