GDPR Cookie Consent 2.0.4

Does GDPR Cookie Consent work with WordPress 5.8.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: 186.69 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.8.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 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=92daecf0fc
Aspect after-activation
HTTP status 200
Load time 1.460 s
Memory usage 3.21 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.476 s
Memory usage 3.44 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.223 s
Memory usage 3.14 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.457 s
Memory usage 3.14 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.333 s
Memory usage 3.14 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.451 s
Memory usage 3.14 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.174 s
Memory usage 3.16 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.123 s
Memory usage 3.17 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.406 s
Memory usage 4.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.365 s+0.084 s3.08 MiB3.2 MiB+ 123.34 KiB
/wp-admin/edit.php0.165 s0.175 s+0.010 s3.11 MiB3.27 MiB+ 161.09 KiB
/wp-admin/post-new.php0.678 s0.994 s+0.316 s5.27 MiB5.37 MiB+ 103.84 KiB
/wp-admin/upload.php0.743 s0.309 s-0.434 s3.03 MiB3.12 MiB+ 88.06 KiB
/wp-admin/options-writing.php0.132 s0.247 s+0.115 s3.02 MiB3.09 MiB+ 71.21 KiB
/wp-admin/media-new.php0.215 s0.216 s+0.001 s3.01 MiB3.09 MiB+ 88.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.150 s0.167 s+0.017 s3.04 MiB3.12 MiB+ 88.3 KiB
/wp-admin/post-new.php?post_type=page0.684 s0.609 s-0.075 s5.26 MiB5.35 MiB+ 99.43 KiB
/wp-admin/options-discussion.php0.290 s0.275 s-0.015 s3 MiB3.09 MiB+ 87.72 KiB
/wp-admin/edit-comments.php0.203 s0.195 s-0.008 s3.04 MiB3.13 MiB+ 87.26 KiB
/0.270 s0.254 s-0.016 s2.96 MiB3.99 MiB+ 1.03 MiB
Average 0.346 s0.346 s-0.000 s3.44 MiB3.62 MiB+ 186.69 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
JavaScript51.0%16,2243,09112
PO File20.9%6,6633,85010
PHP17.5%5,5782,26936
CSS7.0%2,238175
Twig3.1%999010
XML0.4%11801
SVG0.0%702
Total 31,827 9,227 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