GDPR Cookie Consent 2.0.6

Does GDPR Cookie Consent work with WordPress 5.9 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.62 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
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=3a980b017d
Aspect after-activation
HTTP status 200
Load time 1.147 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.552 s
Memory usage 3.66 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.499 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.223 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.366 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.458 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.201 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.147 s
Memory usage 3.4 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.453 s
Memory usage 4.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.372 s0.391 s+0.019 s3.36 MiB3.46 MiB+ 95.05 KiB
/wp-admin/edit.php0.211 s0.181 s-0.030 s3.39 MiB3.49 MiB+ 95.38 KiB
/wp-admin/post-new.php1.095 s1.198 s+0.103 s6.14 MiB6.24 MiB+ 99.84 KiB
/wp-admin/upload.php0.347 s0.346 s-0.001 s3.24 MiB3.41 MiB+ 167.06 KiB
/wp-admin/options-writing.php0.282 s0.260 s-0.022 s3.24 MiB3.32 MiB+ 86.09 KiB
/wp-admin/media-new.php0.263 s0.295 s+0.032 s3.22 MiB3.38 MiB+ 167.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.185 s-0.001 s3.25 MiB3.41 MiB+ 167.3 KiB
/wp-admin/post-new.php?post_type=page1.364 s0.698 s-0.666 s6.14 MiB6.23 MiB+ 95.43 KiB
/wp-admin/options-discussion.php0.229 s0.246 s+0.017 s3.22 MiB3.32 MiB+ 102.72 KiB
/wp-admin/edit-comments.php0.213 s0.211 s-0.002 s3.26 MiB3.42 MiB+ 158.26 KiB
/0.271 s0.296 s+0.025 s3.4 MiB4.44 MiB+ 1.05 MiB
Average 0.439 s0.392 s-0.048 s3.81 MiB4.01 MiB+ 209.62 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,2263,09112
PO File20.9%6,6633,85010
PHP17.7%5,6292,27336
CSS7.0%2,248175
Twig3.1%999010
XML0.4%11801
SVG0.0%702
Total 31,890 9,231 76

PHP Code Analysis | More results »

Lines of code 3,864
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