CookieLegit 1.0.2

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: 18.1 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=6e55163c07
Aspect after-activation
HTTP status 200
Load time 0.271 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.179 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.168 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.174 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.229 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.350 s0.283 s-0.067 s3.48 MiB3.51 MiB+ 30.39 KiB
/wp-admin/edit.php0.207 s0.188 s-0.019 s3.54 MiB3.57 MiB+ 30.76 KiB
/wp-admin/post-new.php0.805 s0.755 s-0.050 s5.93 MiB5.96 MiB+ 35.66 KiB
/wp-admin/upload.php0.599 s0.516 s-0.083 s3.5 MiB3.51 MiB+ 13.35 KiB
/wp-admin/options-writing.php0.227 s0.209 s-0.018 s3.47 MiB3.49 MiB+ 17.34 KiB
/wp-admin/media-new.php0.343 s0.254 s-0.089 s3.46 MiB3.49 MiB+ 25.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.194 s-0.008 s3.48 MiB3.51 MiB+ 36.21 KiB
/wp-admin/post-new.php?post_type=page0.568 s0.610 s+0.042 s5.92 MiB5.95 MiB+ 31.2 KiB
/wp-admin/options-discussion.php0.463 s0.268 s-0.195 s3.48 MiB3.49 MiB+ 13.84 KiB
/wp-admin/edit-comments.php0.241 s0.442 s+0.201 s3.5 MiB3.51 MiB+ 13.34 KiB
/0.309 s0.224 s-0.085 s3.48 MiB3.43 MiB- 48.51 KiB
Average 0.392 s0.358 s-0.034 s3.93 MiB3.95 MiB+ 18.1 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