WP Dark Mode 5.1.1

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: 268.2 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.061 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=a031e44cce
Aspect after-activation
HTTP status 200
Load time 0.929 s
Memory usage 3.71 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.074 s
Memory usage 3.71 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.577 s
Memory usage 3.73 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.386 s
Memory usage 3.71 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.163 s
Memory usage 5.45 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.363 s
Memory usage 3.51 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.358 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.359 s+0.012 s3.47 MiB3.72 MiB+ 253.56 KiB
/wp-admin/edit.php0.204 s0.289 s+0.085 s3.54 MiB3.8 MiB+ 268.58 KiB
/wp-admin/post-new.php0.801 s1.195 s+0.394 s5.75 MiB6.14 MiB+ 398.29 KiB
/wp-admin/upload.php0.677 s0.517 s-0.160 s3.49 MiB3.71 MiB+ 227.34 KiB
/wp-admin/options-writing.php0.198 s0.239 s+0.041 s3.41 MiB3.69 MiB+ 284.39 KiB
/wp-admin/media-new.php0.234 s0.282 s+0.048 s3.4 MiB3.69 MiB+ 297.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.238 s+0.058 s3.47 MiB3.71 MiB+ 245.51 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.636 s+0.028 s5.75 MiB6.14 MiB+ 398.22 KiB
/wp-admin/options-discussion.php0.221 s0.350 s+0.129 s3.41 MiB3.69 MiB+ 286.08 KiB
/wp-admin/edit-comments.php0.235 s0.273 s+0.038 s3.49 MiB3.71 MiB+ 227.89 KiB
/0.303 s0.304 s+0.001 s3.45 MiB3.51 MiB+ 62.58 KiB
Average 0.364 s0.426 s+0.061 s3.88 MiB4.14 MiB+ 268.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
JavaScript
Language % Lines of code Comment lines Files
PHP55.8%8,0303,15948
JavaScript38.0%5,46963
SVG4.3%613027
Markdown1.3%19101
XML0.5%66211
CSS0.1%20319
Total 14,389 3,189 99

PHP Code Analysis | More results »

Lines of code 6,975
Total complexity 877
Median class complexity 12.0
Median method complexity 2.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 293
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