WP Dark Mode 5.1.4

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

Page speed impact: 0.114 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=413ac38f29
Aspect after-activation
HTTP status 200
Load time 1.376 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.308 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.643 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.507 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.394 s
Memory usage 5.55 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.520 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.522 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.508 s0.526 s+0.018 s3.47 MiB3.97 MiB+ 512.06 KiB
/wp-admin/edit.php0.244 s0.610 s+0.366 s3.54 MiB4.05 MiB+ 522.46 KiB
/wp-admin/post-new.php0.806 s1.476 s+0.670 s5.75 MiB6.22 MiB+ 480.16 KiB
/wp-admin/upload.php0.625 s0.471 s-0.154 s3.49 MiB3.93 MiB+ 446.83 KiB
/wp-admin/options-writing.php0.215 s0.293 s+0.078 s3.41 MiB3.9 MiB+ 498.64 KiB
/wp-admin/media-new.php0.250 s0.330 s+0.080 s3.4 MiB3.89 MiB+ 500.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.288 s+0.078 s3.47 MiB3.92 MiB+ 457.63 KiB
/wp-admin/post-new.php?post_type=page1.072 s1.000 s-0.072 s5.75 MiB6.22 MiB+ 480.09 KiB
/wp-admin/options-discussion.php0.257 s0.413 s+0.156 s3.41 MiB3.89 MiB+ 492.13 KiB
/wp-admin/edit-comments.php0.316 s0.335 s+0.019 s3.49 MiB3.92 MiB+ 441.99 KiB
/0.348 s0.362 s+0.014 s3.45 MiB3.67 MiB+ 218.67 KiB
Average 0.441 s0.555 s+0.114 s3.88 MiB4.32 MiB+ 459.21 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,1123,17548
SVG7.3%657028
Markdown2.1%19101
XML0.7%66211
CSS0.2%21219
JavaScript0.0%313
Total 9,050 3,199 100

PHP Code Analysis | More results »

Lines of code 7,047
Total complexity 881
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