GDPR Cookie Consent 2.2.3

Does GDPR Cookie Consent work with WordPress 6.1.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: 126.95 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 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=e4e9270d0c
Aspect after-activation
HTTP status 200
Load time 0.820 s
Memory usage 3.57 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.995 s
Memory usage 3.57 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.772 s
Memory usage 3.95 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.189 s
Memory usage 3.6 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.357 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.442 s0.276 s-0.166 s3.54 MiB3.63 MiB+ 90.53 KiB
/wp-admin/edit.php0.297 s0.195 s-0.102 s3.57 MiB3.66 MiB+ 90.13 KiB
/wp-admin/post-new.php0.716 s1.022 s+0.306 s5.46 MiB5.56 MiB+ 97.69 KiB
/wp-admin/upload.php0.618 s0.408 s-0.210 s3.41 MiB3.56 MiB+ 153.71 KiB
/wp-admin/options-writing.php0.226 s0.169 s-0.057 s3.4 MiB3.53 MiB+ 136.19 KiB
/wp-admin/media-new.php0.241 s0.207 s-0.034 s3.39 MiB3.54 MiB+ 153.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.185 s+0.006 s3.48 MiB3.57 MiB+ 90.79 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.614 s+0.021 s5.46 MiB5.54 MiB+ 89.24 KiB
/wp-admin/options-discussion.php0.453 s0.216 s-0.237 s3.38 MiB3.47 MiB+ 90.2 KiB
/wp-admin/edit-comments.php0.199 s0.204 s+0.005 s3.48 MiB3.57 MiB+ 89.74 KiB
/0.242 s0.259 s+0.017 s3.41 MiB3.72 MiB+ 314.34 KiB
Average 0.382 s0.341 s-0.041 s3.82 MiB3.94 MiB+ 126.95 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,7593,48116
PHP23.3%9,0341,53938
PO File17.2%6,6633,85010
CSS7.7%2,987324
Twig3.3%1,275011
XML0.3%12101
SVG0.0%702
Total 38,846 8,902 82

PHP Code Analysis | More results »

Lines of code 3,701
Total complexity 837
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 111
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

User Metadata wp_usermeta 1

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