Free Product Sample for WooCommerce 2.2.9

Does "Free Product Sample for WooCommerce" work with WordPress 6.2.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: -4.33 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.2.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=1f8835c787
Aspect after-activation
HTTP status 200
Load time 0.324 s
Memory usage 3.02 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.237 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.258 s-0.039 s3.07 MiB3.08 MiB+ 8.78 KiB
/wp-admin/edit.php0.202 s0.206 s+0.004 s3.1 MiB3.11 MiB+ 8.78 KiB
/wp-admin/post-new.php0.950 s0.632 s-0.318 s5.02 MiB5.03 MiB+ 13.15 KiB
/wp-admin/upload.php0.690 s0.320 s-0.370 s3.02 MiB3.01 MiB- 8.63 KiB
/wp-admin/options-writing.php0.162 s0.145 s-0.017 s3.01 MiB2.99 MiB- 21.87 KiB
/wp-admin/media-new.php0.293 s0.246 s-0.047 s2.99 MiB3 MiB+ 3.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.181 s+0.002 s3.01 MiB3.01 MiB+ 8.73 KiB
/wp-admin/post-new.php?post_type=page0.648 s0.628 s-0.020 s5.01 MiB5.02 MiB+ 8.73 KiB
/wp-admin/options-discussion.php0.246 s0.260 s+0.014 s3 MiB2.99 MiB- 8.13 KiB
/wp-admin/edit-comments.php0.209 s0.225 s+0.016 s3.03 MiB3.02 MiB- 8.63 KiB
/0.335 s0.225 s-0.110 s3.03 MiB2.98 MiB- 52.15 KiB
Average 0.383 s0.302 s-0.080 s3.39 MiB3.39 MiB- 4.33 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