Beautiful Cookie Consent Banner 4.0.1

Does "Beautiful and responsive cookie consent" work with WordPress 6.5.2 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: 805.29 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.5.2
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 13

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=903e4bd462
Aspect after-activation
HTTP status 200
Load time 0.303 s
Memory usage 4.2 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.471 s
Memory usage 4.36 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.239 s
Memory usage 4.33 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.228 s
Memory usage 4.33 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.241 s
Memory usage 4.33 MiB
JS errors None
Resource errors None

Settings → Cookie Consent Banner → Google Consent Mode

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

Settings → Cookie Consent Banner → Cookie Settings Tab

Page screenshot: Settings → Cookie Consent Banner → Cookie Settings Tab
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.245 s
Memory usage 4.33 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.232 s
Memory usage 4.33 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.237 s
Memory usage 4.33 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.229 s
Memory usage 4.33 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.241 s
Memory usage 4.34 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.330 s
Memory usage 4.33 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.306 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.394 s0.450 s+0.056 s3.44 MiB4.26 MiB+ 841.3 KiB
/wp-admin/edit.php0.284 s0.219 s-0.065 s3.46 MiB4.28 MiB+ 841.3 KiB
/wp-admin/post-new.php0.943 s0.973 s+0.030 s5.59 MiB6.44 MiB+ 867.01 KiB
/wp-admin/upload.php0.612 s0.426 s-0.186 s3.38 MiB4.19 MiB+ 824.63 KiB
/wp-admin/options-writing.php0.216 s0.197 s-0.019 s3.37 MiB4.17 MiB+ 815.12 KiB
/wp-admin/media-new.php0.301 s0.259 s-0.042 s3.35 MiB4.17 MiB+ 836.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.354 s+0.141 s3.37 MiB4.21 MiB+ 860.52 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.683 s+0.104 s5.59 MiB6.43 MiB+ 862.59 KiB
/wp-admin/options-discussion.php0.254 s0.354 s+0.100 s3.36 MiB4.16 MiB+ 823.65 KiB
/wp-admin/edit-comments.php0.520 s0.252 s-0.268 s3.39 MiB4.2 MiB+ 823.88 KiB
/0.373 s0.222 s-0.151 s3.42 MiB3.87 MiB+ 462.14 KiB
Average 0.426 s0.399 s-0.027 s3.79 MiB4.58 MiB+ 805.29 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
PHP53.2%2,0635917
JSON30.3%1,17302
JavaScript10.1%392233
CSS5.0%19312
HTML1.4%5307
SVG0.0%101
Total 3,875 83 32

PHP Code Analysis | More results »

Lines of code 1,794
Total complexity 428
Median class complexity 35.5
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 125
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 2

PHP Error Log 1 lines

[10-Apr-2024 07:50:09 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