WP Consent API 2.0.0

Does WP Consent API work with WordPress 6.9.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 2.44 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.9.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/wp-consent-api/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=wp-consent-api%2Fwp-consent-api.php&plugin_status=all&paged=1&s&_wpnonce=02a69b1be2
Aspect after-activation
HTTP status 200
Load time 0.319 s
Memory usage 3.74 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.201 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.480 s0.338 s-0.142 s3.78 MiB3.78 MiB+ 7.8 KiB
/wp-admin/edit.php0.357 s0.305 s-0.052 s3.78 MiB3.79 MiB+ 7.8 KiB
/wp-admin/post-new.php0.849 s1.027 s+0.178 s6.31 MiB6.32 MiB+ 12.23 KiB
/wp-admin/upload.php0.625 s0.431 s-0.194 s3.74 MiB3.73 MiB- 9.6 KiB
/wp-admin/options-writing.php0.332 s0.295 s-0.037 s3.71 MiB3.71 MiB- 5.61 KiB
/wp-admin/media-new.php0.501 s0.340 s-0.161 s3.7 MiB3.71 MiB+ 2.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.457 s0.283 s-0.174 s3.72 MiB3.73 MiB+ 13.26 KiB
/wp-admin/post-new.php?post_type=page0.664 s0.621 s-0.043 s6.3 MiB6.3 MiB+ 7.76 KiB
/wp-admin/options-discussion.php0.340 s0.371 s+0.031 s3.71 MiB3.71 MiB- 9.11 KiB
/wp-admin/edit-comments.php0.295 s0.328 s+0.033 s3.73 MiB3.73 MiB- 9.61 KiB
/0.272 s0.187 s-0.085 s4.11 MiB4.12 MiB+ 9.29 KiB
Average 0.470 s0.411 s-0.059 s4.24 MiB4.24 MiB+ 2.44 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
Markdown
JavaScript
Language % Lines of code Comment lines Files
PHP56.3%4295546
Markdown19.8%15101
JavaScript15.2%116651
JSON3.7%2801
Sass2.6%2001
CSS2.4%1801
Total 762 619 11

PHP Code Analysis | More results »

Lines of code 429
Total complexity 85
Median class complexity 7.0
Median method complexity 1.0
Most complex class WP_Consent_API_Cookie_Info
Most complex function wp_has_consent()
Classes 4
Methods 21
Functions 20

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin