WP Dark Mode 5.0.0

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

Summary

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

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

Page speed impact: 0.024 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 8

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=af44dc6aac
Aspect after-activation
HTTP status 200
Load time 0.946 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.833 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.589 s
Memory usage 3.64 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.409 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 1.057 s
Memory usage 5.2 MiB
JS errors None
Resource errors None

WP Dark Mode → Upgrade Now

Page screenshot: WP Dark Mode → Upgrade Now
URL /wp-admin/
Aspect menu-item
HTTP status 200
Load time 0.902 s
Memory usage 3.63 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.391 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.0: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.0:72:6226)\n    at Tt.reactiveSwitches (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.0:72:7570)\n    at Tt.ready (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.0:72:6879)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/wp-dark-mode/assets/js/app.min.js?ver=5.0.0:1:2733)",
        "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.484 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.369 s0.478 s+0.109 s3.38 MiB3.63 MiB+ 253.36 KiB
/wp-admin/edit.php0.220 s0.307 s+0.087 s3.41 MiB3.64 MiB+ 243.66 KiB
/wp-admin/post-new.php0.869 s0.711 s-0.158 s5.46 MiB5.7 MiB+ 242.32 KiB
/wp-admin/upload.php0.708 s0.352 s-0.356 s3.32 MiB3.58 MiB+ 261.85 KiB
/wp-admin/options-writing.php0.224 s0.244 s+0.020 s3.32 MiB3.56 MiB+ 244.37 KiB
/wp-admin/media-new.php0.307 s0.298 s-0.009 s3.3 MiB3.54 MiB+ 252.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.278 s+0.081 s3.31 MiB3.58 MiB+ 269.13 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.675 s+0.067 s5.45 MiB5.69 MiB+ 241.44 KiB
/wp-admin/options-discussion.php0.276 s0.582 s+0.306 s3.3 MiB3.55 MiB+ 251.88 KiB
/wp-admin/edit-comments.php0.247 s0.286 s+0.039 s3.34 MiB3.58 MiB+ 245.98 KiB
/0.291 s0.370 s+0.079 s3.36 MiB3.41 MiB+ 55.28 KiB
Average 0.392 s0.416 s+0.024 s3.72 MiB3.95 MiB+ 232.85 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.

JavaScript
CSS
PHP
Vuejs Component
Language % Lines of code Comment lines Files
JavaScript39.9%17,3011,00587
CSS18.6%8,03712816
PHP18.1%7,8493,22549
Vuejs Component14.3%6,20839897
Sass7.7%3,34911753
SVG0.5%196012
Markdown0.4%19101
XML0.2%65201
JSON0.1%5701
HTML0.1%4103
SQL0.0%2001
Total 43,314 4,893 321

PHP Code Analysis | More results »

Lines of code 7,042
Total complexity 878
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 33
Methods 299
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 5 lines

[20-Feb-2024 12:35:30 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 do_action('wp_ajax_wp_dark_mode_admin_get_visitors'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Dark_Mode\Admin\Ajax->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[20-Feb-2024 12:35:37 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 do_action('wp_ajax_wp_dark_mode_admin_get_visitors'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Dark_Mode\Admin\Ajax->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[20-Feb-2024 12:35:40 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 do_action('wp_ajax_wp_dark_mode_admin_get_visitors'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Dark_Mode\Admin\Ajax->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[20-Feb-2024 12:35:49 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 do_action('wp_ajax_wp_dark_mode_admin_get_visitors'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Dark_Mode\Admin\Ajax->get_visitors, WP_Dark_Mode\Model\Visitor->get_all
[20-Feb-2024 12:35:50 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 do_action('wp_ajax_wp_dark_mode_admin_get_visitors'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Dark_Mode\Admin\Ajax->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