Woocommerce Gift Wrapper 4.4.3

Does Woocommerce Gift Wrapper work with WordPress 5.6.1 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: 58.68 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.1
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=1210ec3671
Aspect after-activation
HTTP status 200
Load time 0.309 s
Memory usage 2.78 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.054 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.270 s0.249 s-0.021 s2.79 MiB2.82 MiB+ 30.48 KiB
/wp-admin/edit.php0.178 s0.189 s+0.011 s2.84 MiB2.87 MiB+ 31.21 KiB
/wp-admin/post-new.php0.949 s0.720 s-0.229 s4.94 MiB5.04 MiB+ 106.84 KiB
/wp-admin/upload.php0.530 s0.441 s-0.089 s2.67 MiB2.74 MiB+ 71.16 KiB
/wp-admin/options-writing.php0.157 s0.140 s-0.017 s2.68 MiB2.74 MiB+ 61.32 KiB
/wp-admin/media-new.php0.364 s0.168 s-0.196 s2.65 MiB2.67 MiB+ 29.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.375 s0.177 s-0.198 s2.68 MiB2.77 MiB+ 94.42 KiB
/wp-admin/post-new.php?post_type=page0.794 s0.726 s-0.068 s4.92 MiB5.02 MiB+ 102.42 KiB
/wp-admin/options-discussion.php0.332 s0.189 s-0.143 s2.65 MiB2.68 MiB+ 30.14 KiB
/wp-admin/edit-comments.php0.224 s0.184 s-0.040 s2.75 MiB2.78 MiB+ 29.33 KiB
Average 0.417 s0.318 s-0.099 s3.16 MiB3.21 MiB+ 58.68 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
PHP65.6%1,10646612
PO File30.7%5183052
JavaScript1.9%3221
CSS1.8%3162
Total 1,687 779 17

PHP Code Analysis | More results »

Lines of code 863
Total complexity 215
Median class complexity 19.0
Median method complexity 2.5
Most complex class WCGW_Wrapping
Most complex function WCGW_Wrapping::add_giftwrap_to_order()
Classes 6
Methods 52
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

[05-Feb-2021 01:24:06 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/woocommerce-gift-wrapper/classes/wcgw-wrapping.php:194
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): WCGW_Wrapping->add_giftwrap_to_order()
#1 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(758): do_action_ref_array()
#4 /wp-includes/functions.php(1291): WP->main()
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/woocommerce-gift-wrapper/classes/wcgw-wrapping.php on line 194
[05-Feb-2021 01:24:12 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/woocommerce-gift-wrapper/classes/wcgw-wrapping.php:194
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): WCGW_Wrapping->add_giftwrap_to_order()
#1 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(758): do_action_ref_array()
#4 /wp-includes/functions.php(1291): WP->main()
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/woocommerce-gift-wrapper/classes/wcgw-wrapping.php on line 194
See also: All tests for this plugin