Free Product Sample for WooCommerce 2.3.1

Does "Free Product Sample for WooCommerce" work with WordPress 6.5.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: 2.3 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=d438dd019f
Aspect after-activation
HTTP status 200
Load time 0.278 s
Memory usage 3.39 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.168 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.297 s-0.052 s3.44 MiB3.45 MiB+ 9.65 KiB
/wp-admin/edit.php0.206 s0.201 s-0.005 s3.46 MiB3.47 MiB+ 9.65 KiB
/wp-admin/post-new.php0.859 s0.553 s-0.306 s5.6 MiB5.61 MiB+ 9.65 KiB
/wp-admin/upload.php0.625 s0.430 s-0.195 s3.38 MiB3.37 MiB- 7.7 KiB
/wp-admin/options-writing.php0.214 s0.167 s-0.047 s3.37 MiB3.36 MiB- 15.74 KiB
/wp-admin/media-new.php0.369 s0.187 s-0.182 s3.35 MiB3.36 MiB+ 4.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.168 s-0.008 s3.37 MiB3.38 MiB+ 9.66 KiB
/wp-admin/post-new.php?post_type=page0.550 s0.579 s+0.029 s5.59 MiB5.6 MiB+ 9.66 KiB
/wp-admin/options-discussion.php0.317 s0.487 s+0.170 s3.36 MiB3.35 MiB- 7.21 KiB
/wp-admin/edit-comments.php0.230 s0.207 s-0.023 s3.39 MiB3.38 MiB- 7.71 KiB
/0.271 s0.186 s-0.085 s3.37 MiB3.38 MiB+ 10.95 KiB
Average 0.379 s0.315 s-0.064 s3.79 MiB3.79 MiB+ 2.3 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.4%1,74991827
CSS32.5%1,025312
PO File10.4%3281762
JavaScript1.4%4401
JSON0.3%1101
Total 3,157 1,125 33

PHP Code Analysis | More results »

Lines of code 1,141
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