Woocommerce Gift Wrapper 4.4.6

Does Woocommerce Gift Wrapper work with WordPress 5.7.2 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: 54.99 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.7.2
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=95c1055219
Aspect after-activation
HTTP status 200
Load time 0.374 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.058 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.271 s0.253 s-0.018 s2.82 MiB2.85 MiB+ 34.48 KiB
/wp-admin/edit.php0.183 s0.206 s+0.023 s2.86 MiB2.9 MiB+ 35.21 KiB
/wp-admin/post-new.php0.968 s0.888 s-0.080 s5.02 MiB5.13 MiB+ 111.15 KiB
/wp-admin/upload.php0.475 s0.262 s-0.213 s2.7 MiB2.78 MiB+ 85.63 KiB
/wp-admin/options-writing.php0.263 s0.145 s-0.118 s2.71 MiB2.77 MiB+ 61.32 KiB
/wp-admin/media-new.php0.220 s0.174 s-0.046 s2.67 MiB2.7 MiB+ 29.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.175 s-0.032 s2.77 MiB2.8 MiB+ 30.42 KiB
/wp-admin/post-new.php?post_type=page1.222 s0.768 s-0.454 s5.01 MiB5.11 MiB+ 102.73 KiB
/wp-admin/options-discussion.php0.331 s0.256 s-0.075 s2.68 MiB2.7 MiB+ 30.14 KiB
/wp-admin/edit-comments.php0.244 s0.211 s-0.033 s2.78 MiB2.8 MiB+ 29.33 KiB
Average 0.438 s0.334 s-0.105 s3.2 MiB3.26 MiB+ 54.99 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
PHP64.3%1,11846412
PO File32.1%5582342
JavaScript1.8%3221
CSS1.8%3162
Total 1,739 706 17

PHP Code Analysis | More results »

Lines of code 873
Total complexity 216
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

[14-May-2021 08:50:21 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(292): WCGW_Wrapping->add_giftwrap_to_order()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(763): 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
[14-May-2021 08:50:27 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(292): WCGW_Wrapping->add_giftwrap_to_order()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(763): 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