Consent Management Platform 2.1.4

Does Consent Management Platform work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 24.7 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 <10
WordPress.org page https://wordpress.org/plugins/gdpr-compliance-tool/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=gdpr-compliance-tool%2Fgdpr-compliance-tool.php&plugin_status=all&paged=1&s&_wpnonce=4411fec034
Aspect after-activation
HTTP status 200
Load time 0.248 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Consent Management Platform

Page screenshot: Consent Management Platform
URL /wp-admin/admin.php?page=sharethis-gdpr-compliance-tool
Aspect menu-item
HTTP status 200
Load time 0.477 s
Memory usage 3.02 MiB
JS errors
[
    {
        "message": "Error: Request failed with status code 400\n    at e.exports (/wp-content/plugins/gdpr-compliance-tool/build/index.js?ver=aad03474ced4344ec597e63630c11ac5:1:6979)\n    at e.exports (/wp-content/plugins/gdpr-compliance-tool/build/index.js?ver=aad03474ced4344ec597e63630c11ac5:1:9417)\n    at XMLHttpRequest.b (/wp-content/plugins/gdpr-compliance-tool/build/index.js?ver=aad03474ced4344ec597e63630c11ac5:1:2279)",
        "trace": null,
        "code": null
    }
]
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.213 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.261 s0.243 s-0.018 s3.05 MiB3.08 MiB+ 31.73 KiB
/wp-admin/edit.php0.172 s0.172 s+0.000 s3.07 MiB3.11 MiB+ 31.73 KiB
/wp-admin/post-new.php0.742 s0.549 s-0.193 s4.97 MiB5 MiB+ 35.65 KiB
/wp-admin/upload.php0.676 s0.488 s-0.188 s2.99 MiB3.01 MiB+ 17.23 KiB
/wp-admin/options-writing.php0.131 s0.194 s+0.063 s2.99 MiB2.99 MiB+ 3.79 KiB
/wp-admin/media-new.php0.247 s0.204 s-0.043 s2.97 MiB3 MiB+ 29.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.159 s0.184 s+0.025 s2.98 MiB3.01 MiB+ 32.46 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.613 s+0.007 s4.96 MiB4.99 MiB+ 31.23 KiB
/wp-admin/options-discussion.php0.206 s0.190 s-0.016 s2.98 MiB2.99 MiB+ 17.63 KiB
/wp-admin/edit-comments.php0.170 s0.199 s+0.029 s3 MiB3.01 MiB+ 14.36 KiB
/0.272 s0.202 s-0.070 s2.94 MiB2.97 MiB+ 26.41 KiB
Average 0.331 s0.294 s-0.037 s3.35 MiB3.38 MiB+ 24.7 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
PHP99.1%5603648
CSS0.7%401
JavaScript0.2%101
Total 565 364 10

PHP Code Analysis | More results »

Lines of code 545
Total complexity 113
Median class complexity 31.0
Median method complexity 2.0
Most complex class GDPRComplianceTool\GDPRCompliance
Most complex function GDPRComplianceTool\GDPRCompliance::setGdprComplianceConfig()
Classes 3
Methods 31
Functions 4

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.

Options wp_options 1

PHP Error Log 15 lines

[22-Nov-2022 20:13:54 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:13:55 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:13:55 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:13:58 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:13:58 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:13:58 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:00 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:00 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:01 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:01 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:01 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:04 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
[22-Nov-2022 20:14:04 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/gdpr-compliance-tool/php/class-gdprcompliance.php on line 433
See also: All tests for this plugin, How to Hide the "Consent Management Platform" Admin Menu