Simple GDPR Cookie Compliance 1.1.2

Does Simple GDPR Cookie Compliance work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 44.2 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 version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/simple-gdpr-cookie-compliance/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=simple-gdpr-cookie-compliance%2Fsimple-gdpr-cookie-compliance.php&plugin_status=all&paged=1&s&_wpnonce=84d8a0e3f6
Aspect after-activation
HTTP status 200
Load time 0.242 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Simple GDPR

Page screenshot: Simple GDPR
URL /wp-admin/admin.php?page=simple-gdpr-cookie-compliance
Aspect menu-item
HTTP status 200
Load time 0.596 s
Memory usage 3.04 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.245 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.239 s-0.041 s3.05 MiB3.1 MiB+ 55.32 KiB
/wp-admin/edit.php0.183 s0.192 s+0.009 s3.07 MiB3.13 MiB+ 53.51 KiB
/wp-admin/post-new.php0.761 s0.950 s+0.189 s4.97 MiB5.02 MiB+ 56.71 KiB
/wp-admin/upload.php0.647 s0.302 s-0.345 s2.99 MiB3.03 MiB+ 36.1 KiB
/wp-admin/options-writing.php0.172 s0.141 s-0.031 s2.99 MiB3.01 MiB+ 22.69 KiB
/wp-admin/media-new.php0.276 s0.161 s-0.115 s2.97 MiB3.01 MiB+ 48.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.171 s-0.016 s2.98 MiB3.03 MiB+ 53.59 KiB
/wp-admin/post-new.php?post_type=page0.615 s1.076 s+0.461 s4.96 MiB5.01 MiB+ 52.42 KiB
/wp-admin/options-discussion.php0.215 s0.221 s+0.006 s2.98 MiB3.01 MiB+ 36.66 KiB
/wp-admin/edit-comments.php0.200 s0.196 s-0.004 s3 MiB3.04 MiB+ 36.13 KiB
/0.280 s0.211 s-0.069 s2.94 MiB2.98 MiB+ 34.77 KiB
Average 0.347 s0.351 s+0.004 s3.35 MiB3.4 MiB+ 44.2 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.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP67.0%1,57978015
JavaScript20.3%4782263
CSS11.2%264123
SVG1.4%3401
Total 2,355 1,018 22

PHP Code Analysis | More results »

Lines of code 1,504
Total complexity 279
Median class complexity 12.0
Median method complexity 2.0
Most complex class Simple_GDPR_Cookie_Compliance_Admin_Settings
Most complex function Simple_GDPR_Cookie_Compliance_Public::get_dynamic_css()
Classes 9
Methods 53
Functions 4

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.

Options wp_options 1

PHP Error Log 2 lines

[03-Mar-2023 06:30:17 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/simple-gdpr-cookie-compliance/public/class-simple-gdpr-cookie-compliance-public.php on line 99
[03-Mar-2023 06:30:25 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/simple-gdpr-cookie-compliance/public/class-simple-gdpr-cookie-compliance-public.php on line 99
See also: All tests for this plugin, How to Hide the "Simple GDPR" Admin Menu