Woocommerce Gift Wrapper 4.5.3

Does Woocommerce Gift Wrapper work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 62.86 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-gift-wrapper/
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=woocommerce-gift-wrapper%2Fwoocommerce-gift-wrapper.php&plugin_status=all&paged=1&s&_wpnonce=a59533f8cc
Aspect after-activation
HTTP status 200
Load time 0.317 s
Memory usage 3.35 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 500
Load time 0.060 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.368 s+0.024 s3.36 MiB3.4 MiB+ 34.91 KiB
/wp-admin/edit.php0.182 s0.261 s+0.079 s3.39 MiB3.43 MiB+ 34.94 KiB
/wp-admin/post-new.php1.013 s1.156 s+0.143 s6.14 MiB6.18 MiB+ 39.27 KiB
/wp-admin/upload.php0.396 s0.309 s-0.087 s3.24 MiB3.34 MiB+ 105.78 KiB
/wp-admin/options-writing.php0.342 s0.148 s-0.194 s3.24 MiB3.26 MiB+ 25.63 KiB
/wp-admin/media-new.php0.285 s0.203 s-0.082 s3.22 MiB3.32 MiB+ 105.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.182 s+0.000 s3.25 MiB3.35 MiB+ 106.86 KiB
/wp-admin/post-new.php?post_type=page0.913 s0.949 s+0.036 s6.14 MiB6.17 MiB+ 34.86 KiB
/wp-admin/options-discussion.php0.209 s0.323 s+0.114 s3.22 MiB3.26 MiB+ 42.58 KiB
/wp-admin/edit-comments.php0.207 s0.215 s+0.008 s3.26 MiB3.36 MiB+ 97.77 KiB
Average 0.407 s0.411 s+0.004 s3.85 MiB3.91 MiB+ 62.86 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
PO File
Language % Lines of code Comment lines Files
PHP66.4%1,21050312
PO File31.9%5822512
CSS1.7%3162
Total 1,823 760 16

PHP Code Analysis | More results »

Lines of code 963
Total complexity 245
Median class complexity 20.5
Median method complexity 3.0
Most complex class WCGW_Wrapping
Most complex function WCGW_Wrapping::add_giftwrap_to_order()
Classes 6
Methods 57
Functions 2

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.

Options wp_options 1

PHP Error Log 22 lines

[27-Jan-2022 02:34:05 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php:159
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WC_Gift_Wrapper->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(474): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2105): do_action()
#4 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(474): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3042): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22 in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php on line 159
[27-Jan-2022 02:34:13 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php:159
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WC_Gift_Wrapper->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(474): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2105): do_action()
#4 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(474): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3042): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22 in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php on line 159
See also: All tests for this plugin