Does "Cookie Notice & Compliance for GDPR / CCPA" work with WordPress 5.9.1 and PHP 7.4.8? A smoke test was performed on .
| 4 | PHP notices |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 92.64 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.
| WordPress version | 5.9.1 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 900,000+ |
| WordPress.org page | https://wordpress.org/plugins/cookie-notice/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=cookie-notice%2Fcookie-notice.php&plugin_status=all&paged=1&s&_wpnonce=5676e5774a |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.341 s |
| Memory usage | 3.37 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=cookie-notice |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.704 s |
| Memory usage | 3.38 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=cookie-notice |
|---|---|
| Aspect | menu-item-tab |
| HTTP status | 200 |
| Load time | 0.326 s |
| Memory usage | 3.38 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.283 s |
| Memory usage | 3.41 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/index.php |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 0.303 s |
| Memory usage | 3.47 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.334 s | 0.410 s | +0.076 s | 3.37 MiB | 3.47 MiB | + 103.42 KiB |
| /wp-admin/edit.php | 0.174 s | 0.218 s | +0.044 s | 3.4 MiB | 3.49 MiB | + 93.21 KiB |
| /wp-admin/post-new.php | 0.828 s | 0.957 s | +0.129 s | 6.14 MiB | 6.23 MiB | + 92.38 KiB |
| /wp-admin/upload.php | 0.355 s | 0.345 s | -0.010 s | 3.25 MiB | 3.35 MiB | + 99.69 KiB |
| /wp-admin/options-writing.php | 0.282 s | 0.162 s | -0.120 s | 3.24 MiB | 3.32 MiB | + 82.82 KiB |
| /wp-admin/media-new.php | 0.303 s | 0.173 s | -0.130 s | 3.23 MiB | 3.32 MiB | + 99.86 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.191 s | 0.196 s | +0.005 s | 3.27 MiB | 3.36 MiB | + 92.77 KiB |
| /wp-admin/post-new.php?post_type=page | 0.665 s | 0.801 s | +0.136 s | 6.14 MiB | 6.22 MiB | + 87.97 KiB |
| /wp-admin/options-discussion.php | 0.238 s | 0.339 s | +0.101 s | 3.22 MiB | 3.32 MiB | + 99.77 KiB |
| /wp-admin/edit-comments.php | 0.210 s | 0.214 s | +0.004 s | 3.27 MiB | 3.42 MiB | + 155.71 KiB |
| / | 0.273 s | 0.255 s | -0.018 s | 3.4 MiB | 3.41 MiB | + 11.44 KiB |
| Average | 0.350 s | 0.370 s | +0.020 s | 3.81 MiB | 3.9 MiB | + 92.64 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 39.5% | 3,857 | 979 | 10 | |
| CSS | 32.8% | 3,205 | 110 | 8 | |
| JavaScript | 22.7% | 2,215 | 527 | 8 | |
| Sass | 5.0% | 485 | 26 | 1 | |
| SVG | 0.1% | 5 | 0 | 5 | |
| HTML | 0.0% | 0 | 1 | 1 | |
| Total | 9,767 | 1,643 | 33 | ||
| Lines of code | 3,857 |
|---|---|
| Total complexity | 635 |
| Median class complexity | 54.0 |
| Median method complexity | 2.0 |
| Most complex class | Cookie_Notice_Welcome_API |
| Most complex function | Cookie_Notice_Welcome_API::api_request() |
| Classes | 8 |
|---|---|
| Methods | 120 |
| Functions | 3 |
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.
wp_options 2{
"dashboard": {
"cn_dashboard_stats": {
"title": "Cookie Compliance",
"context": "normal"
}
}
}[23-Feb-2022 18:42:52 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/cookie-notice/includes/dashboard.php on line 126
[23-Feb-2022 18:42:56 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/cookie-notice/includes/dashboard.php on line 126
[23-Feb-2022 18:43:03 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/cookie-notice/includes/dashboard.php on line 126
[23-Feb-2022 18:43:04 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/cookie-notice/includes/dashboard.php on line 126