Does No unsafe-inline work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .
1 | PHP warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 134.78 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 | 6.2.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 100+ |
WordPress.org page | https://wordpress.org/plugins/no-unsafe-inline/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=no-unsafe-inline%2Fno-unsafe-inline.php&plugin_status=all&paged=1&s&_wpnonce=b54f6e3291 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.448 s |
Memory usage | 3.16 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.263 s |
Memory usage | 3.56 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=base-rule |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.162 s |
Memory usage | 3.19 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=external |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.163 s |
Memory usage | 3.24 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=inline |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.150 s |
Memory usage | 3.23 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=events |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.147 s |
Memory usage | 3.22 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.195 s |
Memory usage | 3.17 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=logs |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.154 s |
Memory usage | 3.18 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.199 s |
Memory usage | 3.08 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.280 s | 0.246 s | -0.034 s | 3.07 MiB | 3.21 MiB | + 145.87 KiB |
/wp-admin/edit.php | 0.162 s | 0.161 s | -0.001 s | 3.1 MiB | 3.24 MiB | + 144.48 KiB |
/wp-admin/post-new.php | 0.704 s | 0.914 s | +0.210 s | 5.02 MiB | 5.17 MiB | + 149.44 KiB |
/wp-admin/upload.php | 0.655 s | 0.416 s | -0.239 s | 3.02 MiB | 3.14 MiB | + 128.19 KiB |
/wp-admin/options-writing.php | 0.200 s | 0.127 s | -0.073 s | 3.01 MiB | 3.12 MiB | + 114.88 KiB |
/wp-admin/media-new.php | 0.236 s | 0.199 s | -0.037 s | 2.99 MiB | 3.13 MiB | + 140.38 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.166 s | 0.156 s | -0.010 s | 3.01 MiB | 3.15 MiB | + 145.55 KiB |
/wp-admin/post-new.php?post_type=page | 0.550 s | 0.548 s | -0.002 s | 5.01 MiB | 5.16 MiB | + 145.02 KiB |
/wp-admin/options-discussion.php | 0.182 s | 0.205 s | +0.023 s | 3 MiB | 3.13 MiB | + 128.62 KiB |
/wp-admin/edit-comments.php | 0.186 s | 0.179 s | -0.007 s | 3.03 MiB | 3.15 MiB | + 128.18 KiB |
/ | 0.262 s | 0.274 s | +0.012 s | 2.97 MiB | 3.08 MiB | + 112.01 KiB |
Average | 0.326 s | 0.311 s | -0.014 s | 3.38 MiB | 3.52 MiB | + 134.78 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 | 50.8% | 8,399 | 4,168 | 48 | |
CSS | 35.4% | 5,854 | 304 | 12 | |
PO File | 9.0% | 1,490 | 596 | 1 | |
JavaScript | 4.6% | 758 | 99 | 5 | |
JSON | 0.3% | 48 | 0 | 1 | |
Total | 16,549 | 5,167 | 67 |
Lines of code | 7,993 |
---|---|
Total complexity | 1,485 |
Median class complexity | 16.5 |
Median method complexity | 2.0 |
Most complex class | No_Unsafe_Inline_Admin |
Most complex function | NUNIL\Nunil_Manipulate_DOM::manipulate_external_node() |
Classes | 32 |
---|---|
Methods | 348 |
Functions | 7 |
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
5[26-May-2023 23:24:25 UTC] PHP Warning: copy(/wp-content/mu-plugins/no-unsafe-inline-output-buffering.php): Failed to open stream: Permission denied in /wp-content/plugins/no-unsafe-inline/src/Nunil_Manage_Muplugin.php on line 69