Gift Wrapper 5.1.2

Does Gift Wrapper work with WordPress 5.9.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: 51.6 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.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=f0a8466292
Aspect after-activation
HTTP status 200
Load time 0.294 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.065 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.371 s0.401 s+0.030 s3.37 MiB3.41 MiB+ 43.44 KiB
/wp-admin/edit.php0.248 s0.326 s+0.078 s3.4 MiB3.44 MiB+ 44.2 KiB
/wp-admin/post-new.php0.941 s1.076 s+0.135 s6.14 MiB6.19 MiB+ 47.8 KiB
/wp-admin/upload.php0.401 s0.392 s-0.009 s3.25 MiB3.3 MiB+ 50.3 KiB
/wp-admin/options-writing.php0.312 s0.175 s-0.137 s3.24 MiB3.28 MiB+ 34.89 KiB
/wp-admin/media-new.php0.316 s0.221 s-0.095 s3.23 MiB3.28 MiB+ 50.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.206 s-0.012 s3.27 MiB3.31 MiB+ 44.12 KiB
/wp-admin/post-new.php?post_type=page0.768 s0.746 s-0.022 s6.14 MiB6.18 MiB+ 43.38 KiB
/wp-admin/options-discussion.php0.260 s0.373 s+0.113 s3.22 MiB3.27 MiB+ 51.1 KiB
/wp-admin/edit-comments.php0.241 s0.260 s+0.019 s3.27 MiB3.37 MiB+ 106.29 KiB
Average 0.408 s0.418 s+0.010 s3.85 MiB3.9 MiB+ 51.6 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
PHP53.4%1,9025699
PO File38.0%1,3555972
JavaScript5.2%18683
CSS3.4%12163
Total 3,564 1,180 17

PHP Code Analysis | More results »

Lines of code 1,718
Total complexity 266
Median class complexity 12.0
Median method complexity 3.0
Most complex class The_Gift_Wrapper_Wrapping
Most complex function Gift_Wrapper_Settings_Page::get_settings()
Classes 7
Methods 67
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

[24-Feb-2022 07:23:44 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-gift-wrapper/includes/class-gift-wrapper-wrapping.php:133
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): The_Gift_Wrapper_Wrapping->wp()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(522): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(771): do_action_ref_array()
#4 /wp-includes/functions.php(1310): 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/includes/class-gift-wrapper-wrapping.php on line 133
[24-Feb-2022 07:23:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-gift-wrapper/includes/class-gift-wrapper-wrapping.php:133
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): The_Gift_Wrapper_Wrapping->wp()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(522): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(771): do_action_ref_array()
#4 /wp-includes/functions.php(1310): 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/includes/class-gift-wrapper-wrapping.php on line 133
See also: All tests for this plugin