Free Product Sample for WooCommerce 2.1.21

Does "Free Product Sample for WooCommerce" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 10.15 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 400+
WordPress.org page https://wordpress.org/plugins/woo-free-product-sample/
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=woo-free-product-sample%2Fwoo-free-product-sample.php&plugin_status=all&paged=1&s&_wpnonce=c51548083b
Aspect after-activation
HTTP status 200
Load time 2.059 s
Memory usage 2.72 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 200
Load time 0.226 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.289 s+0.026 s2.82 MiB2.83 MiB+ 14.32 KiB
/wp-admin/edit.php0.185 s0.187 s+0.002 s2.86 MiB2.88 MiB+ 14.32 KiB
/wp-admin/post-new.php0.929 s1.019 s+0.090 s5.02 MiB5.05 MiB+ 26.68 KiB
/wp-admin/upload.php0.515 s0.297 s-0.218 s2.7 MiB2.71 MiB+ 10.02 KiB
/wp-admin/options-writing.php0.260 s0.146 s-0.114 s2.71 MiB2.69 MiB- 22.01 KiB
/wp-admin/media-new.php0.220 s0.166 s-0.054 s2.67 MiB2.68 MiB+ 10.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.219 s+0.044 s2.77 MiB2.78 MiB+ 10.27 KiB
/wp-admin/post-new.php?post_type=page0.897 s1.075 s+0.178 s5.01 MiB5.03 MiB+ 18.27 KiB
/wp-admin/options-discussion.php0.284 s0.296 s+0.012 s2.67 MiB2.69 MiB+ 10.5 KiB
/wp-admin/edit-comments.php0.219 s0.266 s+0.047 s2.78 MiB2.78 MiB+ 9.17 KiB
/0.280 s0.232 s-0.048 s2.65 MiB2.66 MiB+ 9.92 KiB
Average 0.384 s0.381 s-0.003 s3.15 MiB3.16 MiB+ 10.15 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
CSS
Language % Lines of code Comment lines Files
PHP58.3%1,67091727
CSS35.8%1,025312
PO File3.9%113671
JavaScript1.5%4401
JSON0.4%1101
Total 2,863 1,015 32

PHP Code Analysis | More results »

Lines of code 1,069
Total complexity 259
Median class complexity 12.0
Median method complexity 2.0
Most complex class Woo_Free_Product_Sample_Public
Most complex function Woo_Free_Product_Sample_Public::wfps_add_to_cart_handler_variable()
Classes 9
Methods 86
Functions 3

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin