CookieHub 1.0.0

Does CookieHub work with WordPress 6.4.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: 5.96 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.4.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/cookiehub/
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=cookiehub%2Fcookiehub.php&plugin_status=all&paged=1&s&_wpnonce=6d001a569d
Aspect after-activation
HTTP status 200
Load time 0.329 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Settings → CookieHub

Page screenshot: Settings → CookieHub
URL /wp-admin/options-general.php?page=my-setting-admin
Aspect menu-item
HTTP status 200
Load time 0.226 s
Memory usage N/A
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.222 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.411 s0.343 s-0.068 s3.38 MiB3.4 MiB+ 17.73 KiB
/wp-admin/edit.php0.231 s0.211 s-0.020 s3.41 MiB3.42 MiB+ 17.64 KiB
/wp-admin/post-new.php1.030 s0.645 s-0.385 s5.46 MiB5.48 MiB+ 22.75 KiB
/wp-admin/upload.php0.574 s0.411 s-0.163 s3.32 MiB3.32 MiB+ 736 bytes
/wp-admin/options-writing.php0.225 s0.215 s-0.010 s3.32 MiB3.31 MiB- 8.2 KiB
/wp-admin/media-new.php0.326 s0.417 s+0.091 s3.29 MiB3.31 MiB+ 13.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.221 s+0.019 s3.31 MiB3.33 MiB+ 17.71 KiB
/wp-admin/post-new.php?post_type=page0.607 s0.624 s+0.017 s5.45 MiB5.47 MiB+ 22.34 KiB
/wp-admin/options-discussion.php0.252 s0.274 s+0.022 s3.3 MiB3.3 MiB+ 1.92 KiB
/wp-admin/edit-comments.php0.292 s0.248 s-0.044 s3.33 MiB3.33 MiB- 456 bytes
/0.298 s0.218 s-0.080 s3.36 MiB3.32 MiB- 39.63 KiB
Average 0.404 s0.348 s-0.056 s3.72 MiB3.73 MiB+ 5.96 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP54.0%6883510
CSS30.3%38671
JavaScript15.6%199131
Total 1,273 55 12

PHP Code Analysis | More results »

Lines of code 688
Total complexity 156
Median class complexity 1.0
Median method complexity 1.0
Most complex class DCCHUBSettings
Most complex function DCCHUBSettings::dcchub_advanced_settings()
Classes 5
Methods 11
Functions 16

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.

No new entries found.

PHP Error Log 9 lines

[21-Nov-2023 09:34:15 UTC] PHP Fatal error:  Uncaught Error: Non-static method DCCHUBToolbar::toolbar() cannot be called statically in /wp-content/plugins/cookiehub/includes/ch-admin.php:38
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): DCCHUBAdmin->dcchub_display_pages()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 /wp-admin/options-general.php(10): require_once('...')
#5 {main}
  thrown in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 38
See also: All tests for this plugin, How to Hide the "CookieHub" Admin Menu