Real Cookie Banner (Free) 3.4.6

Does Real Cookie Banner (Free) work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.11 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.038 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/real-cookie-banner/
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=real-cookie-banner%2Findex.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=real-cookie-banner%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=994d19e4bd
Aspect after-activation
HTTP status 200
Load time 1.313 s
Memory usage 6.11 MiB
JS errors None
Resource errors None

Cookies 

Page screenshot: Cookies 
URL /wp-admin/admin.php?page=real-cookie-banner-component
Aspect menu-item
HTTP status 200
Load time 1.969 s
Memory usage 5.27 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.218 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.255 s0.314 s+0.059 s3.05 MiB4.09 MiB+ 1.05 MiB
/wp-admin/edit.php0.171 s0.241 s+0.070 s3.07 MiB4.14 MiB+ 1.06 MiB
/wp-admin/post-new.php0.720 s0.666 s-0.054 s4.97 MiB6.36 MiB+ 1.4 MiB
/wp-admin/upload.php0.811 s0.593 s-0.218 s2.99 MiB4.04 MiB+ 1.05 MiB
/wp-admin/options-writing.php0.150 s0.221 s+0.071 s2.99 MiB4.03 MiB+ 1.04 MiB
/wp-admin/media-new.php0.251 s0.278 s+0.027 s2.97 MiB4.03 MiB+ 1.06 MiB
/wp-admin/edit-tags.php?taxonomy=category0.165 s0.227 s+0.062 s2.98 MiB4.05 MiB+ 1.07 MiB
/wp-admin/post-new.php?post_type=page0.578 s0.699 s+0.121 s4.96 MiB6.35 MiB+ 1.39 MiB
/wp-admin/options-discussion.php0.181 s0.260 s+0.079 s2.98 MiB4.03 MiB+ 1.05 MiB
/wp-admin/edit-comments.php0.193 s0.383 s+0.190 s3 MiB4.05 MiB+ 1.05 MiB
/0.244 s0.251 s+0.007 s2.94 MiB3.94 MiB+ 1021.33 KiB
Average 0.338 s0.376 s+0.038 s3.35 MiB4.46 MiB+ 1.11 MiB

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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File48.8%34,01510,42234
PHP44.5%30,9999,871439
Markdown6.4%4,46803
JSON0.2%1500150
XML0.0%1941
SVG0.0%14014
JavaScript0.0%502
CSS0.0%161
Total 69,671 20,303 644

PHP Code Analysis | More results »

Lines of code 30,949
Total complexity 3,163
Median class complexity 4.0
Median method complexity 1.0
Most complex class DevOwl\RealCookieBanner\Utils
Most complex function DevOwl\RealCookieBanner\presets\BannerPresets::get()
Classes 401
Methods 1,571
Functions 10

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 16

Options wp_options 235

Custom Post Types 2

ID Name
rcb-cookieCookies
rcb-blockerContent Blockers

Capabilities 26

PHP Error Log 12 lines

[02-Dec-2022 12:33:26 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "DevOwl\RealCookieBanner\view\checklist\RCB_PRO_VERSION" in /wp-content/plugins/real-cookie-banner/inc/view/checklist/GetPro.php:36
Stack trace:
#0 /wp-content/plugins/real-cookie-banner/inc/view/Checklist.php(88): DevOwl\RealCookieBanner\view\checklist\GetPro->getLink()
#1 /wp-content/plugins/real-cookie-banner/inc/view/Checklist.php(163): DevOwl\RealCookieBanner\view\Checklist->result()
#2 /wp-content/plugins/real-cookie-banner/inc/scanner/ScannerNotices.php(65): DevOwl\RealCookieBanner\view\Checklist->isChecked()
#3 /wp-includes/class-wp-hook.php(308): DevOwl\RealCookieBanner\scanner\ScannerNotices->togglePluginStateNotice()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-admin/includes/plugin.php(718): do_action()
#7 /wp-admin/plugins.php(58): activate_plugin()
#8 {main}
  thrown in /wp-content/plugins/real-cookie-banner/inc/view/checklist/GetPro.php on line 36
See also: All tests for this plugin