Free Product Sample for WooCommerce 2.2.0

Does "Free Product Sample for WooCommerce" work with WordPress 5.8.1 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: 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.

Environment
WordPress version5.8.1
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=a88f4e63c2
Aspect after-activation
HTTP status 200
Load time 0.606 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
URL /
Aspect front-page
HTTP status 200
Load time 0.259 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.601 s+0.263 s3.08 MiB3.09 MiB+ 10.32 KiB
/wp-admin/edit.php0.187 s0.281 s+0.094 s3.11 MiB3.12 MiB+ 10.32 KiB
/wp-admin/post-new.php0.837 s1.141 s+0.304 s5.27 MiB5.28 MiB+ 14.68 KiB
/wp-admin/upload.php0.628 s0.320 s-0.308 s3.03 MiB3.04 MiB+ 10.02 KiB
/wp-admin/options-writing.php0.260 s0.162 s-0.098 s3.02 MiB3.02 MiB- 6.01 KiB
/wp-admin/media-new.php0.341 s0.193 s-0.148 s3.01 MiB3.02 MiB+ 10.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.203 s+0.005 s3.04 MiB3.05 MiB+ 10.27 KiB
/wp-admin/post-new.php?post_type=page0.746 s0.742 s-0.004 s5.26 MiB5.27 MiB+ 10.27 KiB
/wp-admin/options-discussion.php0.263 s0.333 s+0.070 s3 MiB3.01 MiB+ 10.5 KiB
/wp-admin/edit-comments.php0.224 s0.229 s+0.005 s3.04 MiB3.05 MiB+ 9.17 KiB
/0.513 s0.262 s-0.251 s2.91 MiB2.92 MiB+ 9.92 KiB
Average 0.412 s0.406 s-0.006 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.

PHP
CSS
Language % Lines of code Comment lines Files
PHP58.5%1,68291727
CSS35.7%1,025312
PO File3.9%113671
JavaScript1.5%4401
JSON0.4%1101
Total 2,875 1,015 32

PHP Code Analysis | More results »

Lines of code 1,081
Total complexity 261
Median class complexity 11.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