DarkLooks - Dark Mode Switcher For WordPress 1.0.3

Does "DarkLooks - Dark Mode Switcher For WordPress" work with WordPress 6.0.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: 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.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=d4b5d34932
Aspect after-activation
HTTP status 200
Load time 0.427 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 0.992 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.439 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.349 s0.294 s-0.055 s3.72 MiB3.74 MiB+ 14.16 KiB
/wp-admin/edit.php0.206 s0.186 s-0.020 s3.76 MiB3.77 MiB+ 14.16 KiB
/wp-admin/post-new.php0.771 s0.921 s+0.150 s5.55 MiB5.57 MiB+ 22.04 KiB
/wp-admin/upload.php0.411 s0.362 s-0.049 s3.69 MiB3.7 MiB+ 13.03 KiB
/wp-admin/options-writing.php0.157 s0.150 s-0.007 s3.62 MiB3.61 MiB- 7.06 KiB
/wp-admin/media-new.php0.431 s0.213 s-0.218 s3.66 MiB3.68 MiB+ 13.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.246 s0.368 s+0.122 s3.69 MiB3.7 MiB+ 14.11 KiB
/wp-admin/post-new.php?post_type=page0.706 s1.000 s+0.294 s5.54 MiB5.56 MiB+ 13.63 KiB
/wp-admin/options-discussion.php0.254 s0.259 s+0.005 s3.6 MiB3.61 MiB+ 13.83 KiB
/wp-admin/edit-comments.php0.225 s0.218 s-0.007 s3.7 MiB3.71 MiB+ 13.05 KiB
/0.291 s0.252 s-0.039 s3.6 MiB3.58 MiB- 28.66 KiB
Average 0.368 s0.384 s+0.016 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
PHP61.9%1,82654031
CSS26.9%792232
JavaScript5.9%174612
SVG4.6%135026
JSON0.7%2201
Total 2,949 624 62

PHP Code Analysis | More results »

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