Free Product Sample for WooCommerce 2.3.2

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: 6.77 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=4dba511054
Aspect after-activation
HTTP status 200
Load time 0.322 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.192 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.378 s0.273 s-0.105 s3.51 MiB3.52 MiB+ 12.16 KiB
/wp-admin/edit.php0.204 s0.200 s-0.004 s3.57 MiB3.58 MiB+ 12.16 KiB
/wp-admin/post-new.php0.817 s0.638 s-0.179 s6.06 MiB6.08 MiB+ 16.58 KiB
/wp-admin/upload.php0.629 s0.525 s-0.104 s3.52 MiB3.52 MiB- 5.25 KiB
/wp-admin/options-writing.php0.237 s0.367 s+0.130 s3.5 MiB3.5 MiB- 1.26 KiB
/wp-admin/media-new.php0.324 s0.191 s-0.133 s3.49 MiB3.5 MiB+ 6.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.239 s0.209 s-0.030 s3.5 MiB3.52 MiB+ 17.61 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.628 s+0.022 s6.05 MiB6.06 MiB+ 12.11 KiB
/wp-admin/options-discussion.php0.285 s0.263 s-0.022 s3.5 MiB3.5 MiB- 4.76 KiB
/wp-admin/edit-comments.php0.223 s0.205 s-0.018 s3.52 MiB3.52 MiB- 5.26 KiB
/0.504 s0.200 s-0.304 s3.43 MiB3.45 MiB+ 13.4 KiB
Average 0.404 s0.336 s-0.068 s3.97 MiB3.98 MiB+ 6.77 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.5%1,75492327
CSS32.4%1,025312
PO File10.4%3281762
JavaScript1.4%4401
JSON0.3%1101
Total 3,162 1,130 33

PHP Code Analysis | More results »

Lines of code 1,146
Total complexity 277
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