Gift Wrapper 5.0

Does Gift Wrapper work with WordPress 5.9 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.57 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
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=674f66c472
Aspect after-activation
HTTP status 200
Load time 0.420 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 500
Load time 0.060 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.339 s0.279 s-0.060 s3.36 MiB3.41 MiB+ 42.61 KiB
/wp-admin/edit.php0.176 s0.193 s+0.017 s3.39 MiB3.44 MiB+ 43.37 KiB
/wp-admin/post-new.php1.475 s1.188 s-0.287 s6.14 MiB6.19 MiB+ 46.97 KiB
/wp-admin/upload.php0.618 s0.376 s-0.242 s3.24 MiB3.29 MiB+ 49.48 KiB
/wp-admin/options-writing.php0.264 s0.145 s-0.119 s3.24 MiB3.27 MiB+ 34.06 KiB
/wp-admin/media-new.php0.266 s0.189 s-0.077 s3.22 MiB3.27 MiB+ 49.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.179 s-0.011 s3.25 MiB3.3 MiB+ 51.29 KiB
/wp-admin/post-new.php?post_type=page0.936 s1.067 s+0.131 s6.14 MiB6.18 MiB+ 42.55 KiB
/wp-admin/options-discussion.php0.221 s0.264 s+0.043 s3.22 MiB3.27 MiB+ 50.27 KiB
/wp-admin/edit-comments.php0.212 s0.203 s-0.009 s3.26 MiB3.37 MiB+ 105.46 KiB
Average 0.470 s0.408 s-0.061 s3.85 MiB3.9 MiB+ 51.57 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
PHP52.4%1,8205359
PO File38.8%1,3495962
JavaScript5.4%18683
CSS3.5%12063
Total 3,475 1,145 17

PHP Code Analysis | More results »

Lines of code 1,636
Total complexity 258
Median class complexity 17.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 66
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

[10-Feb-2022 15:32:12 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php:239
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): The_Gift_Wrapper->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(474): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2105): do_action()
#4 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(474): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3042): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(2 in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php on line 239
[10-Feb-2022 15:32:20 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php:239
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): The_Gift_Wrapper->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(474): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2105): do_action()
#4 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(474): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3042): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(2 in /wp-content/plugins/woocommerce-gift-wrapper/woocommerce-gift-wrapper.php on line 239
See also: All tests for this plugin