Coupon & Discount Code Reveal Button 1.2.6

Does "Coupon & Discount Code Reveal Button" work with WordPress 6.5.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 8.5 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.5.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/coupon-reveal-button/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=coupon-reveal-button%2Fspbcta-plugin.php&plugin_status=all&paged=1&s&_wpnonce=4844227ae4
Aspect after-activation
HTTP status 200
Load time 0.309 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Reveal Button

Page screenshot: Reveal Button
URL /wp-admin/admin.php?page=spbcta_plugin
Aspect menu-item
HTTP status 200
Load time 0.357 s
Memory usage 3.36 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.182 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.361 s0.301 s-0.060 s3.44 MiB3.46 MiB+ 21.18 KiB
/wp-admin/edit.php0.202 s0.195 s-0.007 s3.46 MiB3.48 MiB+ 20.47 KiB
/wp-admin/post-new.php0.940 s0.597 s-0.343 s5.59 MiB5.62 MiB+ 25.5 KiB
/wp-admin/upload.php0.565 s0.454 s-0.111 s3.38 MiB3.38 MiB+ 3.81 KiB
/wp-admin/options-writing.php0.241 s0.166 s-0.075 s3.37 MiB3.37 MiB- 4.23 KiB
/wp-admin/media-new.php0.315 s0.221 s-0.094 s3.35 MiB3.37 MiB+ 16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.186 s-0.014 s3.37 MiB3.39 MiB+ 21.17 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.580 s-0.023 s5.59 MiB5.61 MiB+ 21.09 KiB
/wp-admin/options-discussion.php0.302 s0.273 s-0.029 s3.36 MiB3.36 MiB+ 4.3 KiB
/wp-admin/edit-comments.php0.223 s0.195 s-0.028 s3.39 MiB3.39 MiB+ 3.84 KiB
/0.307 s0.182 s-0.125 s3.42 MiB3.38 MiB- 39.65 KiB
Average 0.387 s0.305 s-0.083 s3.79 MiB3.8 MiB+ 8.5 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
JavaScript
Language % Lines of code Comment lines Files
PHP77.7%9334098
JavaScript22.1%265162
CSS0.2%202
SVG0.1%101
Total 1,201 425 13

PHP Code Analysis | More results »

Lines of code 967
Total complexity 177
Median class complexity 16.0
Median method complexity 2.0
Most complex class spbcta_Plugin
Most complex function spbcta_Plugin::spbcta_eventHandler()
Classes 7
Methods 54
Functions 2

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.

Database Tables 1

Options wp_options 1

User Metadata wp_usermeta 1

PHP Error Log 1 lines

[09-May-2024 10:13:23 UTC] PHP Deprecated:  Optional parameter $_base_url declared before required parameter $base_dir is implicitly treated as a required parameter in /wp-content/plugins/coupon-reveal-button/inc/spbcta-plugin.php on line 17
See also: All tests for this plugin, How to Hide the "Reveal Button" Admin Menu