Free Product Sample for WooCommerce 2.3.1

Does "Free Product Sample for WooCommerce" work with WordPress 6.6.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: 16.52 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.6.2
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=97d6965e2a
Aspect after-activation
HTTP status 200
Load time 0.292 s
Memory usage 3.5 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.227 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.283 s-0.063 s3.47 MiB3.48 MiB+ 9.7 KiB
/wp-admin/edit.php0.196 s0.180 s-0.016 s3.54 MiB3.55 MiB+ 9.7 KiB
/wp-admin/post-new.php0.743 s0.579 s-0.164 s5.75 MiB5.77 MiB+ 14.07 KiB
/wp-admin/upload.php0.536 s0.390 s-0.146 s3.49 MiB3.48 MiB- 7.7 KiB
/wp-admin/options-writing.php0.383 s0.362 s-0.021 s3.41 MiB3.46 MiB+ 55.1 KiB
/wp-admin/media-new.php0.231 s0.233 s+0.002 s3.4 MiB3.46 MiB+ 68.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.190 s-0.001 s3.47 MiB3.49 MiB+ 15.16 KiB
/wp-admin/post-new.php?post_type=page0.568 s0.583 s+0.015 s5.75 MiB5.76 MiB+ 9.66 KiB
/wp-admin/options-discussion.php0.248 s0.227 s-0.021 s3.41 MiB3.46 MiB+ 56.79 KiB
/wp-admin/edit-comments.php0.438 s0.208 s-0.230 s3.49 MiB3.48 MiB- 7.71 KiB
/0.350 s0.200 s-0.150 s3.45 MiB3.41 MiB- 41.51 KiB
Average 0.385 s0.312 s-0.072 s3.88 MiB3.89 MiB+ 16.52 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