WooCommerce Smart Sale Badge 1.1

Does WooCommerce Smart Sale Badge work with WordPress 7.0.3 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: -1.18 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 version7.0.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-smart-sale-badge/
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=woocommerce-smart-sale-badge%2Fwoocommerce-smart-sale-badge.php&plugin_status=all&paged=1&s&_wpnonce=11e7f7d10f
Aspect after-activation
HTTP status 200
Load time 0.563 s
Memory usage 3.88 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.228 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.700 s0.559 s-0.141 s3.92 MiB3.93 MiB+ 4.82 KiB
/wp-admin/edit.php0.966 s0.654 s-0.312 s3.98 MiB3.99 MiB+ 4.82 KiB
/wp-admin/post-new.php1.745 s2.154 s+0.409 s6.56 MiB6.57 MiB+ 9.25 KiB
/wp-admin/upload.php1.070 s1.146 s+0.076 s3.89 MiB3.88 MiB- 12.59 KiB
/wp-admin/options-writing.php1.053 s0.673 s-0.380 s3.86 MiB3.85 MiB- 8.59 KiB
/wp-admin/media-new.php0.811 s1.018 s+0.207 s3.85 MiB3.85 MiB- 408 bytes
/wp-admin/edit-tags.php?taxonomy=category0.731 s0.555 s-0.176 s3.86 MiB3.87 MiB+ 4.77 KiB
/wp-admin/post-new.php?post_type=page1.745 s1.689 s-0.056 s6.55 MiB6.55 MiB+ 4.77 KiB
/wp-admin/options-discussion.php0.615 s0.593 s-0.022 s3.86 MiB3.85 MiB- 12.09 KiB
/wp-admin/edit-comments.php0.552 s0.551 s-0.001 s3.88 MiB3.87 MiB- 12.59 KiB
/0.291 s0.232 s-0.059 s4.23 MiB4.23 MiB+ 4.85 KiB
Average 0.934 s0.893 s-0.041 s4.4 MiB4.4 MiB- 1.18 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
PO File
Language % Lines of code Comment lines Files
PHP68.7%57203
PO File31.3%2661
Total 83 26 4

PHP Code Analysis | More results »

Lines of code 51
Total complexity 14
Median class complexity 14.0
Median method complexity 1.0
Most complex class WooCommerce_Smart_Sale_Badge
Most complex function WooCommerce_Smart_Sale_Badge::badge_sale_amount()
Classes 1
Methods 4
Functions 0

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