WP Dark Mode 5.0.7

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.052 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=28b184d16e
Aspect after-activation
HTTP status 200
Load time 1.046 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.944 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.584 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.419 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 1.583 s
Memory usage 5.34 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.414 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.644 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.366 s0.521 s+0.155 s3.44 MiB3.69 MiB+ 257.56 KiB
/wp-admin/edit.php0.212 s0.350 s+0.138 s3.46 MiB3.7 MiB+ 247.86 KiB
/wp-admin/post-new.php0.935 s0.975 s+0.040 s5.59 MiB5.86 MiB+ 278.25 KiB
/wp-admin/upload.php0.563 s0.393 s-0.170 s3.38 MiB3.64 MiB+ 262.05 KiB
/wp-admin/options-writing.php0.233 s0.257 s+0.024 s3.37 MiB3.62 MiB+ 247.95 KiB
/wp-admin/media-new.php0.355 s0.530 s+0.175 s3.35 MiB3.61 MiB+ 260.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.250 s0.249 s-0.001 s3.37 MiB3.64 MiB+ 273.33 KiB
/wp-admin/post-new.php?post_type=page0.546 s0.684 s+0.138 s5.59 MiB5.86 MiB+ 278.18 KiB
/wp-admin/options-discussion.php0.283 s0.317 s+0.034 s3.36 MiB3.61 MiB+ 256.09 KiB
/wp-admin/edit-comments.php0.274 s0.282 s+0.008 s3.39 MiB3.64 MiB+ 254.2 KiB
/0.296 s0.328 s+0.032 s3.42 MiB3.48 MiB+ 61.66 KiB
Average 0.392 s0.444 s+0.052 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,7093,13147
JavaScript40.2%5,46862
Markdown1.4%19101
SVG1.2%16006
XML0.5%66211
CSS0.1%15316
Total 13,609 3,161 73

PHP Code Analysis | More results »

Lines of code 6,923
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

[01-Jul-2024 11:21:19 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
[01-Jul-2024 11:21: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
[01-Jul-2024 11:21:39 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
[01-Jul-2024 11:21:39 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