Free Product Sample for WooCommerce 2.5

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: 7.02 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=29fe604e06
Aspect after-activation
HTTP status 200
Load time 0.448 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.241 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.351 s0.319 s-0.032 s3.51 MiB3.52 MiB+ 12.84 KiB
/wp-admin/edit.php0.194 s0.219 s+0.025 s3.57 MiB3.58 MiB+ 12.84 KiB
/wp-admin/post-new.php0.783 s0.677 s-0.106 s6.06 MiB6.08 MiB+ 17.26 KiB
/wp-admin/upload.php0.656 s0.488 s-0.168 s3.52 MiB3.52 MiB- 4.57 KiB
/wp-admin/options-writing.php0.218 s0.182 s-0.036 s3.5 MiB3.5 MiB- 592 bytes
/wp-admin/media-new.php0.323 s0.229 s-0.094 s3.49 MiB3.5 MiB+ 7.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.394 s+0.193 s3.5 MiB3.52 MiB+ 18.29 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.620 s+0.016 s6.05 MiB6.06 MiB+ 12.79 KiB
/wp-admin/options-discussion.php0.307 s0.289 s-0.018 s3.5 MiB3.5 MiB- 4.08 KiB
/wp-admin/edit-comments.php0.193 s0.204 s+0.011 s3.52 MiB3.52 MiB- 4.58 KiB
/0.290 s0.188 s-0.102 s3.44 MiB3.45 MiB+ 9.43 KiB
Average 0.375 s0.346 s-0.028 s3.97 MiB3.98 MiB+ 7.02 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.9%1,79794227
CSS32.1%1,032312
PO File10.2%3281762
JavaScript1.4%4401
JSON0.3%1101
Total 3,212 1,149 33

PHP Code Analysis | More results »

Lines of code 1,189
Total complexity 297
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