GDPR Cookie Consent 2.0.2

Does GDPR Cookie Consent work with WordPress 5.7.2 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: 213.42 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 version5.7.2
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 9

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=4519d99621
Aspect after-activation
HTTP status 200
Load time 1.108 s
Memory usage 2.97 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.524 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

GDPR Cookie Consent → Design

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

GDPR Cookie Consent → Buttons

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

GDPR Cookie Consent → Cookie List

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

GDPR Cookie Consent → Script Blocker

Page screenshot: GDPR Cookie Consent → Script Blocker
URL /wp-admin/admin.php?page=gdpr-cookie-consent
Aspect menu-item-tab
HTTP status 200
Load time 0.485 s
Memory usage 2.88 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.179 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

GDPR Cookie Consent → Getting Started

Page screenshot: GDPR Cookie Consent → Getting Started
URL /wp-admin/admin.php?page=gdpr-getting-started
Aspect menu-item
HTTP status 200
Load time 0.137 s
Memory usage 2.87 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.429 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.248 s0.348 s+0.100 s2.82 MiB2.93 MiB+ 109.62 KiB
/wp-admin/edit.php0.172 s0.177 s+0.005 s2.86 MiB2.96 MiB+ 97.45 KiB
/wp-admin/post-new.php0.880 s0.977 s+0.097 s5.02 MiB5.2 MiB+ 175.11 KiB
/wp-admin/upload.php0.475 s0.526 s+0.051 s2.7 MiB2.8 MiB+ 109.66 KiB
/wp-admin/options-writing.php0.234 s0.157 s-0.077 s2.71 MiB2.85 MiB+ 140.81 KiB
/wp-admin/media-new.php0.229 s0.177 s-0.052 s2.67 MiB2.78 MiB+ 109.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.193 s-0.010 s2.77 MiB2.88 MiB+ 109.91 KiB
/wp-admin/post-new.php?post_type=page0.961 s0.617 s-0.344 s5.01 MiB5.18 MiB+ 170.7 KiB
/wp-admin/options-discussion.php0.257 s0.276 s+0.019 s2.68 MiB2.78 MiB+ 109.32 KiB
/wp-admin/edit-comments.php0.200 s0.208 s+0.008 s2.78 MiB2.88 MiB+ 108.86 KiB
/0.342 s0.264 s-0.078 s2.65 MiB3.73 MiB+ 1.08 MiB
Average 0.382 s0.356 s-0.026 s3.15 MiB3.36 MiB+ 213.42 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
PO File
PHP
Language % Lines of code Comment lines Files
JavaScript50.8%16,1253,09212
PO File21.0%6,6633,85010
PHP17.6%5,5782,26936
CSS7.1%2,238175
Twig3.1%999010
XML0.4%11801
SVG0.0%702
Total 31,728 9,228 76

PHP Code Analysis | More results »

Lines of code 3,819
Total complexity 759
Median class complexity 38.0
Median method complexity 2.0
Most complex class Gdpr_Cookie_Consent
Most complex function Gdpr_Cookie_Consent::gdpr_sanitise_settings()
Classes 15
Methods 158
Functions 32

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 6

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