WP Dark Mode 4.2.0

Does WP Dark Mode work with WordPress 6.2.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.115 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.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=0d66dd5f48
Aspect after-activation
HTTP status 200
Load time 1.624 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.628 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.308 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 1.129 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.047 s
Memory usage 3.79 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.591 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.268 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.436 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.280 s0.401 s+0.121 s3.07 MiB3.47 MiB+ 412.26 KiB
/wp-admin/edit.php0.177 s0.343 s+0.166 s3.1 MiB3.5 MiB+ 406.32 KiB
/wp-admin/post-new.php0.860 s1.154 s+0.294 s5.02 MiB5.39 MiB+ 380.55 KiB
/wp-admin/upload.php0.526 s0.492 s-0.034 s3.02 MiB3.4 MiB+ 390.88 KiB
/wp-admin/options-writing.php0.166 s0.256 s+0.090 s3.01 MiB3.4 MiB+ 400.98 KiB
/wp-admin/media-new.php0.261 s0.321 s+0.060 s2.99 MiB3.4 MiB+ 421.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.317 s+0.109 s3.01 MiB3.42 MiB+ 428.42 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.667 s+0.089 s5.01 MiB5.38 MiB+ 379.55 KiB
/wp-admin/options-discussion.php0.214 s0.388 s+0.174 s3 MiB3.4 MiB+ 414.71 KiB
/wp-admin/edit-comments.php0.208 s0.438 s+0.230 s3.03 MiB3.43 MiB+ 408.71 KiB
/0.299 s0.261 s-0.038 s2.97 MiB3.1 MiB+ 130.64 KiB
Average 0.343 s0.458 s+0.115 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,3163,29668
CSS11.0%1,3603617
SVG7.8%961046
Markdown3.6%44602
XML1.2%1451072
JavaScript0.6%6802
JSON0.2%2501
Total 12,321 3,439 138

PHP Code Analysis | More results »

Lines of code 7,664
Total complexity 975
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