Buy one get one free 1.10.19

Does Buy one get one free 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: -11.75 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 800+
WordPress.org page https://wordpress.org/plugins/buy-one-get-one-free/
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=buy-one-get-one-free%2Fbuy-one-get-one-free-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=92e5fb418f
Aspect after-activation
HTTP status 200
Load time 0.225 s
Memory usage 3.01 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.219 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.260 s-0.038 s3.07 MiB3.07 MiB+ 1.4 KiB
/wp-admin/edit.php0.202 s0.194 s-0.008 s3.1 MiB3.1 MiB+ 1.4 KiB
/wp-admin/post-new.php0.807 s0.666 s-0.141 s5.02 MiB5.03 MiB+ 5.77 KiB
/wp-admin/upload.php0.620 s0.313 s-0.307 s3.02 MiB3 MiB- 16.02 KiB
/wp-admin/options-writing.php0.182 s0.286 s+0.104 s3.01 MiB2.98 MiB- 29.25 KiB
/wp-admin/media-new.php0.444 s0.271 s-0.173 s2.99 MiB2.99 MiB- 3.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.191 s-0.010 s3.01 MiB3.01 MiB+ 1.35 KiB
/wp-admin/post-new.php?post_type=page0.641 s0.588 s-0.053 s5.01 MiB5.02 MiB+ 1.35 KiB
/wp-admin/options-discussion.php0.228 s0.248 s+0.020 s3 MiB2.98 MiB- 15.52 KiB
/wp-admin/edit-comments.php0.238 s0.217 s-0.021 s3.03 MiB3.01 MiB- 16.02 KiB
/0.343 s0.230 s-0.113 s3.03 MiB2.97 MiB- 59.92 KiB
Average 0.382 s0.315 s-0.067 s3.39 MiB3.38 MiB- 11.75 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.

SVG
PHP
Language % Lines of code Comment lines Files
SVG62.8%3,23256
PHP34.1%1,75449926
JavaScript2.0%101333
CSS1.2%6382
Total 5,150 545 37

PHP Code Analysis | More results »

Lines of code 1,531
Total complexity 325
Median class complexity 13.0
Median method complexity 2.0
Most complex class pisol_class_form_sn
Most complex function Buy_One_Get_One_Free_Woocommerce_Category::search_product()
Classes 20
Methods 126
Functions 7

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