CouponAPI 5.6.1

Does CouponAPI work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP notices
1Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 30.56 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.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/couponapi/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=couponapi%2Fcouponapi.php&plugin_status=all&paged=1&s&_wpnonce=515b093cca
Aspect after-activation
HTTP status 200
Load time 0.405 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Coupon API

Page screenshot: Coupon API
URL /wp-admin/admin.php?page=couponapi
Aspect menu-item
HTTP status 200
Load time 0.335 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Coupon API → Brandlogos

Page screenshot: Coupon API → Brandlogos
URL /wp-admin/admin.php?page=couponapi-brandlogos-settings
Aspect menu-item
HTTP status 200
Load time 0.176 s
Memory usage 2.74 MiB
JS errors None
Resource errors None

Coupon API → CSV Upload

Page screenshot: Coupon API → CSV Upload
URL /wp-admin/admin.php?page=couponapi-file-upload
Aspect menu-item
HTTP status 200
Load time 0.185 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Coupon API → Logs

Page screenshot: Coupon API → Logs
URL /wp-admin/admin.php?page=couponapi-logs
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Coupon API → Troubleshoot

Page screenshot: Coupon API → Troubleshoot
URL /wp-admin/admin.php?page=couponapi-troubleshoot
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 2.76 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.199 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.504 s0.286 s-0.218 s2.82 MiB2.86 MiB+ 36.55 KiB
/wp-admin/edit.php0.279 s0.459 s+0.180 s2.85 MiB2.89 MiB+ 36.55 KiB
/wp-admin/post-new.php0.921 s1.119 s+0.198 s5.21 MiB5.26 MiB+ 52.52 KiB
/wp-admin/upload.php0.939 s0.448 s-0.491 s2.77 MiB2.79 MiB+ 19.15 KiB
/wp-admin/options-writing.php0.290 s0.240 s-0.050 s2.76 MiB2.77 MiB+ 11.11 KiB
/wp-admin/media-new.php0.363 s0.279 s-0.084 s2.74 MiB2.77 MiB+ 31.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.245 s0.244 s-0.001 s2.76 MiB2.79 MiB+ 36.51 KiB
/wp-admin/post-new.php?post_type=page0.796 s0.800 s+0.004 s5.21 MiB5.25 MiB+ 48.1 KiB
/wp-admin/options-discussion.php0.525 s0.396 s-0.129 s2.75 MiB2.77 MiB+ 19.64 KiB
/wp-admin/edit-comments.php0.344 s0.275 s-0.069 s2.78 MiB2.8 MiB+ 19.18 KiB
/0.353 s0.294 s-0.059 s3.13 MiB3.15 MiB+ 25.56 KiB
Average 0.505 s0.440 s-0.065 s3.25 MiB3.28 MiB+ 30.56 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
PHP61.0%3,85621113
PO File33.7%2,1287996
SVG4.6%28801
JavaScript0.6%3711
CSS0.1%911
Total 6,318 1,012 22

PHP Code Analysis | More results »

Lines of code 3,911
Total complexity 827
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function couponapi_clipmydeals_process_batch()
Classes 0
Methods 0
Functions 74

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 3

Options wp_options 1

PHP Error Log 3 lines

[15-Aug-2023 01:45:00 UTC] WordPress database error Table 'wordpress.wp_couponapi_config' doesn't exist for query REPLACE INTO wp_couponapi_config (name,value) VALUES ('last_cron',1692063900.2862) made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/couponapi/couponapi.php'), couponapi_check_wpcron
[15-Aug-2023 01:45:07 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>feedcallback/v1/posts</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5905
[15-Aug-2023 01:45:12 UTC] PHP Notice:  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>feedcallback/v1/posts</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5905
See also: All tests for this plugin, How to Hide CouponAPI Admin Menus