WP Dark Mode 5.1.3

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

Page speed impact: 0.170 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=75a4943bdb
Aspect after-activation
HTTP status 200
Load time 1.098 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 0.964 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#/
Requested URL /wp-admin/admin.php?page=wp-dark-mode-social-share
Aspect menu-item
HTTP status 200
Load time 0.635 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.423 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#/
Requested URL /wp-admin/admin.php?page=wp-dark-mode-recommended-plugins
Aspect menu-item
HTTP status 200
Load time 1.265 s
Memory usage 5.54 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.422 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#/
Requested URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.532 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.336 s0.507 s+0.171 s3.47 MiB3.97 MiB+ 512.73 KiB
/wp-admin/edit.php0.209 s0.501 s+0.292 s3.54 MiB4.05 MiB+ 523.13 KiB
/wp-admin/post-new.php0.809 s1.515 s+0.706 s5.75 MiB6.22 MiB+ 480.83 KiB
/wp-admin/upload.php0.682 s0.445 s-0.237 s3.49 MiB3.93 MiB+ 447.49 KiB
/wp-admin/options-writing.php0.199 s0.284 s+0.085 s3.41 MiB3.9 MiB+ 499.3 KiB
/wp-admin/media-new.php0.293 s0.342 s+0.049 s3.4 MiB3.89 MiB+ 503.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.280 s+0.095 s3.47 MiB3.92 MiB+ 458.92 KiB
/wp-admin/post-new.php?post_type=page0.606 s1.001 s+0.395 s5.75 MiB6.22 MiB+ 480.76 KiB
/wp-admin/options-discussion.php0.225 s0.396 s+0.171 s3.41 MiB3.89 MiB+ 495.6 KiB
/wp-admin/edit-comments.php0.203 s0.319 s+0.116 s3.49 MiB3.92 MiB+ 442.6 KiB
/0.318 s0.343 s+0.025 s3.45 MiB3.67 MiB+ 219.23 KiB
Average 0.370 s0.539 s+0.170 s3.88 MiB4.32 MiB+ 460.39 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,17648
SVG7.3%657028
Markdown2.1%19101
XML0.7%66211
CSS0.2%21219
JavaScript0.0%313
Total 9,050 3,200 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