Buy one get one free 1.9.93

Does Buy one get one free work with WordPress 6.1.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: -4.78 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=86c4bfc7ab
Aspect after-activation
HTTP status 200
Load time 0.234 s
Memory usage 3.42 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.180 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.282 s0.261 s-0.021 s3.54 MiB3.54 MiB+ 1.72 KiB
/wp-admin/edit.php0.178 s0.282 s+0.104 s3.57 MiB3.57 MiB+ 1.72 KiB
/wp-admin/post-new.php0.801 s0.986 s+0.185 s5.46 MiB5.47 MiB+ 6.08 KiB
/wp-admin/upload.php0.583 s0.278 s-0.305 s3.41 MiB3.41 MiB+ 568 bytes
/wp-admin/options-writing.php0.193 s0.138 s-0.055 s3.4 MiB3.39 MiB- 16.98 KiB
/wp-admin/media-new.php0.262 s0.211 s-0.051 s3.39 MiB3.39 MiB+ 744 bytes
/wp-admin/edit-tags.php?taxonomy=category0.251 s0.180 s-0.071 s3.48 MiB3.48 MiB+ 1.63 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.655 s-0.122 s5.46 MiB5.46 MiB+ 1.63 KiB
/wp-admin/options-discussion.php0.221 s0.293 s+0.072 s3.38 MiB3.39 MiB+ 1.04 KiB
/wp-admin/edit-comments.php0.192 s0.224 s+0.032 s3.48 MiB3.48 MiB+ 552 bytes
/0.259 s0.217 s-0.042 s3.47 MiB3.42 MiB- 51.27 KiB
Average 0.364 s0.339 s-0.025 s3.82 MiB3.82 MiB- 4.78 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
SVG63.4%3,23256
PHP34.1%1,73949326
JavaScript1.3%66272
CSS1.2%6382
Total 5,100 533 36

PHP Code Analysis | More results »

Lines of code 1,516
Total complexity 321
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 125
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.

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin