Cookies and Content Security Policy 1.78

Does "Cookies and Content Security Policy" work with WordPress 5.6.1 and PHP 7.4.8? 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: 9.88 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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/cookies-and-content-security-policy/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=cookies-and-content-security-policy%2Fcookies-and-content-security-policy.php&plugin_status=all&paged=1&s&_wpnonce=b0adf1728d
Aspect after-activation
HTTP status 200
Load time 0.283 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy

Page screenshot: Settings → Cookies and Content Security Policy
URL /wp-admin/options-general.php?page=cacsp_settings
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy → Quickstart

Page screenshot: Settings → Cookies and Content Security Policy → Quickstart
URL /wp-admin/options-general.php?page=cacsp_settings&tab=quickstart
Aspect menu-item-tab
HTTP status 200
Load time 0.168 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy → Domains

Page screenshot: Settings → Cookies and Content Security Policy → Domains
URL /wp-admin/options-general.php?page=cacsp_settings&tab=domains
Aspect menu-item-tab
HTTP status 200
Load time 0.160 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy → Texts

Page screenshot: Settings → Cookies and Content Security Policy → Texts
URL /wp-admin/options-general.php?page=cacsp_settings&tab=texts
Aspect menu-item-tab
HTTP status 200
Load time 0.188 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy → Settings

Page screenshot: Settings → Cookies and Content Security Policy → Settings
URL /wp-admin/options-general.php?page=cacsp_settings&tab=settings
Aspect menu-item-tab
HTTP status 200
Load time 0.174 s
Memory usage 2.75 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy → Colors

Page screenshot: Settings → Cookies and Content Security Policy → Colors
URL /wp-admin/options-general.php?page=cacsp_settings&tab=colors
Aspect menu-item-tab
HTTP status 200
Load time 0.177 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Settings → Cookies and Content Security Policy → Support

Page screenshot: Settings → Cookies and Content Security Policy → Support
URL /wp-admin/options-general.php?page=cacsp_settings&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 0.174 s
Memory usage 2.7 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.208 s
Memory usage 2.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.387 s+0.124 s2.79 MiB2.8 MiB+ 12.34 KiB
/wp-admin/edit.php0.171 s0.192 s+0.021 s2.84 MiB2.85 MiB+ 11.97 KiB
/wp-admin/post-new.php0.868 s0.911 s+0.043 s4.94 MiB4.96 MiB+ 26.84 KiB
/wp-admin/upload.php0.788 s0.460 s-0.328 s2.67 MiB2.67 MiB+ 6.84 KiB
/wp-admin/options-writing.php0.174 s0.178 s+0.004 s2.68 MiB2.66 MiB- 21.7 KiB
/wp-admin/media-new.php0.308 s0.194 s-0.114 s2.65 MiB2.65 MiB+ 9.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.193 s+0.014 s2.68 MiB2.69 MiB+ 10.16 KiB
/wp-admin/post-new.php?post_type=page0.735 s0.643 s-0.092 s4.92 MiB4.94 MiB+ 18.43 KiB
/wp-admin/options-discussion.php0.366 s0.229 s-0.137 s2.65 MiB2.66 MiB+ 10.81 KiB
/wp-admin/edit-comments.php0.220 s0.207 s-0.013 s2.75 MiB2.76 MiB+ 7.81 KiB
/0.261 s0.201 s-0.060 s2.61 MiB2.63 MiB+ 15.91 KiB
Average 0.394 s0.345 s-0.049 s3.11 MiB3.12 MiB+ 9.88 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
PO File
Language % Lines of code Comment lines Files
PHP61.4%2,1084713
Sass17.0%583144
PO File14.0%4821861
JavaScript6.9%237191
XML0.7%2501
Total 3,435 266 20

PHP Code Analysis | More results »

Lines of code 689
Total complexity 137
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function cacsp_options_settings_colors()
Classes 0
Methods 0
Functions 20

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 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Cookies and Content Security Policy" Admin Menu