Free Product Sample for WooCommerce 2.2.8

Does "Free Product Sample for WooCommerce" work with WordPress 6.0.1 and PHP 7.4.8? 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: 3.4 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=eb3ccbc9e2
Aspect after-activation
HTTP status 200
Load time 0.430 s
Memory usage 3.7 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.296 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.318 s0.429 s+0.111 s3.72 MiB3.73 MiB+ 9.09 KiB
/wp-admin/edit.php0.179 s0.205 s+0.026 s3.75 MiB3.76 MiB+ 9.09 KiB
/wp-admin/post-new.php1.482 s0.939 s-0.543 s5.55 MiB5.56 MiB+ 17.45 KiB
/wp-admin/upload.php0.403 s0.292 s-0.111 s3.68 MiB3.69 MiB+ 7.95 KiB
/wp-admin/options-writing.php0.147 s0.158 s+0.011 s3.62 MiB3.6 MiB- 12.14 KiB
/wp-admin/media-new.php0.479 s0.189 s-0.290 s3.66 MiB3.67 MiB+ 8.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.183 s-0.041 s3.69 MiB3.7 MiB+ 9.03 KiB
/wp-admin/post-new.php?post_type=page0.595 s0.624 s+0.029 s5.54 MiB5.55 MiB+ 9.03 KiB
/wp-admin/options-discussion.php0.212 s0.312 s+0.100 s3.6 MiB3.6 MiB+ 8.44 KiB
/wp-admin/edit-comments.php0.215 s0.215 s+0.000 s3.69 MiB3.7 MiB+ 7.94 KiB
/0.314 s0.230 s-0.084 s3.6 MiB3.57 MiB- 36.63 KiB
Average 0.415 s0.343 s-0.072 s4.01 MiB4.01 MiB+ 3.4 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,74791827
CSS32.5%1,025312
PO File10.4%3281762
JavaScript1.4%4401
JSON0.3%1101
Total 3,155 1,125 33

PHP Code Analysis | More results »

Lines of code 1,139
Total complexity 276
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