CouponAPI 5.1.0

Does CouponAPI work with WordPress 6.1.1 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: 28.76 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.1.1
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=3e64a4a35a
Aspect after-activation
HTTP status 200
Load time 0.444 s
Memory usage 3.02 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.311 s
Memory usage 2.99 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.205 s
Memory usage 2.97 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.143 s
Memory usage 2.99 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.182 s
Memory usage 2.99 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.154 s
Memory usage 2.99 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.268 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.289 s0.256 s-0.033 s3.05 MiB3.08 MiB+ 35.52 KiB
/wp-admin/edit.php0.191 s0.186 s-0.005 s3.07 MiB3.11 MiB+ 35.52 KiB
/wp-admin/post-new.php0.796 s0.987 s+0.191 s4.97 MiB5.02 MiB+ 51.48 KiB
/wp-admin/upload.php0.599 s0.419 s-0.180 s2.99 MiB3.01 MiB+ 18.11 KiB
/wp-admin/options-writing.php0.145 s0.140 s-0.005 s2.99 MiB2.99 MiB+ 4.76 KiB
/wp-admin/media-new.php0.296 s0.236 s-0.060 s2.97 MiB3 MiB+ 30.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.179 s-0.001 s2.98 MiB3.02 MiB+ 35.47 KiB
/wp-admin/post-new.php?post_type=page0.641 s0.666 s+0.025 s4.96 MiB5 MiB+ 43.06 KiB
/wp-admin/options-discussion.php0.207 s0.193 s-0.014 s2.97 MiB2.99 MiB+ 18.6 KiB
/wp-admin/edit-comments.php0.183 s0.179 s-0.004 s3 MiB3.02 MiB+ 18.14 KiB
/0.278 s0.194 s-0.084 s2.94 MiB2.97 MiB+ 25.44 KiB
Average 0.346 s0.330 s-0.015 s3.35 MiB3.38 MiB+ 28.76 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
Language % Lines of code Comment lines Files
PHP85.4%3,68420813
PO File7.7%3341251
SVG6.7%28801
CSS0.2%911
Total 4,315 334 16

PHP Code Analysis | More results »

Lines of code 3,739
Total complexity 775
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 72

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

[16-Feb-2023 11:42:41 UTC] WordPress database error Table 'wordpress.wp_couponapi_config' doesn't exist for query REPLACE INTO wp_couponapi_config (name,value) VALUES ('last_cron',1676547761.3401) made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/couponapi/couponapi.php'), couponapi_check_wpcron
[16-Feb-2023 11:42:48 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/support/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 5835
[16-Feb-2023 11:42:52 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/support/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 5835
See also: All tests for this plugin, How to Hide CouponAPI Admin Menus