Free Product Sample for WooCommerce 2.3.3

Does "Free Product Sample for WooCommerce" work with WordPress 6.8.2 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
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=027315104b
Aspect after-activation
HTTP status 200
Load time 0.276 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.190 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.299 s0.255 s-0.044 s3.51 MiB3.52 MiB+ 12.16 KiB
/wp-admin/edit.php0.193 s0.190 s-0.003 s3.57 MiB3.58 MiB+ 12.16 KiB
/wp-admin/post-new.php0.754 s0.602 s-0.152 s6.06 MiB6.08 MiB+ 16.59 KiB
/wp-admin/upload.php0.795 s0.366 s-0.429 s3.52 MiB3.52 MiB- 5.25 KiB
/wp-admin/options-writing.php0.213 s0.406 s+0.193 s3.5 MiB3.5 MiB- 1.26 KiB
/wp-admin/media-new.php0.276 s0.178 s-0.098 s3.49 MiB3.5 MiB+ 6.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.283 s0.193 s-0.090 s3.5 MiB3.52 MiB+ 17.61 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.628 s+0.025 s6.05 MiB6.06 MiB+ 12.11 KiB
/wp-admin/options-discussion.php0.481 s0.279 s-0.202 s3.5 MiB3.5 MiB- 4.76 KiB
/wp-admin/edit-comments.php0.205 s0.194 s-0.011 s3.52 MiB3.52 MiB- 5.26 KiB
/0.302 s0.190 s-0.112 s3.43 MiB3.45 MiB+ 13.4 KiB
Average 0.400 s0.316 s-0.084 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.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