CookieFox 2.0.1

Does CookieFox work with WordPress 5.9.3 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: 167.27 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.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/cookiefox/
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=cookiefox%2Fcookiefox.php&plugin_status=all&paged=1&s&_wpnonce=451774f89d
Aspect after-activation
HTTP status 200
Load time 0.319 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Settings → Cookie Notice

Page screenshot: Settings → Cookie Notice
URL /wp-admin/options-general.php?page=cookiefox
Aspect menu-item
HTTP status 200
Load time 0.548 s
Memory usage 3.81 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.367 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.321 s-0.024 s3.37 MiB3.55 MiB+ 189.22 KiB
/wp-admin/edit.php0.186 s0.203 s+0.017 s3.4 MiB3.59 MiB+ 192.12 KiB
/wp-admin/post-new.php0.926 s1.073 s+0.147 s5.68 MiB5.86 MiB+ 183.98 KiB
/wp-admin/upload.php0.387 s0.328 s-0.059 s3.25 MiB3.44 MiB+ 193.53 KiB
/wp-admin/options-writing.php0.294 s0.182 s-0.112 s3.24 MiB3.42 MiB+ 178.63 KiB
/wp-admin/media-new.php0.295 s0.231 s-0.064 s3.23 MiB3.42 MiB+ 194.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.229 s+0.020 s3.27 MiB3.45 MiB+ 194.3 KiB
/wp-admin/post-new.php?post_type=page0.691 s0.889 s+0.198 s5.68 MiB5.79 MiB+ 115.56 KiB
/wp-admin/options-discussion.php0.253 s0.360 s+0.107 s3.22 MiB3.41 MiB+ 195.27 KiB
/wp-admin/edit-comments.php0.216 s0.243 s+0.027 s3.27 MiB3.45 MiB+ 188.07 KiB
/0.315 s0.263 s-0.052 s3.4 MiB3.41 MiB+ 14.37 KiB
Average 0.374 s0.393 s+0.019 s3.73 MiB3.89 MiB+ 167.27 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
PO File
Language % Lines of code Comment lines Files
PHP76.0%1,52511015
PO File22.9%4601901
XML0.9%1801
JavaScript0.1%202
CSS0.0%101
Total 2,006 300 20

PHP Code Analysis | More results »

Lines of code 1,536
Total complexity 194
Median class complexity 10.0
Median method complexity 1.0
Most complex class CookieFox\Post_Type
Most complex function CookieFox\Settings::metabox()
Classes 14
Methods 80
Functions 0

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

[12-Apr-2022 17:46:23 UTC] PHP Notice:  Undefined variable: lang in /wp-content/plugins/cookiefox/includes/class-helper.php on line 85
[12-Apr-2022 17:46:31 UTC] PHP Notice:  Undefined variable: lang in /wp-content/plugins/cookiefox/includes/class-helper.php on line 85
See also: All tests for this plugin, How to Hide the "Cookie Notice" Admin Menu