DarkLooks - Dark Mode Switcher For WordPress 1.0.0

Does "DarkLooks - Dark Mode Switcher For WordPress" work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 9.14 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.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/darklooks-dark-mode-switcher/
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=darklooks-dark-mode-switcher%2Fdarklooks.php&plugin_status=all&paged=1&s&_wpnonce=4e35bbddd6
Aspect after-activation
HTTP status 200
Load time 0.408 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

DarkLooks

Page screenshot: DarkLooks
URL /wp-admin/admin.php?page=darklooks-setting-admin
Aspect menu-item
HTTP status 200
Load time 1.129 s
Memory usage 3.16 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.451 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.304 s-0.024 s3.08 MiB3.1 MiB+ 13.85 KiB
/wp-admin/edit.php0.190 s0.199 s+0.009 s3.11 MiB3.13 MiB+ 13.85 KiB
/wp-admin/post-new.php1.247 s0.864 s-0.383 s5.27 MiB5.29 MiB+ 18.35 KiB
/wp-admin/upload.php0.392 s0.313 s-0.079 s3.03 MiB3.04 MiB+ 12.72 KiB
/wp-admin/options-writing.php0.265 s0.153 s-0.112 s3.02 MiB3.02 MiB- 3.3 KiB
/wp-admin/media-new.php0.333 s0.200 s-0.133 s3.01 MiB3.02 MiB+ 12.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.317 s+0.111 s3.04 MiB3.05 MiB+ 13.8 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.684 s+0.074 s5.26 MiB5.27 MiB+ 13.94 KiB
/wp-admin/options-discussion.php0.252 s0.237 s-0.015 s3 MiB3.02 MiB+ 13.52 KiB
/wp-admin/edit-comments.php0.228 s0.219 s-0.009 s3.04 MiB3.05 MiB+ 12.74 KiB
/0.339 s0.235 s-0.104 s2.96 MiB2.93 MiB- 21.8 KiB
Average 0.399 s0.339 s-0.060 s3.44 MiB3.45 MiB+ 9.14 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.

PHP
CSS
Language % Lines of code Comment lines Files
PHP61.8%1,79754031
CSS27.3%792232
JavaScript5.5%160532
SVG4.6%135026
JSON0.8%2201
Total 2,906 616 62

PHP Code Analysis | More results »

Lines of code 1,800
Total complexity 255
Median class complexity 5.5
Median method complexity 1.0
Most complex class Darklooks\Inc\Inline_CSS
Most complex function Darklooks\Inc\Inline_CSS::getFrontEndCss()
Classes 18
Methods 86
Functions 0

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.

Options wp_options 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide DarkLooks - Dark Mode Switcher For WordPress Admin Menus