CookieHub 0.3.1

Does CookieHub work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 28.26 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.2.2
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=e840f0655b
Aspect after-activation
HTTP status 200
Load time 0.226 s
Memory usage 3.05 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.466 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.236 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.731 s0.220 s-0.511 s3.07 MiB3.11 MiB+ 39.63 KiB
/wp-admin/edit.php0.172 s0.168 s-0.004 s3.1 MiB3.14 MiB+ 39.63 KiB
/wp-admin/post-new.php0.723 s0.543 s-0.180 s5.02 MiB5.06 MiB+ 37.7 KiB
/wp-admin/upload.php0.596 s0.524 s-0.072 s3.02 MiB3.04 MiB+ 22.59 KiB
/wp-admin/options-writing.php0.185 s0.156 s-0.029 s3.01 MiB3.02 MiB+ 10.8 KiB
/wp-admin/media-new.php0.309 s0.230 s-0.079 s2.99 MiB3.03 MiB+ 35.04 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.179 s-0.004 s3.01 MiB3.04 MiB+ 39.59 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.594 s+0.007 s5.01 MiB5.05 MiB+ 33.29 KiB
/wp-admin/options-discussion.php0.206 s0.222 s+0.016 s3 MiB3.02 MiB+ 24.84 KiB
/wp-admin/edit-comments.php0.200 s0.204 s+0.004 s3.03 MiB3.05 MiB+ 22.22 KiB
/0.282 s0.203 s-0.079 s2.97 MiB2.98 MiB+ 5.53 KiB
Average 0.379 s0.295 s-0.085 s3.38 MiB3.41 MiB+ 28.26 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
Language % Lines of code Comment lines Files
PHP89.2%536435
CSS8.8%5301
JavaScript2.0%1201
Total 601 43 7

PHP Code Analysis | More results »

Lines of code 532
Total complexity 94
Median class complexity 47.0
Median method complexity 2.0
Most complex class DCCHUBSettingsPage
Most complex function DCCHUBSettingsPage::dcchub_sanitize()
Classes 1
Methods 21
Functions 8

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

[23-May-2023 08:54:49 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 347
[23-May-2023 08:54:49 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 354
[23-May-2023 08:54:49 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 340
[23-May-2023 08:54:49 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 361
See also: All tests for this plugin, How to Hide the "CookieHub" Admin Menu