Free Product Sample for WooCommerce 2.1.18

Does "Free Product Sample for WooCommerce" work with WordPress 5.7 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
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 500+
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=9a8c94e427
Aspect after-activation
HTTP status 200
Load time 0.486 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.222 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.260 s0.287 s+0.027 s2.82 MiB2.83 MiB+ 14.32 KiB
/wp-admin/edit.php0.178 s0.186 s+0.008 s2.86 MiB2.88 MiB+ 14.32 KiB
/wp-admin/post-new.php0.908 s1.130 s+0.222 s5.02 MiB5.05 MiB+ 26.68 KiB
/wp-admin/upload.php0.488 s0.272 s-0.216 s2.7 MiB2.71 MiB+ 10.02 KiB
/wp-admin/options-writing.php0.145 s0.157 s+0.012 s2.71 MiB2.69 MiB- 22.01 KiB
/wp-admin/media-new.php0.239 s0.150 s-0.089 s2.67 MiB2.68 MiB+ 10.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.279 s+0.101 s2.77 MiB2.78 MiB+ 10.27 KiB
/wp-admin/post-new.php?post_type=page1.205 s0.798 s-0.407 s5.01 MiB5.03 MiB+ 18.27 KiB
/wp-admin/options-discussion.php0.278 s0.296 s+0.018 s2.67 MiB2.68 MiB+ 10.5 KiB
/wp-admin/edit-comments.php0.236 s0.224 s-0.012 s2.78 MiB2.78 MiB+ 9.17 KiB
/0.254 s0.229 s-0.025 s2.65 MiB2.66 MiB+ 9.92 KiB
Average 0.397 s0.364 s-0.033 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.1%1,65290327
CSS36.0%1,025312
PO File4.0%113671
JavaScript1.5%4401
JSON0.4%1101
Total 2,845 1,001 32

PHP Code Analysis | More results »

Lines of code 1,061
Total complexity 254
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 85
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