Coupon & Discount Code Reveal Button 1.2.5

Does "Coupon & Discount Code Reveal Button" work with WordPress 6.5.2 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.2
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=26efcd65e9
Aspect after-activation
HTTP status 200
Load time 0.271 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.388 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.326 s0.284 s-0.042 s3.44 MiB3.46 MiB+ 21.18 KiB
/wp-admin/edit.php0.184 s0.171 s-0.013 s3.46 MiB3.48 MiB+ 20.47 KiB
/wp-admin/post-new.php0.783 s0.550 s-0.233 s5.59 MiB5.62 MiB+ 25.5 KiB
/wp-admin/upload.php0.561 s0.392 s-0.169 s3.38 MiB3.38 MiB+ 3.81 KiB
/wp-admin/options-writing.php0.203 s0.166 s-0.037 s3.37 MiB3.37 MiB- 4.23 KiB
/wp-admin/media-new.php0.274 s0.218 s-0.056 s3.35 MiB3.37 MiB+ 16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.158 s0.167 s+0.009 s3.37 MiB3.39 MiB+ 21.17 KiB
/wp-admin/post-new.php?post_type=page0.498 s0.508 s+0.010 s5.59 MiB5.61 MiB+ 21.09 KiB
/wp-admin/options-discussion.php0.190 s0.430 s+0.240 s3.36 MiB3.36 MiB+ 4.3 KiB
/wp-admin/edit-comments.php0.212 s0.191 s-0.021 s3.39 MiB3.39 MiB+ 3.84 KiB
/0.305 s0.179 s-0.126 s3.42 MiB3.38 MiB- 39.65 KiB
Average 0.336 s0.296 s-0.040 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

[11-Apr-2024 11:43:57 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