WP Dark Mode 5.1.5

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

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

Environment
WordPress version6.6.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 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=872323d7c0
Aspect after-activation
HTTP status 200
Load time 1.005 s
Memory usage 3.9 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 1.127 s
Memory usage 3.91 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.632 s
Memory usage 3.95 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.405 s
Memory usage 3.91 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.181 s
Memory usage 5.56 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.368 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.370 s
Memory usage 3.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.341 s0.351 s+0.010 s3.47 MiB3.97 MiB+ 512.06 KiB
/wp-admin/edit.php0.203 s0.412 s+0.209 s3.54 MiB4.05 MiB+ 522.46 KiB
/wp-admin/post-new.php0.732 s1.061 s+0.329 s5.75 MiB6.22 MiB+ 479.87 KiB
/wp-admin/upload.php0.676 s0.410 s-0.266 s3.49 MiB3.93 MiB+ 446.83 KiB
/wp-admin/options-writing.php0.192 s0.234 s+0.042 s3.41 MiB3.9 MiB+ 498.64 KiB
/wp-admin/media-new.php0.267 s0.303 s+0.036 s3.4 MiB3.89 MiB+ 500.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.248 s+0.074 s3.47 MiB3.92 MiB+ 457.63 KiB
/wp-admin/post-new.php?post_type=page0.582 s0.845 s+0.263 s5.75 MiB6.22 MiB+ 479.79 KiB
/wp-admin/options-discussion.php0.220 s0.323 s+0.103 s3.41 MiB3.89 MiB+ 492.13 KiB
/wp-admin/edit-comments.php0.217 s0.274 s+0.057 s3.49 MiB3.92 MiB+ 441.94 KiB
/0.296 s0.297 s+0.001 s3.45 MiB3.67 MiB+ 219.23 KiB
Average 0.355 s0.433 s+0.078 s3.88 MiB4.32 MiB+ 459.2 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.6%8,1143,17648
SVG7.3%657028
Markdown2.1%19101
XML0.7%66211
CSS0.2%21219
JavaScript0.0%313
Total 9,052 3,200 100

PHP Code Analysis | More results »

Lines of code 7,049
Total complexity 882
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 295
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