Free Product Sample for WooCommerce 2.2.7

Does "Free Product Sample for WooCommerce" work with WordPress 6.0.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: 7.01 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 version6.0.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=9658747767
Aspect after-activation
HTTP status 200
Load time 0.405 s
Memory usage 3.7 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.146 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.273 s0.334 s+0.061 s3.72 MiB3.73 MiB+ 10.32 KiB
/wp-admin/edit.php0.162 s0.209 s+0.047 s3.75 MiB3.76 MiB+ 10.32 KiB
/wp-admin/post-new.php0.659 s0.807 s+0.148 s5.55 MiB5.56 MiB+ 18.64 KiB
/wp-admin/upload.php0.342 s0.255 s-0.087 s3.68 MiB3.69 MiB+ 9.15 KiB
/wp-admin/options-writing.php0.125 s0.136 s+0.011 s3.62 MiB3.63 MiB+ 16.73 KiB
/wp-admin/media-new.php0.467 s0.153 s-0.314 s3.66 MiB3.67 MiB+ 9.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.158 s-0.039 s3.69 MiB3.7 MiB+ 10.27 KiB
/wp-admin/post-new.php?post_type=page0.505 s0.547 s+0.042 s5.54 MiB5.55 MiB+ 10.23 KiB
/wp-admin/options-discussion.php0.179 s0.275 s+0.096 s3.6 MiB3.61 MiB+ 9.63 KiB
/wp-admin/edit-comments.php0.171 s0.182 s+0.011 s3.69 MiB3.7 MiB+ 9.17 KiB
/0.221 s0.180 s-0.041 s3.6 MiB3.57 MiB- 36.63 KiB
Average 0.300 s0.294 s-0.006 s4.01 MiB4.02 MiB+ 7.01 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
PO File
Language % Lines of code Comment lines Files
PHP55.3%1,73991827
CSS32.6%1,025312
PO File10.4%3281762
JavaScript1.4%4401
JSON0.3%1101
Total 3,147 1,125 33

PHP Code Analysis | More results »

Lines of code 1,131
Total complexity 273
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 4

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