Free Product Sample for WooCommerce 2.1.20

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 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=1fd3dabf0b
Aspect after-activation
HTTP status 200
Load time 0.414 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.215 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.271 s0.292 s+0.021 s2.82 MiB2.83 MiB+ 14.32 KiB
/wp-admin/edit.php0.184 s0.201 s+0.017 s2.86 MiB2.88 MiB+ 14.32 KiB
/wp-admin/post-new.php0.951 s1.021 s+0.070 s5.02 MiB5.05 MiB+ 26.68 KiB
/wp-admin/upload.php0.505 s0.286 s-0.219 s2.7 MiB2.71 MiB+ 10.02 KiB
/wp-admin/options-writing.php0.263 s0.146 s-0.117 s2.71 MiB2.69 MiB- 22.01 KiB
/wp-admin/media-new.php0.247 s0.162 s-0.085 s2.67 MiB2.68 MiB+ 10.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.275 s+0.080 s2.77 MiB2.78 MiB+ 10.27 KiB
/wp-admin/post-new.php?post_type=page1.194 s0.736 s-0.458 s5.01 MiB5.03 MiB+ 18.27 KiB
/wp-admin/options-discussion.php0.314 s0.280 s-0.034 s2.67 MiB2.69 MiB+ 10.5 KiB
/wp-admin/edit-comments.php0.228 s0.209 s-0.019 s2.78 MiB2.78 MiB+ 9.17 KiB
/0.258 s0.200 s-0.058 s2.65 MiB2.66 MiB+ 9.92 KiB
Average 0.419 s0.346 s-0.073 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,65691827
CSS36.0%1,025312
PO File4.0%113671
JavaScript1.5%4401
JSON0.4%1101
Total 2,849 1,016 32

PHP Code Analysis | More results »

Lines of code 1,065
Total complexity 257
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