CouponAPI 5.4.5

Does CouponAPI work with WordPress 6.2.2 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: 29.97 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.062 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
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=d448c61d82
Aspect after-activation
HTTP status 200
Load time 0.346 s
Memory usage 3.05 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.401 s
Memory usage 3.02 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.187 s
Memory usage 3 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.154 s
Memory usage 3.02 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.178 s
Memory usage 3.02 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.158 s
Memory usage 3.02 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.212 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.256 s-0.039 s3.07 MiB3.11 MiB+ 36.43 KiB
/wp-admin/edit.php0.185 s0.190 s+0.005 s3.1 MiB3.13 MiB+ 36.43 KiB
/wp-admin/post-new.php0.735 s1.448 s+0.713 s5.02 MiB5.07 MiB+ 52.39 KiB
/wp-admin/upload.php0.553 s0.536 s-0.017 s3.02 MiB3.03 MiB+ 19.02 KiB
/wp-admin/options-writing.php0.178 s0.171 s-0.007 s3.01 MiB3.02 MiB+ 5.78 KiB
/wp-admin/media-new.php0.300 s0.284 s-0.016 s2.99 MiB3.02 MiB+ 31.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.197 s+0.001 s3.01 MiB3.04 MiB+ 36.38 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.685 s+0.065 s5.01 MiB5.06 MiB+ 47.98 KiB
/wp-admin/options-discussion.php0.275 s0.231 s-0.044 s3 MiB3.02 MiB+ 19.52 KiB
/wp-admin/edit-comments.php0.260 s0.215 s-0.045 s3.03 MiB3.05 MiB+ 19.05 KiB
/0.308 s0.374 s+0.066 s2.97 MiB2.99 MiB+ 25.44 KiB
Average 0.355 s0.417 s+0.062 s3.38 MiB3.41 MiB+ 29.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
PO File
Language % Lines of code Comment lines Files
PHP60.1%3,71220913
PO File34.5%2,1287996
SVG4.7%28801
JavaScript0.6%3711
CSS0.1%911
Total 6,174 1,010 22

PHP Code Analysis | More results »

Lines of code 3,767
Total complexity 784
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

[20-Jun-2023 12:16:11 UTC] WordPress database error Table 'wordpress.wp_couponapi_config' doesn't exist for query REPLACE INTO wp_couponapi_config (name,value) VALUES ('last_cron',1687263371.2663) made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/couponapi/couponapi.php'), couponapi_check_wpcron
[20-Jun-2023 12:16:18 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 5865
[20-Jun-2023 12:16:22 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 5865
See also: All tests for this plugin, How to Hide CouponAPI Admin Menus