Beautiful Cookie Consent Banner 2.12.2

Does "Beautiful and responsive cookie consent" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 630.45 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 40,000+
WordPress.org page https://wordpress.org/plugins/beautiful-and-responsive-cookie-consent/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

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=beautiful-and-responsive-cookie-consent%2Fnsc_bar-cookie-consent.php&plugin_status=all&paged=1&s&_wpnonce=9aa398ff93
Aspect after-activation
HTTP status 200
Load time 0.233 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner

Page screenshot: Settings → Cookie Consent Banner
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent
Aspect menu-item
HTTP status 200
Load time 0.539 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Appearance

Page screenshot: Settings → Cookie Consent Banner → Appearance
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=banner_colors
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=banner_colors&
Aspect menu-item-tab
HTTP status 200
Load time 0.238 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Text

Page screenshot: Settings → Cookie Consent Banner → Text
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=banner_text
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=banner_text&
Aspect menu-item-tab
HTTP status 200
Load time 0.187 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Compliance & Behaviour

Page screenshot: Settings → Cookie Consent Banner → Compliance & Behaviour
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=compliance_type
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=compliance_type&
Aspect menu-item-tab
HTTP status 200
Load time 0.195 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Consent Management

Page screenshot: Settings → Cookie Consent Banner → Consent Management
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=revoke_settings_tab
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=revoke_settings_tab&
Aspect menu-item-tab
HTTP status 200
Load time 0.183 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Block Services

Page screenshot: Settings → Cookie Consent Banner → Block Services
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=block_services
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=block_services&
Aspect menu-item-tab
HTTP status 200
Load time 0.170 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Cookie Settings

Page screenshot: Settings → Cookie Consent Banner → Cookie Settings
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=cookie_settings
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=cookie_settings&
Aspect menu-item-tab
HTTP status 200
Load time 0.180 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Im & Export

Page screenshot: Settings → Cookie Consent Banner → Im & Export
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=advanced_config
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=advanced_config&
Aspect menu-item-tab
HTTP status 200
Load time 0.181 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Statistics

Page screenshot: Settings → Cookie Consent Banner → Statistics
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=statistics
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=statistics&
Aspect menu-item-tab
HTTP status 200
Load time 0.210 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Google Tag Manager

Page screenshot: Settings → Cookie Consent Banner → Google Tag Manager
URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=gtm
Requested URL /wp-admin/options-general.php?page=nsc_bar-cookie-consent&tab=gtm&
Aspect menu-item-tab
HTTP status 200
Load time 0.222 s
Memory usage 3.72 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.224 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.369 s+0.099 s3.05 MiB3.68 MiB+ 653.32 KiB
/wp-admin/edit.php0.177 s0.180 s+0.003 s3.08 MiB3.71 MiB+ 654.37 KiB
/wp-admin/post-new.php0.746 s0.899 s+0.153 s4.97 MiB5.61 MiB+ 658 KiB
/wp-admin/upload.php0.504 s0.429 s-0.075 s2.99 MiB3.61 MiB+ 636.22 KiB
/wp-admin/options-writing.php0.130 s0.154 s+0.024 s2.99 MiB3.6 MiB+ 622.88 KiB
/wp-admin/media-new.php0.241 s0.225 s-0.016 s2.97 MiB3.6 MiB+ 648.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.150 s0.173 s+0.023 s2.98 MiB3.64 MiB+ 673.59 KiB
/wp-admin/post-new.php?post_type=page0.585 s0.628 s+0.043 s4.96 MiB5.6 MiB+ 653.59 KiB
/wp-admin/options-discussion.php0.190 s0.189 s-0.001 s2.98 MiB3.6 MiB+ 636.72 KiB
/wp-admin/edit-comments.php0.170 s0.192 s+0.022 s3 MiB3.62 MiB+ 636.22 KiB
/0.288 s0.201 s-0.087 s2.94 MiB3.4 MiB+ 461.61 KiB
Average 0.314 s0.331 s+0.017 s3.35 MiB3.97 MiB+ 630.45 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
JSON
JavaScript
Language % Lines of code Comment lines Files
PHP50.2%1,7865416
JSON26.2%93202
JavaScript19.3%687304
CSS2.7%9701
HTML1.5%5405
Total 3,556 84 28

PHP Code Analysis | More results »

Lines of code 1,580
Total complexity 393
Median class complexity 32.0
Median method complexity 2.0
Most complex class nsc_bar_cookie_handler
Most complex function nsc_bar_cookie_handler::nsc_bar_cookie_cleanup()
Classes 12
Methods 117
Functions 1

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 1 lines

[01-Mar-2023 09:19:15 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/beautiful-and-responsive-cookie-consent/class/class-nsc_bar_db_upgrader.php on line 27
See also: All tests for this plugin, How to Hide the "Cookie Consent Banner" Admin Menu