CookieHub 0.2.1

Does CookieHub work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 26.83 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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=a158dbca82
Aspect after-activation
HTTP status 200
Load time 0.271 s
Memory usage 2.71 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.570 s
Memory usage 2.68 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.162 s
Memory usage 2.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.265 s0.252 s-0.013 s2.79 MiB2.82 MiB+ 32.48 KiB
/wp-admin/edit.php0.187 s0.194 s+0.007 s2.84 MiB2.87 MiB+ 32.48 KiB
/wp-admin/post-new.php0.839 s0.743 s-0.096 s4.93 MiB4.97 MiB+ 35.67 KiB
/wp-admin/upload.php0.475 s0.438 s-0.037 s2.67 MiB2.7 MiB+ 31.34 KiB
/wp-admin/options-writing.php0.278 s0.145 s-0.133 s2.68 MiB2.68 MiB- 760 bytes
/wp-admin/media-new.php0.210 s0.169 s-0.041 s2.65 MiB2.68 MiB+ 31.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.195 s-0.002 s2.68 MiB2.71 MiB+ 32.42 KiB
/wp-admin/post-new.php?post_type=page0.804 s0.583 s-0.221 s4.92 MiB4.95 MiB+ 31.26 KiB
/wp-admin/options-discussion.php0.304 s0.313 s+0.009 s2.65 MiB2.68 MiB+ 32.08 KiB
/wp-admin/edit-comments.php0.224 s0.223 s-0.001 s2.75 MiB2.78 MiB+ 31.33 KiB
/0.282 s0.219 s-0.063 s2.61 MiB2.62 MiB+ 5.34 KiB
Average 0.370 s0.316 s-0.054 s3.11 MiB3.13 MiB+ 26.83 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
PHP87.7%456435
CSS10.0%5201
JavaScript2.3%1201
Total 520 43 7

PHP Code Analysis | More results »

Lines of code 452
Total complexity 72
Median class complexity 43.0
Median method complexity 2.0
Most complex class DCCHUBSettingsPage
Most complex function dcchub_generate_code()
Classes 1
Methods 19
Functions 6

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

[11-Feb-2021 09:48:41 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 316
[11-Feb-2021 09:48:41 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/cookiehub/includes/ch-admin.php on line 323
See also: All tests for this plugin, How to Hide the "CookieHub" Admin Menu