GDPR Cookie Consent 2.1.5

Does GDPR Cookie Consent work with WordPress 5.9.3 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: 109.17 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.3
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=fdfdd60bad
Aspect after-activation
HTTP status 200
Load time 1.345 s
Memory usage 3.34 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 1.518 s
Memory usage 3.42 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 2.945 s
Memory usage 3.73 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.341 s
Memory usage 3.45 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.666 s
Memory usage 4.04 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.535 s0.483 s-0.052 s3.37 MiB3.45 MiB+ 86.41 KiB
/wp-admin/edit.php0.298 s0.420 s+0.122 s3.4 MiB3.49 MiB+ 86.43 KiB
/wp-admin/post-new.php1.316 s2.008 s+0.692 s5.68 MiB5.77 MiB+ 90.37 KiB
/wp-admin/upload.php0.512 s0.594 s+0.082 s3.25 MiB3.34 MiB+ 93.27 KiB
/wp-admin/options-writing.php0.387 s0.226 s-0.161 s3.24 MiB3.32 MiB+ 77.13 KiB
/wp-admin/media-new.php0.339 s0.299 s-0.040 s3.23 MiB3.32 MiB+ 93.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.274 s0.300 s+0.026 s3.27 MiB3.41 MiB+ 150.35 KiB
/wp-admin/post-new.php?post_type=page1.584 s1.118 s-0.466 s5.68 MiB5.76 MiB+ 85.95 KiB
/wp-admin/options-discussion.php0.334 s0.561 s+0.227 s3.22 MiB3.31 MiB+ 93.77 KiB
/wp-admin/edit-comments.php0.358 s0.333 s-0.025 s3.27 MiB3.42 MiB+ 149.3 KiB
/0.658 s0.429 s-0.229 s3.4 MiB3.59 MiB+ 194.48 KiB
Average 0.600 s0.616 s+0.016 s3.73 MiB3.83 MiB+ 109.17 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,6663,47616
PHP23.1%8,9471,51638
PO File17.2%6,6633,85010
CSS7.7%2,973324
Twig3.3%1,275011
XML0.3%11801
SVG0.0%702
Total 38,649 8,874 82

PHP Code Analysis | More results »

Lines of code 3,630
Total complexity 802
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 107
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

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