Free Product Sample for WooCommerce 2.2.1

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


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

Memory usage: 9.06 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.

WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 500+ page

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=77d05af277
Aspect after-activation
HTTP status 200
Load time 0.739 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
Aspect front-page
HTTP status 200
Load time 0.359 s
Memory usage 2.92 MiB
JS errors None
Resource errors None


URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.395 s0.320 s-0.075 s3.08 MiB3.09 MiB+ 10.32 KiB
/wp-admin/edit.php0.316 s0.243 s-0.073 s3.11 MiB3.12 MiB+ 10.32 KiB
/wp-admin/post-new.php1.205 s1.289 s+0.084 s5.27 MiB5.28 MiB+ 14.68 KiB
/wp-admin/upload.php0.436 s0.432 s-0.004 s3.03 MiB3.04 MiB+ 10.02 KiB
/wp-admin/options-writing.php0.188 s0.228 s+0.040 s3.02 MiB3.02 MiB- 6.01 KiB
/wp-admin/media-new.php0.596 s0.306 s-0.290 s3.01 MiB3.02 MiB+ 10.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.277 s+0.047 s3.04 MiB3.05 MiB+ 10.27 KiB
/wp-admin/post-new.php?post_type=page1.762 s1.025 s-0.737 s5.26 MiB5.27 MiB+ 10.27 KiB
/wp-admin/options-discussion.php0.375 s0.502 s+0.127 s3 MiB3.01 MiB+ 10.5 KiB
/wp-admin/edit-comments.php0.348 s0.357 s+0.009 s3.04 MiB3.05 MiB+ 9.17 KiB
/0.565 s0.268 s-0.297 s2.91 MiB2.92 MiB+ 9.92 KiB
Average 0.583 s0.477 s-0.106 s3.43 MiB3.44 MiB+ 9.06 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.

Language % Lines of code Comment lines Files
PO File3.9%113671
Total 2,880 1,015 32

PHP Code Analysis | More results »

Lines of code 1,086
Total complexity 262
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


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