CookieLegit 1.1.0

Does CookieLegit work with WordPress 6.7.2 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: 21.55 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.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30+
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=4056fc97da
Aspect after-activation
HTTP status 200
Load time 0.242 s
Memory usage 3.52 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.208 s
Memory usage 3.54 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.181 s
Memory usage 3.49 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.160 s
Memory usage 3.49 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.177 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.264 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.455 s0.401 s-0.054 s3.48 MiB3.51 MiB+ 30.3 KiB
/wp-admin/edit.php0.211 s0.217 s+0.006 s3.54 MiB3.57 MiB+ 30.66 KiB
/wp-admin/post-new.php0.825 s1.304 s+0.479 s5.93 MiB5.96 MiB+ 35.57 KiB
/wp-admin/upload.php0.778 s0.455 s-0.323 s3.5 MiB3.51 MiB+ 13.26 KiB
/wp-admin/options-writing.php0.219 s0.209 s-0.010 s3.47 MiB3.49 MiB+ 17.25 KiB
/wp-admin/media-new.php0.256 s0.246 s-0.010 s3.46 MiB3.49 MiB+ 25.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.191 s-0.004 s3.48 MiB3.51 MiB+ 36.11 KiB
/wp-admin/post-new.php?post_type=page1.120 s0.695 s-0.425 s5.92 MiB5.95 MiB+ 31.1 KiB
/wp-admin/options-discussion.php0.489 s0.440 s-0.049 s3.48 MiB3.49 MiB+ 13.75 KiB
/wp-admin/edit-comments.php0.258 s0.202 s-0.056 s3.5 MiB3.51 MiB+ 13.25 KiB
/0.310 s0.266 s-0.044 s3.44 MiB3.43 MiB- 9.63 KiB
Average 0.465 s0.421 s-0.045 s3.93 MiB3.95 MiB+ 21.55 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
PHP49.2%1,36128235
Sass26.6%737111
JavaScript13.8%38205
PO File6.6%182881
JSON2.7%7602
Markdown1.1%3001
SVG0.0%101
Total 2,769 371 56

PHP Code Analysis | More results »

Lines of code 793
Total complexity 115
Median class complexity 4.0
Median method complexity 2.0
Most complex class Cookie_Legit\Models\Cookie_Legit_Settings
Most complex function Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_scripts()
Classes 15
Methods 47
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