Night Mode report-night-mode-1622942689

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=1aec898efc
Aspect after-activation
HTTP status 200
Load time 0.239 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.138 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.154 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.248 s0.261 s+0.013 s2.82 MiB2.83 MiB+ 10.32 KiB
/wp-admin/edit.php0.167 s0.194 s+0.027 s2.86 MiB2.87 MiB+ 10.07 KiB
/wp-admin/post-new.php0.863 s1.069 s+0.206 s5.03 MiB5.04 MiB+ 14.66 KiB
/wp-admin/upload.php0.553 s0.392 s-0.161 s2.7 MiB2.7 MiB+ 3.27 KiB
/wp-admin/options-writing.php0.143 s0.134 s-0.009 s2.71 MiB2.69 MiB- 26.73 KiB
/wp-admin/media-new.php0.228 s0.151 s-0.077 s2.67 MiB2.68 MiB+ 4.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.190 s-0.010 s2.77 MiB2.78 MiB+ 5.8 KiB
/wp-admin/post-new.php?post_type=page1.190 s0.622 s-0.568 s5.01 MiB5.02 MiB+ 6.24 KiB
/wp-admin/options-discussion.php0.277 s0.206 s-0.071 s2.68 MiB2.68 MiB+ 4.82 KiB
/wp-admin/edit-comments.php0.233 s0.251 s+0.018 s2.78 MiB2.78 MiB+ 4.44 KiB
/0.237 s0.309 s+0.072 s2.65 MiB2.66 MiB+ 2.31 KiB
Average 0.394 s0.344 s-0.051 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:21 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 01:24:22 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 01:24:22 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 01:24:22 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 01:24:22 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 01:24:22 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 01:24:22 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:23 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 01:24:25 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 01:24:25 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 01:24:25 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 01:24:25 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 01:24:25 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:26 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:28 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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 01:24:29 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