DragBlock 23.12.06

Does DragBlock work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
8PHP warnings
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60+
WordPress.org page https://wordpress.org/plugins/dragblock/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=dragblock%2Fdragblock.php&plugin_status=all&paged=1&s&_wpnonce=1eaca2807c
Aspect after-activation
HTTP status 200
Load time 0.432 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

DragBlock

Page screenshot: DragBlock
URL /wp-admin/admin.php?page=dragblockAdminMenu
Aspect menu-item
HTTP status 200
Load time 0.148 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

DragBlock → Form Entries

Page screenshot: DragBlock → Form Entries
URL /wp-admin/edit.php?post_type=dragblockformmsg
Aspect menu-item
HTTP status 200
Load time 0.200 s
Memory usage 3.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.209 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.371 s0.328 s-0.043 s3.38 MiB3.58 MiB+ 200.56 KiB
/wp-admin/edit.php0.236 s0.211 s-0.025 s3.41 MiB3.6 MiB+ 200.56 KiB
/wp-admin/post-new.php1.036 s1.486 s+0.450 s5.46 MiB6.26 MiB+ 820.7 KiB
/wp-admin/upload.php0.728 s0.444 s-0.284 s3.32 MiB3.5 MiB+ 183.91 KiB
/wp-admin/options-writing.php0.233 s0.240 s+0.007 s3.32 MiB3.49 MiB+ 175.73 KiB
/wp-admin/media-new.php0.334 s0.264 s-0.070 s3.29 MiB3.49 MiB+ 195.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.202 s-0.026 s3.31 MiB3.51 MiB+ 200.54 KiB
/wp-admin/post-new.php?post_type=page0.610 s1.017 s+0.407 s5.45 MiB6.25 MiB+ 820.29 KiB
/wp-admin/options-discussion.php0.314 s0.249 s-0.065 s3.3 MiB3.48 MiB+ 183.64 KiB
/wp-admin/edit-comments.php0.247 s0.365 s+0.118 s3.34 MiB3.51 MiB+ 183.18 KiB
/0.279 s0.206 s-0.073 s3.36 MiB3.5 MiB+ 143.73 KiB
Average 0.420 s0.456 s+0.036 s3.72 MiB4.01 MiB+ 300.75 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
JSON
Language % Lines of code Comment lines Files
PHP86.1%3,7351,18190
JSON11.0%478018
JavaScript1.7%72369
Markdown0.7%3101
CSS0.5%23019
Total 4,339 1,184 197

PHP Code Analysis | More results »

Lines of code 3,562
Total complexity 661
Median class complexity 2.0
Median method complexity 2.0
Most complex class DragBlock_Manage_Fonts_Admin
Most complex function dragblock_meta_graphs()
Classes 6
Methods 28
Functions 95

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.

Custom Post Types 1

ID Name
dragblockformmsgDragBlock Form Entries

PHP Error Log 12 lines

[14-Dec-2023 15:35:27 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 153
[14-Dec-2023 15:35:27 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 154
[14-Dec-2023 15:35:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 155
[14-Dec-2023 15:35:27 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 159
[14-Dec-2023 15:35:27 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[14-Dec-2023 15:35:27 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[14-Dec-2023 15:35:37 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 153
[14-Dec-2023 15:35:37 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 154
[14-Dec-2023 15:35:37 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 155
[14-Dec-2023 15:35:37 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 159
[14-Dec-2023 15:35:37 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[14-Dec-2023 15:35:37 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
See also: All tests for this plugin, How to Hide DragBlock Admin Menus