WP Dark Mode 4.1.2

Does WP Dark Mode work with WordPress 6.2 and PHP 8.1.12? 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: 379.5 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.133 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/wp-dark-mode/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

WP Dark Mode Settings ‹ Test site — WordPress

Page screenshot: WP Dark Mode Settings ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wp-dark-mode-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-dark-mode%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=1a8e5795d5
Aspect after-activation
HTTP status 200
Load time 1.608 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

WP Dark Mode

Page screenshot: WP Dark Mode
URL /wp-admin/admin.php?page=wp-dark-mode-settings
Aspect menu-item
HTTP status 200
Load time 0.641 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

WP Dark Mode → Get Started

Page screenshot: WP Dark Mode → Get Started
URL /wp-admin/admin.php?page=wp-dark-mode-get-started
Aspect menu-item
HTTP status 200
Load time 2.112 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

WP Dark Mode → Social Share New

Page screenshot: WP Dark Mode → Social Share 
				
				 New
URL /wp-admin/admin.php?page=wp-dark-mode-social-share
Aspect menu-item
HTTP status 200
Load time 0.935 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

WP Dark Mode → Tools

Page screenshot: WP Dark Mode → Tools
URL /wp-admin/admin.php?page=wp-dark-mode-tools
Aspect menu-item
HTTP status 200
Load time 0.325 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

WP Dark Mode → Recommended Plugins

Page screenshot: WP Dark Mode → Recommended Plugins
URL /wp-admin/admin.php?page=wp-dark-mode-recommended-plugins
Aspect menu-item
HTTP status 200
Load time 1.254 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

WP Dark Mode → Upgrade Now

Page screenshot: WP Dark Mode → Upgrade Now
URL /wp-admin/
Aspect menu-item
HTTP status 200
Load time 0.459 s
Memory usage 3.47 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.263 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.435 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.403 s+0.129 s3.07 MiB3.47 MiB+ 412.26 KiB
/wp-admin/edit.php0.179 s0.468 s+0.289 s3.1 MiB3.5 MiB+ 406.32 KiB
/wp-admin/post-new.php0.747 s1.236 s+0.489 s5.02 MiB5.39 MiB+ 380.55 KiB
/wp-admin/upload.php0.693 s0.505 s-0.188 s3.02 MiB3.4 MiB+ 390.88 KiB
/wp-admin/options-writing.php0.146 s0.286 s+0.140 s3.01 MiB3.4 MiB+ 400.98 KiB
/wp-admin/media-new.php0.264 s0.343 s+0.079 s2.99 MiB3.4 MiB+ 421.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.324 s+0.163 s3.01 MiB3.42 MiB+ 428.42 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.613 s+0.035 s5.01 MiB5.38 MiB+ 379.55 KiB
/wp-admin/options-discussion.php0.208 s0.359 s+0.151 s3 MiB3.4 MiB+ 414.71 KiB
/wp-admin/edit-comments.php0.192 s0.302 s+0.110 s3.03 MiB3.43 MiB+ 408.71 KiB
/0.317 s0.383 s+0.066 s2.97 MiB3.1 MiB+ 130.64 KiB
Average 0.342 s0.475 s+0.133 s3.38 MiB3.75 MiB+ 379.5 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
PHP75.6%9,3353,29768
CSS11.0%1,3603617
SVG7.8%961046
Markdown3.6%44602
XML1.2%1451072
JavaScript0.6%6802
JSON0.2%2501
Total 12,340 3,440 138

PHP Code Analysis | More results »

Lines of code 7,658
Total complexity 970
Median class complexity 30.0
Median method complexity 2.0
Most complex class Appsero\Insights
Most complex function WP_Dark_Mode_Settings::settings_fields()
Classes 23
Methods 301
Functions 18

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.

Database Tables 1

Options wp_options 36

Meta Boxes

{
    "dashboard": {
        "wp_dark_mode": {
            "title": "WP Dark Mode Usage",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Dark Mode Admin Menus and Widgets