WP Dark Mode 5.0.6

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

Summary

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

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

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

Environment
WordPress version6.5.5
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=a5fedc5061
Aspect after-activation
HTTP status 200
Load time 1.032 s
Memory usage 3.65 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.825 s
Memory usage 3.63 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.544 s
Memory usage 3.7 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.438 s
Memory usage 3.63 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.941 s
Memory usage 5.32 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.410 s
Memory usage 3.54 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.614 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.604 s+0.248 s3.44 MiB3.69 MiB+ 257.56 KiB
/wp-admin/edit.php0.199 s0.395 s+0.196 s3.46 MiB3.7 MiB+ 247.86 KiB
/wp-admin/post-new.php0.862 s0.919 s+0.057 s5.59 MiB5.86 MiB+ 278.25 KiB
/wp-admin/upload.php0.586 s0.355 s-0.231 s3.38 MiB3.64 MiB+ 262.05 KiB
/wp-admin/options-writing.php0.224 s0.242 s+0.018 s3.37 MiB3.62 MiB+ 247.95 KiB
/wp-admin/media-new.php0.293 s0.305 s+0.012 s3.35 MiB3.61 MiB+ 260.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.420 s+0.220 s3.37 MiB3.64 MiB+ 273.33 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.693 s+0.095 s5.59 MiB5.86 MiB+ 278.18 KiB
/wp-admin/options-discussion.php0.238 s0.294 s+0.056 s3.36 MiB3.61 MiB+ 256.09 KiB
/wp-admin/edit-comments.php0.247 s0.276 s+0.029 s3.39 MiB3.64 MiB+ 254.2 KiB
/0.289 s0.324 s+0.035 s3.42 MiB3.48 MiB+ 61.66 KiB
Average 0.372 s0.439 s+0.067 s3.79 MiB4.03 MiB+ 243.4 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
PHP56.6%7,7083,13147
JavaScript40.2%5,46862
Markdown1.4%19101
SVG1.2%16006
XML0.5%66211
CSS0.1%14315
Total 13,607 3,161 72

PHP Code Analysis | More results »

Lines of code 6,922
Total complexity 857
Median class complexity 11.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 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

[25-Jun-2024 11:54:57 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
[25-Jun-2024 11:55:05 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
[25-Jun-2024 11:55:14 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
[25-Jun-2024 11:55:15 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