Night Mode report-night-mode-1627151783

Does Night Mode by Wordpress work with WordPress 5.8 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: 2.37 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.8
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=19b2ef4870
Aspect after-activation
HTTP status 200
Load time 0.338 s
Memory usage 3.05 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.156 s
Memory usage 3.01 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.199 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.249 s-0.048 s3.08 MiB3.09 MiB+ 6.32 KiB
/wp-admin/edit.php0.172 s0.193 s+0.021 s3.11 MiB3.12 MiB+ 4.27 KiB
/wp-admin/post-new.php0.741 s0.937 s+0.196 s5.27 MiB5.27 MiB+ 2.66 KiB
/wp-admin/upload.php0.792 s0.294 s-0.498 s3.03 MiB3.03 MiB+ 3.27 KiB
/wp-admin/options-writing.php0.162 s0.133 s-0.029 s3.02 MiB3.01 MiB- 10.73 KiB
/wp-admin/media-new.php0.266 s0.193 s-0.073 s3.01 MiB3.01 MiB+ 4.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.284 s+0.051 s3.04 MiB3.04 MiB+ 5.8 KiB
/wp-admin/post-new.php?post_type=page1.326 s0.666 s-0.660 s5.26 MiB5.26 MiB- 1.76 KiB
/wp-admin/options-discussion.php0.294 s0.223 s-0.071 s3 MiB3.01 MiB+ 4.82 KiB
/wp-admin/edit-comments.php0.235 s0.237 s+0.002 s3.04 MiB3.05 MiB+ 4.44 KiB
/0.277 s0.232 s-0.045 s2.91 MiB2.91 MiB+ 2.31 KiB
Average 0.436 s0.331 s-0.105 s3.43 MiB3.44 MiB+ 2.37 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

[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35: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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:56 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:57 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:35:59 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:00 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
[24-Jul-2021 18:36:01 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
[24-Jul-2021 18:36:01 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
[24-Jul-2021 18:36:01 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
[24-Jul-2021 18:36:01 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
[24-Jul-2021 18:36:01 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:02 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
[24-Jul-2021 18:36:03 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
[24-Jul-2021 18:36:03 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
[24-Jul-2021 18:36:03 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
[24-Jul-2021 18:36:03 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
[24-Jul-2021 18:36:03 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