CookieLegit 1.0.2

Does CookieLegit work with WordPress 6.7.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: 18.81 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.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=2c9abc5c11
Aspect after-activation
HTTP status 200
Load time 0.253 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.223 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.194 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.167 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.171 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.217 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.293 s0.319 s+0.026 s3.48 MiB3.51 MiB+ 30.27 KiB
/wp-admin/edit.php0.206 s0.181 s-0.025 s3.54 MiB3.57 MiB+ 30.63 KiB
/wp-admin/post-new.php0.842 s0.645 s-0.197 s5.92 MiB5.96 MiB+ 35.54 KiB
/wp-admin/upload.php0.787 s0.506 s-0.281 s3.49 MiB3.51 MiB+ 13.23 KiB
/wp-admin/options-writing.php0.237 s0.212 s-0.025 s3.47 MiB3.49 MiB+ 17.22 KiB
/wp-admin/media-new.php0.300 s0.241 s-0.059 s3.46 MiB3.49 MiB+ 25.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.193 s-0.014 s3.48 MiB3.51 MiB+ 36.08 KiB
/wp-admin/post-new.php?post_type=page0.692 s0.606 s-0.086 s5.92 MiB5.95 MiB+ 31.07 KiB
/wp-admin/options-discussion.php0.270 s0.249 s-0.021 s3.47 MiB3.49 MiB+ 13.72 KiB
/wp-admin/edit-comments.php0.246 s0.202 s-0.044 s3.49 MiB3.51 MiB+ 13.22 KiB
/0.501 s0.275 s-0.226 s3.47 MiB3.43 MiB- 39.48 KiB
Average 0.416 s0.330 s-0.087 s3.93 MiB3.95 MiB+ 18.81 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.0%1,30125435
Sass27.7%737111
JavaScript12.7%33815
PO File6.9%182881
JSON2.7%7102
Markdown1.0%2601
SVG0.0%101
Total 2,656 344 56

PHP Code Analysis | More results »

Lines of code 747
Total complexity 105
Median class complexity 4.0
Median method complexity 1.5
Most complex class Cookie_Legit\Models\Cookie_Legit_Settings
Most complex function Cookie_Legit\Public\Cookie_Legit_Blocker::maybe_block_scripts()
Classes 15
Methods 44
Functions 2

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