CookieLegit 1.0.0

Does CookieLegit work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 36.28 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.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/cookielegit/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=cookielegit%2Fcookie-legit.php&plugin_status=all&paged=1&s&_wpnonce=d8282ce822
Aspect after-activation
HTTP status 200
Load time 0.470 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Cookie Legit

Page screenshot: Cookie Legit
URL /wp-admin/admin.php?page=cookie-legit
Aspect menu-item
HTTP status 200
Load time 0.219 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Cookie Legit → Notice settings

Page screenshot: Cookie Legit → Notice settings
URL /wp-admin/admin.php?page=cookie-legit&s=notice
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Cookie Legit → Pixel settings

Page screenshot: Cookie Legit → Pixel settings
URL /wp-admin/admin.php?page=cookie-legit&s=pixel
Aspect menu-item
HTTP status 200
Load time 0.168 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Cookie Legit → Blocking

Page screenshot: Cookie Legit → Blocking
URL /wp-admin/admin.php?page=cookie-legit&s=blocking
Aspect menu-item
HTTP status 200
Load time 0.165 s
Memory usage 3.49 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.334 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.409 s0.400 s-0.009 s3.47 MiB3.5 MiB+ 30.17 KiB
/wp-admin/edit.php0.219 s0.190 s-0.029 s3.54 MiB3.57 MiB+ 30.54 KiB
/wp-admin/post-new.php0.829 s1.046 s+0.217 s5.75 MiB5.78 MiB+ 31.39 KiB
/wp-admin/upload.php0.594 s0.718 s+0.124 s3.49 MiB3.5 MiB+ 13.13 KiB
/wp-admin/options-writing.php0.226 s0.242 s+0.016 s3.41 MiB3.48 MiB+ 75.94 KiB
/wp-admin/media-new.php0.231 s0.257 s+0.026 s3.4 MiB3.48 MiB+ 89.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.192 s-0.015 s3.47 MiB3.51 MiB+ 35.99 KiB
/wp-admin/post-new.php?post_type=page1.102 s0.709 s-0.393 s5.75 MiB5.78 MiB+ 30.98 KiB
/wp-admin/options-discussion.php0.238 s0.268 s+0.030 s3.41 MiB3.48 MiB+ 77.63 KiB
/wp-admin/edit-comments.php0.253 s0.260 s+0.007 s3.49 MiB3.5 MiB+ 13.13 KiB
/0.359 s0.265 s-0.094 s3.45 MiB3.42 MiB- 29.13 KiB
Average 0.424 s0.413 s-0.011 s3.87 MiB3.91 MiB+ 36.28 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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP48.9%1,33228038
Sass27.1%737111
JavaScript11.9%32505
PO File6.7%182881
JSON2.6%7102
YAML2.4%6401
Markdown0.4%1101
SVG0.0%101
Total 2,723 369 60

PHP Code Analysis | More results »

Lines of code 778
Total complexity 108
Median class complexity 4.0
Median method complexity 1.0
Most complex class Cookie_Legit\Models\Cookie_Legit_Settings
Most complex function Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_scripts()
Classes 17
Methods 46
Functions 3

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 4

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide CookieLegit Admin Menus