DarkLooks - Dark Mode Switcher For WordPress 1.0.2

Does "DarkLooks - Dark Mode Switcher For WordPress" work with WordPress 6.0.1 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: 8.68 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 version6.0.1
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=afb859612d
Aspect after-activation
HTTP status 200
Load time 0.268 s
Memory usage 3.71 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.108 s
Memory usage 3.78 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.617 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.401 s0.264 s-0.137 s3.72 MiB3.74 MiB+ 14.16 KiB
/wp-admin/edit.php0.215 s0.222 s+0.007 s3.75 MiB3.77 MiB+ 14.16 KiB
/wp-admin/post-new.php0.985 s1.394 s+0.409 s5.55 MiB5.57 MiB+ 22.04 KiB
/wp-admin/upload.php0.441 s0.323 s-0.118 s3.68 MiB3.7 MiB+ 13.03 KiB
/wp-admin/options-writing.php0.162 s0.157 s-0.005 s3.62 MiB3.61 MiB- 7.06 KiB
/wp-admin/media-new.php0.436 s0.198 s-0.238 s3.66 MiB3.67 MiB+ 13.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.190 s+0.007 s3.69 MiB3.7 MiB+ 14.11 KiB
/wp-admin/post-new.php?post_type=page0.915 s1.061 s+0.146 s5.54 MiB5.55 MiB+ 13.63 KiB
/wp-admin/options-discussion.php0.220 s0.326 s+0.106 s3.6 MiB3.61 MiB+ 13.83 KiB
/wp-admin/edit-comments.php0.225 s0.222 s-0.003 s3.69 MiB3.71 MiB+ 13.05 KiB
/0.320 s0.265 s-0.055 s3.6 MiB3.57 MiB- 28.69 KiB
Average 0.409 s0.420 s+0.011 s4.01 MiB4.02 MiB+ 8.68 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
PHP62.1%1,82554031
CSS27.0%792232
JavaScript5.5%163532
SVG4.6%135026
JSON0.7%2201
Total 2,937 616 62

PHP Code Analysis | More results »

Lines of code 1,830
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