Coupon X Discount Pop Up 1.3.3

Does Coupon X Discount Pop Up work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 129.97 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/coupon-x-discount-pop-up/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

Create New Widget ‹ Test site — WordPress

Page screenshot: Create New Widget ‹ Test site — WordPress
URL /wp-admin/admin.php?page=add_couponx
Requested URL /wp-admin/plugins.php?action=activate&plugin=coupon-x-discount-pop-up%2Fcoupon-x-for-wc.php&plugin_status=all&paged=1&s&_wpnonce=828b1a60e1
Aspect after-activation
HTTP status 200
Load time 0.814 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Coupon X

Page screenshot: Coupon X
URL /wp-admin/admin.php?page=couponx
Aspect menu-item
HTTP status 200
Load time 0.407 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Coupon X → Create New Widget

Page screenshot: Coupon X → Create New Widget
URL /wp-admin/admin.php?page=add_couponx
Aspect menu-item
HTTP status 200
Load time 0.342 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Coupon X → Leads

Page screenshot: Coupon X → Leads
URL /wp-admin/admin.php?page=couponx
Requested URL /wp-admin/admin.php?page=leads_list
Aspect menu-item
HTTP status 200
Load time 0.352 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Coupon X → Integrations

Page screenshot: Coupon X → Integrations
URL /wp-admin/admin.php?page=couponx
Requested URL /wp-admin/admin.php?page=cx_integrations
Aspect menu-item
HTTP status 200
Load time 0.356 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Coupon X → Recommended Plugins

Page screenshot: Coupon X → Recommended Plugins
URL /wp-admin/admin.php?page=cx-recommended-plugins
Aspect menu-item
HTTP status 200
Load time 0.754 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Coupon X → Upgrade to Pro

Page screenshot: Coupon X → 

 Upgrade to Pro
URL /wp-admin/admin.php?page=couponx
Requested URL /wp-admin/admin.php?page=couponx_pricing_tbl
Aspect menu-item
HTTP status 200
Load time 0.405 s
Memory usage 3.57 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.248 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.379 s0.322 s-0.057 s3.47 MiB3.58 MiB+ 107.7 KiB
/wp-admin/edit.php0.230 s0.200 s-0.030 s3.54 MiB3.64 MiB+ 100.84 KiB
/wp-admin/post-new.php0.833 s0.921 s+0.088 s5.75 MiB5.98 MiB+ 232.06 KiB
/wp-admin/upload.php0.654 s0.458 s-0.196 s3.49 MiB3.57 MiB+ 83.44 KiB
/wp-admin/options-writing.php0.210 s0.227 s+0.017 s3.41 MiB3.55 MiB+ 146.25 KiB
/wp-admin/media-new.php0.262 s0.248 s-0.014 s3.4 MiB3.55 MiB+ 159.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.218 s+0.021 s3.47 MiB3.57 MiB+ 106.3 KiB
/wp-admin/post-new.php?post_type=page0.723 s0.603 s-0.120 s5.75 MiB5.97 MiB+ 227.65 KiB
/wp-admin/options-discussion.php0.236 s0.344 s+0.108 s3.41 MiB3.55 MiB+ 147.94 KiB
/wp-admin/edit-comments.php0.221 s0.236 s+0.015 s3.49 MiB3.57 MiB+ 83.44 KiB
/0.329 s0.223 s-0.106 s3.45 MiB3.49 MiB+ 34.38 KiB
Average 0.389 s0.364 s-0.025 s3.88 MiB4 MiB+ 129.97 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
CSS
Language % Lines of code Comment lines Files
PHP39.4%9,1321,32119
JavaScript35.5%8,2376397
CSS22.0%5,109497
SVG3.0%703037
Total 23,181 2,009 70

PHP Code Analysis | More results »

Lines of code 8,413
Total complexity 712
Median class complexity 19.5
Median method complexity 3.0
Most complex class Coupon_X\Frontend\Couponx_Frontend
Most complex function Coupon_X\Dashboard\Cx_Widget_Popup::render_popup_preview()
Classes 16
Methods 111
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 3

Custom Post Types 1

ID Name
cx_widgetCX Widget

PHP Error Log 3 lines

[13-Sep-2024 11:46:24 UTC] PHP Deprecated:  Function add_option was called with an argument that is <strong>deprecated</strong> since version 2.3.0 with no alternative available. in /wp-includes/functions.php on line 6085
[13-Sep-2024 11:46:32 UTC] PHP Warning:  Undefined variable $css in /wp-content/plugins/coupon-x-discount-pop-up/inc/class-couponx-frontend.php on line 81
[13-Sep-2024 11:46:42 UTC] PHP Warning:  Undefined variable $css in /wp-content/plugins/coupon-x-discount-pop-up/inc/class-couponx-frontend.php on line 81
See also: All tests for this plugin, How to Hide Coupon X Discount Pop Up Admin Menus