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

Does "Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)" work with WordPress 5.9.3 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: 330.76 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 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=ade7d25563
Aspect after-activation
HTTP status 200
Load time 0.678 s
Memory usage 3.58 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.304 s
Memory usage 3.59 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.181 s
Memory usage 3.59 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.358 s
Memory usage 3.64 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.176 s
Memory usage 3.56 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.227 s
Memory usage 3.55 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.820 s
Memory usage 3.93 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.478 s
Memory usage 3.72 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.376 s
Memory usage 3.72 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.370 s
Memory usage 3.72 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.260 s
Memory usage 3.57 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.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.235 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.523 s0.380 s-0.143 s3.37 MiB3.63 MiB+ 269.02 KiB
/wp-admin/edit.php0.298 s0.233 s-0.065 s3.4 MiB3.73 MiB+ 332.36 KiB
/wp-admin/post-new.php1.211 s1.578 s+0.367 s5.69 MiB6.13 MiB+ 456.89 KiB
/wp-admin/upload.php0.526 s0.399 s-0.127 s3.25 MiB3.6 MiB+ 360.11 KiB
/wp-admin/options-writing.php0.395 s0.172 s-0.223 s3.24 MiB3.53 MiB+ 295.17 KiB
/wp-admin/media-new.php0.362 s0.231 s-0.131 s3.23 MiB3.53 MiB+ 309.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.263 s0.204 s-0.059 s3.27 MiB3.58 MiB+ 317.88 KiB
/wp-admin/post-new.php?post_type=page1.844 s1.053 s-0.791 s5.68 MiB6.12 MiB+ 452.84 KiB
/wp-admin/options-discussion.php0.342 s0.285 s-0.057 s3.22 MiB3.54 MiB+ 328.12 KiB
/wp-admin/edit-comments.php0.367 s0.350 s-0.017 s3.27 MiB3.58 MiB+ 315.74 KiB
/0.568 s0.236 s-0.332 s3.4 MiB3.59 MiB+ 200.29 KiB
Average 0.609 s0.466 s-0.143 s3.73 MiB4.05 MiB+ 330.76 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
PHP
PO File
Language % Lines of code Comment lines Files
JavaScript40.6%18,2574,7736
PHP24.1%10,81595051
PO File20.6%9,2386,93012
CSS6.8%3,039147
SVG6.3%2,81408
JSON1.7%75407
Markdown0.0%101
Total 44,918 12,667 92

PHP Code Analysis | More results »

Lines of code 9,053
Total complexity 1,683
Median class complexity 27.0
Median method complexity 2.0
Most complex class FPDF
Most complex function wpgv_giftitems_shortcode()
Classes 19
Methods 306
Functions 76

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