GDPR Cookie Consent 2.2.0

Does GDPR Cookie Consent work with WordPress 6.0.1 and PHP 7.4.8? 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: 112.97 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 9,000+
WordPress.org page https://wordpress.org/plugins/gdpr-cookie-consent/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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-cookie-consent%2Fgdpr-cookie-consent.php&plugin_status=all&paged=1&s&_wpnonce=3592db9e8c
Aspect after-activation
HTTP status 200
Load time 1.091 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

GDPR Cookie Consent

Page screenshot: GDPR Cookie Consent
URL /wp-admin/admin.php?page=gdpr-cookie-consent
Aspect menu-item
HTTP status 200
Load time 0.914 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

GDPR Cookie Consent → Cookie Settings

Page screenshot: GDPR Cookie Consent → Cookie Settings
URL /wp-admin/admin.php?page=gdpr-cookie-consent-settings
Aspect menu-item
HTTP status 200
Load time 1.827 s
Memory usage 4.15 MiB
JS errors None
Resource errors None

GDPR Cookie Consent → Policy Data

Page screenshot: GDPR Cookie Consent → Policy Data
URL /wp-admin/edit.php?post_type=gdprpolicies
Aspect menu-item
HTTP status 200
Load time 0.218 s
Memory usage 3.81 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.535 s
Memory usage 4.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.390 s+0.061 s3.72 MiB3.81 MiB+ 87.27 KiB
/wp-admin/edit.php0.180 s0.318 s+0.138 s3.75 MiB3.84 MiB+ 86.87 KiB
/wp-admin/post-new.php0.938 s1.756 s+0.818 s5.55 MiB5.64 MiB+ 94.43 KiB
/wp-admin/upload.php0.619 s0.522 s-0.097 s3.68 MiB3.77 MiB+ 86.45 KiB
/wp-admin/options-writing.php0.208 s0.189 s-0.019 s3.62 MiB3.74 MiB+ 130.36 KiB
/wp-admin/media-new.php0.372 s0.243 s-0.129 s3.66 MiB3.75 MiB+ 86.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.220 s+0.007 s3.69 MiB3.77 MiB+ 87.52 KiB
/wp-admin/post-new.php?post_type=page1.323 s0.957 s-0.366 s5.54 MiB5.63 MiB+ 86.02 KiB
/wp-admin/options-discussion.php0.228 s0.327 s+0.099 s3.6 MiB3.74 MiB+ 150.94 KiB
/wp-admin/edit-comments.php0.261 s0.269 s+0.008 s3.69 MiB3.78 MiB+ 86.48 KiB
/0.267 s0.276 s+0.009 s3.6 MiB3.86 MiB+ 259.75 KiB
Average 0.449 s0.497 s+0.048 s4.01 MiB4.12 MiB+ 112.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.

JavaScript
PHP
PO File
Language % Lines of code Comment lines Files
JavaScript48.3%18,7453,47716
PHP23.2%8,9871,51638
PO File17.2%6,6633,85010
CSS7.7%2,987324
Twig3.3%1,275011
XML0.3%11801
SVG0.0%702
Total 38,782 8,875 82

PHP Code Analysis | More results »

Lines of code 3,646
Total complexity 809
Median class complexity 35.0
Median method complexity 2.0
Most complex class Gdpr_Cookie_Consent_Admin
Most complex function Gdpr_Cookie_Consent_Admin::gdpr_cookie_consent_ajax_save_settings()
Classes 12
Methods 107
Functions 5

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 2

Options wp_options 5

Custom Post Types 1

ID Name
gdprpoliciesPolicy Data

Meta Boxes

{
    "gdprpolicies": {
        "_gdpr_policies_domain": {
            "title": "Domain",
            "context": "normal"
        },
        "_gdpr_policies_links": {
            "title": "Links",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Cookie Consent Admin Menus and Meta Boxes