WP Dark Mode 5.0.1

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

Summary

Errors
4Database errors
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.4.3
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=e48245ea38
Aspect after-activation
HTTP status 200
Load time 1.074 s
Memory usage 3.59 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.810 s
Memory usage 3.57 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.567 s
Memory usage 3.63 MiB
JS errors None
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.397 s
Memory usage 3.57 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 0.856 s
Memory usage 5.19 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.311 s
Memory usage 3.48 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'querySelector' on 'Element': '& > div' is not a valid selector.\n    at /wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.1:72:6428\n    at NodeList.forEach (<anonymous>)\n    at Tt.updateSwitches (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.1:72:6226)\n    at Tt.reactiveSwitches (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.1:72:7570)\n    at Tt.ready (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.1:72:6879)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.1:1:2872)",
        "trace": null,
        "code": null
    }
]
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.657 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.375 s0.589 s+0.214 s3.38 MiB3.63 MiB+ 250.79 KiB
/wp-admin/edit.php0.204 s0.360 s+0.156 s3.41 MiB3.64 MiB+ 241.09 KiB
/wp-admin/post-new.php0.891 s0.946 s+0.055 s5.46 MiB5.69 MiB+ 238.94 KiB
/wp-admin/upload.php0.520 s0.356 s-0.164 s3.32 MiB3.58 MiB+ 259.28 KiB
/wp-admin/options-writing.php0.211 s0.268 s+0.057 s3.32 MiB3.55 MiB+ 241.8 KiB
/wp-admin/media-new.php0.295 s0.334 s+0.039 s3.3 MiB3.54 MiB+ 249.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.434 s+0.233 s3.31 MiB3.57 MiB+ 266.56 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.679 s+0.101 s5.45 MiB5.68 MiB+ 238.87 KiB
/wp-admin/options-discussion.php0.304 s0.329 s+0.025 s3.3 MiB3.55 MiB+ 249.31 KiB
/wp-admin/edit-comments.php0.294 s0.279 s-0.015 s3.34 MiB3.57 MiB+ 243.46 KiB
/0.287 s0.250 s-0.037 s3.36 MiB3.41 MiB+ 54.45 KiB
Average 0.378 s0.439 s+0.060 s3.72 MiB3.95 MiB+ 230.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
PHP94.7%7,6783,12647
Markdown2.4%19101
SVG2.0%16006
XML0.8%66211
CSS0.1%9310
JavaScript0.0%111
Total 8,105 3,151 66

PHP Code Analysis | More results »

Lines of code 6,892
Total complexity 854
Median class complexity 11.0
Median method complexity 1.0
Most complex class Appsero\Insights
Most complex function WP_Dark_Mode\Admin\Recommended_Plugins::render_recommended_plugins_page()
Classes 32
Methods 288
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 1

Options wp_options 27

Meta Boxes

{
    "dashboard": {
        "wp_dark_mode_dashboard_widget": {
            "title": "WP Dark Mode",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[04-Mar-2024 13:56:28 UTC] WordPress database error Table 'wordpress.wp_wpdm_visitors' doesn't exist for query SELECT * FROM wp_wpdm_visitors WHERE ID >= 0 ORDER BY created_at DESC made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, WP_Dark_Mode\Admin\REST->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[04-Mar-2024 13:56:36 UTC] WordPress database error Table 'wordpress.wp_wpdm_visitors' doesn't exist for query SELECT * FROM wp_wpdm_visitors WHERE ID >= 0 ORDER BY created_at DESC made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, WP_Dark_Mode\Admin\REST->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[04-Mar-2024 13:56:45 UTC] WordPress database error Table 'wordpress.wp_wpdm_visitors' doesn't exist for query SELECT * FROM wp_wpdm_visitors WHERE ID >= 0 ORDER BY created_at DESC made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, WP_Dark_Mode\Admin\REST->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[04-Mar-2024 13:56:46 UTC] WordPress database error Table 'wordpress.wp_wpdm_visitors' doesn't exist for query SELECT * FROM wp_wpdm_visitors WHERE ID >= 0 ORDER BY created_at DESC made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, WP_Dark_Mode\Admin\REST->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
See also: All tests for this plugin, How to Hide WP Dark Mode Admin Menus and Widgets