Night Mode report-night-mode-1622984596

Does Night Mode by Wordpress work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
76PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 3.63 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.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 60+
WordPress.org page https://wordpress.org/plugins/night-mode/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=night-mode%2Fnight-mode.php&plugin_status=all&paged=1&s&_wpnonce=432d7b4a16
Aspect after-activation
HTTP status 200
Load time 0.265 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Settings → Night Mode

Page screenshot: Settings → Night Mode
URL /wp-admin/options-general.php?page=admin-custom-color
Aspect menu-item
HTTP status 200
Load time 0.147 s
Memory usage 2.68 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.159 s
Memory usage 2.66 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.254 s-0.009 s2.82 MiB2.83 MiB+ 10.32 KiB
/wp-admin/edit.php0.181 s0.209 s+0.028 s2.86 MiB2.87 MiB+ 10.07 KiB
/wp-admin/post-new.php0.868 s1.134 s+0.266 s5.03 MiB5.04 MiB+ 14.66 KiB
/wp-admin/upload.php0.458 s0.369 s-0.089 s2.7 MiB2.7 MiB+ 3.27 KiB
/wp-admin/options-writing.php0.234 s0.142 s-0.092 s2.71 MiB2.69 MiB- 26.73 KiB
/wp-admin/media-new.php0.220 s0.165 s-0.055 s2.67 MiB2.68 MiB+ 4.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.178 s-0.016 s2.77 MiB2.78 MiB+ 5.8 KiB
/wp-admin/post-new.php?post_type=page1.112 s0.606 s-0.506 s5.01 MiB5.02 MiB+ 6.24 KiB
/wp-admin/options-discussion.php0.289 s0.309 s+0.020 s2.68 MiB2.68 MiB+ 4.82 KiB
/wp-admin/edit-comments.php0.245 s0.238 s-0.007 s2.78 MiB2.78 MiB+ 4.44 KiB
/0.272 s0.221 s-0.051 s2.65 MiB2.66 MiB+ 2.31 KiB
Average 0.394 s0.348 s-0.046 s3.15 MiB3.16 MiB+ 3.63 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.

JavaScript
Language % Lines of code Comment lines Files
JavaScript97.0%2,2651612
PHP3.0%71123
Total 2,336 173 5

PHP Code Analysis | More results »

Lines of code 72
Total complexity 10
Median class complexity 9.0
Median method complexity 2.0
Most complex class ntmode_options
Most complex function ntmode_options::ntmod_init()
Classes 1
Methods 3
Functions 1

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.

No new entries found.

PHP Error Log 76 lines

[06-Jun-2021 13:02:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 20
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:54 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 54
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 55
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 56
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 57
[06-Jun-2021 13:02:55 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/night-mode/change_color.php on line 59
See also: All tests for this plugin, How to Hide the "Night Mode" Admin Menu