Does No unsafe-inline work with WordPress 6.5.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: 140.15 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.5.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=d4994ee717 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.405 s |
Memory usage | 3.55 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.317 s |
Memory usage | 3.59 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.199 s |
Memory usage | 3.56 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.187 s |
Memory usage | 3.56 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.170 s |
Memory usage | 3.52 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.179 s |
Memory usage | 3.52 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.227 s |
Memory usage | 3.54 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.168 s |
Memory usage | 3.55 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.157 s |
Memory usage | 3.43 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.338 s | 0.517 s | +0.179 s | 3.44 MiB | 3.59 MiB | + 161.2 KiB |
/wp-admin/edit.php | 0.191 s | 0.178 s | -0.013 s | 3.46 MiB | 3.62 MiB | + 160.13 KiB |
/wp-admin/post-new.php | 0.796 s | 0.506 s | -0.290 s | 5.59 MiB | 5.75 MiB | + 164.77 KiB |
/wp-admin/upload.php | 0.596 s | 0.341 s | -0.255 s | 3.38 MiB | 3.52 MiB | + 143.84 KiB |
/wp-admin/options-writing.php | 0.199 s | 0.164 s | -0.035 s | 3.37 MiB | 3.51 MiB | + 135.73 KiB |
/wp-admin/media-new.php | 0.283 s | 0.197 s | -0.086 s | 3.35 MiB | 3.5 MiB | + 156.02 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.181 s | 0.313 s | +0.132 s | 3.37 MiB | 3.53 MiB | + 161.2 KiB |
/wp-admin/post-new.php?post_type=page | 0.509 s | 0.553 s | +0.044 s | 5.59 MiB | 5.74 MiB | + 160.36 KiB |
/wp-admin/options-discussion.php | 0.269 s | 0.227 s | -0.042 s | 3.36 MiB | 3.5 MiB | + 144.27 KiB |
/wp-admin/edit-comments.php | 0.230 s | 0.200 s | -0.030 s | 3.39 MiB | 3.53 MiB | + 143.83 KiB |
/ | 0.269 s | 0.179 s | -0.090 s | 3.42 MiB | 3.43 MiB | + 10.26 KiB |
Average | 0.351 s | 0.307 s | -0.044 s | 3.79 MiB | 3.93 MiB | + 140.15 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 | 53.4% | 9,511 | 4,838 | 52 | |
CSS | 33.1% | 5,902 | 289 | 12 | |
PO File | 8.4% | 1,490 | 596 | 1 | |
JavaScript | 4.9% | 865 | 74 | 5 | |
JSON | 0.3% | 48 | 0 | 1 | |
Total | 17,816 | 5,797 | 71 |
Lines of code | 9,031 |
---|---|
Total complexity | 1,713 |
Median class complexity | 21.0 |
Median method complexity | 2.0 |
Most complex class | No_Unsafe_Inline_Admin |
Most complex function | NUNIL\Nunil_Manipulate_DOM::manipulate_external_node() |
Classes | 35 |
---|---|
Methods | 405 |
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
6[06-May-2024 09:08:50 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 68