GDPR Cookie Consent 2.0.7

Does GDPR Cookie Consent work with WordPress 5.9.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: 209.01 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.9.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=6657d7dd8c
Aspect after-activation
HTTP status 200
Load time 1.323 s
Memory usage 3.51 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.583 s
Memory usage 3.67 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.256 s
Memory usage 3.37 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.248 s
Memory usage 3.37 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.375 s
Memory usage 3.37 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.209 s
Memory usage 3.37 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.192 s
Memory usage 3.45 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.139 s
Memory usage 3.41 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.437 s
Memory usage 4.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.374 s+0.037 s3.37 MiB3.46 MiB+ 95.05 KiB
/wp-admin/edit.php0.177 s0.181 s+0.004 s3.4 MiB3.49 MiB+ 95.38 KiB
/wp-admin/post-new.php0.813 s1.068 s+0.255 s6.15 MiB6.25 MiB+ 100.7 KiB
/wp-admin/upload.php0.349 s0.501 s+0.152 s3.25 MiB3.41 MiB+ 167.06 KiB
/wp-admin/options-writing.php0.243 s0.143 s-0.100 s3.24 MiB3.33 MiB+ 86.09 KiB
/wp-admin/media-new.php0.243 s0.219 s-0.024 s3.23 MiB3.39 MiB+ 167.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.187 s+0.004 s3.27 MiB3.42 MiB+ 159.3 KiB
/wp-admin/post-new.php?post_type=page0.989 s0.783 s-0.206 s6.15 MiB6.24 MiB+ 95.43 KiB
/wp-admin/options-discussion.php0.309 s0.240 s-0.069 s3.22 MiB3.32 MiB+ 102.72 KiB
/wp-admin/edit-comments.php0.213 s0.200 s-0.013 s3.27 MiB3.42 MiB+ 158.26 KiB
/0.341 s0.264 s-0.077 s3.4 MiB4.44 MiB+ 1.05 MiB
Average 0.382 s0.378 s-0.003 s3.81 MiB4.02 MiB+ 209.01 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.9%16,2273,09112
PO File20.9%6,6633,85010
PHP17.7%5,6362,27336
CSS7.0%2,248175
Twig3.1%999010
XML0.4%11801
SVG0.0%702
Total 31,898 9,231 76

PHP Code Analysis | More results »

Lines of code 3,871
Total complexity 764
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