Gift Wrapper 5.2

Does Gift Wrapper work with WordPress 6.0 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.85 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 version6.0
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=3e25565999
Aspect after-activation
HTTP status 200
Load time 0.254 s
Memory usage 3.73 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.389 s0.453 s+0.064 s3.72 MiB3.76 MiB+ 43.44 KiB
/wp-admin/edit.php0.191 s0.341 s+0.150 s3.75 MiB3.79 MiB+ 44.2 KiB
/wp-admin/post-new.php0.788 s0.989 s+0.201 s5.53 MiB5.58 MiB+ 51.8 KiB
/wp-admin/upload.php0.443 s0.327 s-0.116 s3.68 MiB3.72 MiB+ 42.3 KiB
/wp-admin/options-writing.php0.319 s0.160 s-0.159 s3.61 MiB3.7 MiB+ 87.35 KiB
/wp-admin/media-new.php0.303 s0.197 s-0.106 s3.66 MiB3.7 MiB+ 42.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.196 s+0.000 s3.68 MiB3.73 MiB+ 44.12 KiB
/wp-admin/post-new.php?post_type=page0.736 s0.654 s-0.082 s5.53 MiB5.57 MiB+ 43.38 KiB
/wp-admin/options-discussion.php0.324 s0.366 s+0.042 s3.59 MiB3.7 MiB+ 107.1 KiB
/wp-admin/edit-comments.php0.222 s0.232 s+0.010 s3.69 MiB3.73 MiB+ 42.29 KiB
Average 0.391 s0.392 s+0.000 s4.05 MiB4.1 MiB+ 54.85 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
PHP54.3%1,9215709
PO File37.0%1,3096152
JavaScript5.3%18683
CSS3.5%12363
Total 3,539 1,199 17

PHP Code Analysis | More results »

Lines of code 1,733
Total complexity 267
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

[19-Jun-2022 19:53:00 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(524): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(787): do_action_ref_array()
#4 /wp-includes/functions.php(1330): 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
[19-Jun-2022 19:53:07 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(524): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(787): do_action_ref_array()
#4 /wp-includes/functions.php(1330): 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