Woocommerce Gift Wrapper 4.4.5

Does Woocommerce Gift Wrapper work with WordPress 5.6.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: 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.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=c1a6a068a3
Aspect after-activation
HTTP status 200
Load time 0.626 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.053 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.279 s0.246 s-0.033 s2.79 MiB2.82 MiB+ 30.48 KiB
/wp-admin/edit.php0.190 s0.184 s-0.006 s2.84 MiB2.87 MiB+ 31.21 KiB
/wp-admin/post-new.php0.917 s0.676 s-0.241 s4.93 MiB5.04 MiB+ 106.84 KiB
/wp-admin/upload.php0.516 s0.458 s-0.058 s2.67 MiB2.74 MiB+ 71.16 KiB
/wp-admin/options-writing.php0.155 s0.184 s+0.029 s2.68 MiB2.74 MiB+ 61.32 KiB
/wp-admin/media-new.php0.214 s0.174 s-0.040 s2.65 MiB2.67 MiB+ 29.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.178 s-0.016 s2.68 MiB2.77 MiB+ 94.42 KiB
/wp-admin/post-new.php?post_type=page1.178 s0.682 s-0.496 s4.92 MiB5.02 MiB+ 102.42 KiB
/wp-admin/options-discussion.php0.303 s0.209 s-0.094 s2.65 MiB2.68 MiB+ 30.14 KiB
/wp-admin/edit-comments.php0.223 s0.208 s-0.015 s2.75 MiB2.78 MiB+ 29.33 KiB
Average 0.417 s0.320 s-0.097 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
PHP64.2%1,11446412
PO File32.2%5582342
JavaScript1.8%3221
CSS1.8%3162
Total 1,735 706 17

PHP Code Analysis | More results »

Lines of code 871
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

[23-Feb-2021 19:13:43 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
[23-Feb-2021 19:13:48 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