Free Product Sample for WooCommerce 2.3.3

Does "Free Product Sample for WooCommerce" work with WordPress 6.8.1 and PHP 8.1.12? 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: 1.34 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
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=6b3520fbed
Aspect after-activation
HTTP status 200
Load time 0.408 s
Memory usage 3.53 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.200 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.303 s-0.041 s3.51 MiB3.52 MiB+ 12.84 KiB
/wp-admin/edit.php0.207 s0.197 s-0.010 s3.57 MiB3.58 MiB+ 12.84 KiB
/wp-admin/post-new.php0.787 s0.612 s-0.175 s6.06 MiB6.08 MiB+ 17.26 KiB
/wp-admin/upload.php0.581 s0.329 s-0.252 s3.52 MiB3.52 MiB- 4.57 KiB
/wp-admin/options-writing.php0.222 s0.182 s-0.040 s3.5 MiB3.5 MiB- 592 bytes
/wp-admin/media-new.php0.252 s0.307 s+0.055 s3.49 MiB3.5 MiB+ 7.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.256 s0.184 s-0.072 s3.5 MiB3.52 MiB+ 18.29 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.609 s-0.002 s6.05 MiB6.06 MiB+ 12.79 KiB
/wp-admin/options-discussion.php0.261 s0.296 s+0.035 s3.5 MiB3.5 MiB- 4.08 KiB
/wp-admin/edit-comments.php0.210 s0.200 s-0.010 s3.52 MiB3.52 MiB- 4.58 KiB
/0.307 s0.195 s-0.112 s3.5 MiB3.45 MiB- 53.13 KiB
Average 0.367 s0.310 s-0.057 s3.98 MiB3.98 MiB+ 1.34 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.7%1,77093327
CSS32.3%1,025312
PO File10.3%3281762
JavaScript1.4%4401
JSON0.3%1101
Total 3,178 1,140 33

PHP Code Analysis | More results »

Lines of code 1,162
Total complexity 285
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 87
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