WP Dark Mode 5.2.4

Does WP Dark Mode work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 423.37 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.7.1
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 7

Get Started ‹ Test site — WordPress

Page screenshot: Get Started ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wp-dark-mode-get-started#/
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-dark-mode%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=bfab1c48c8
Aspect after-activation
HTTP status 200
Load time 1.130 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

WP Dark Mode

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

WP Dark Mode → Social Share

Page screenshot: WP Dark Mode → Social Share
URL /wp-admin/admin.php?page=wp-dark-mode-social-share
Aspect menu-item
HTTP status 200
Load time 0.574 s
Memory usage 3.96 MiB
JS errors
[
    {
        "message": "y",
        "trace": null,
        "code": null
    }
]
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#/
Requested URL /wp-admin/admin.php?page=wp-dark-mode-get-started
Aspect menu-item
HTTP status 200
Load time 0.406 s
Memory usage 3.92 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.183 s
Memory usage 5.68 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.654 s
Memory usage 3.67 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.385 s
Memory usage 3.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.461 s+0.174 s3.48 MiB3.98 MiB+ 515.13 KiB
/wp-admin/edit.php0.193 s0.316 s+0.123 s3.54 MiB4.06 MiB+ 528.05 KiB
/wp-admin/post-new.php0.744 s0.934 s+0.190 s5.92 MiB6.28 MiB+ 362.98 KiB
/wp-admin/upload.php0.551 s0.384 s-0.167 s3.49 MiB3.94 MiB+ 452.23 KiB
/wp-admin/options-writing.php0.213 s0.247 s+0.034 s3.47 MiB3.91 MiB+ 445.89 KiB
/wp-admin/media-new.php0.340 s0.455 s+0.115 s3.46 MiB3.9 MiB+ 443.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.304 s+0.117 s3.47 MiB3.93 MiB+ 462.41 KiB
/wp-admin/post-new.php?post_type=page0.538 s0.675 s+0.137 s5.92 MiB6.27 MiB+ 362.86 KiB
/wp-admin/options-discussion.php0.433 s0.312 s-0.121 s3.47 MiB3.9 MiB+ 434.94 KiB
/wp-admin/edit-comments.php0.235 s0.272 s+0.037 s3.49 MiB3.93 MiB+ 446.72 KiB
/0.291 s0.446 s+0.155 s3.47 MiB3.67 MiB+ 202.32 KiB
Average 0.365 s0.437 s+0.072 s3.93 MiB4.34 MiB+ 423.37 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
Language % Lines of code Comment lines Files
PHP89.5%8,1553,24148
SVG7.2%657028
Markdown2.1%19101
XML0.7%66211
JavaScript0.3%2413
CSS0.2%21219
Total 9,114 3,265 100

PHP Code Analysis | More results »

Lines of code 7,091
Total complexity 879
Median class complexity 12.0
Median method complexity 1.0
Most complex class WP_Dark_Mode\Appsero\Insights
Most complex function WP_Dark_Mode\Admin\Recommended_Plugins::render_recommended_plugins_page()
Classes 32
Methods 294
Functions 2

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 2

Options wp_options 27

Meta Boxes

{
    "dashboard": {
        "wp_dark_mode_dashboard_widget": {
            "title": "WP Dark Mode",
            "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