DragBlock 23.12.03

Does DragBlock work with WordPress 6.4.1 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: 295.45 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.4.1
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=0c4796a969
Aspect after-activation
HTTP status 200
Load time 0.591 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.160 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.256 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.334 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.429 s0.378 s-0.051 s3.38 MiB3.57 MiB+ 194.84 KiB
/wp-admin/edit.php0.274 s0.244 s-0.030 s3.41 MiB3.6 MiB+ 194.84 KiB
/wp-admin/post-new.php0.983 s2.006 s+1.023 s5.46 MiB6.25 MiB+ 816.06 KiB
/wp-admin/upload.php0.691 s0.752 s+0.061 s3.32 MiB3.5 MiB+ 178.19 KiB
/wp-admin/options-writing.php0.227 s0.269 s+0.042 s3.32 MiB3.48 MiB+ 170.04 KiB
/wp-admin/media-new.php0.376 s0.265 s-0.111 s3.29 MiB3.48 MiB+ 189.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.264 s0.248 s-0.016 s3.31 MiB3.5 MiB+ 194.81 KiB
/wp-admin/post-new.php?post_type=page1.096 s1.355 s+0.259 s5.45 MiB6.25 MiB+ 815.65 KiB
/wp-admin/options-discussion.php0.348 s0.295 s-0.053 s3.3 MiB3.48 MiB+ 177.95 KiB
/wp-admin/edit-comments.php0.364 s0.274 s-0.090 s3.34 MiB3.51 MiB+ 177.46 KiB
/0.350 s0.502 s+0.152 s3.36 MiB3.49 MiB+ 140.49 KiB
Average 0.491 s0.599 s+0.108 s3.72 MiB4.01 MiB+ 295.45 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
PHP85.9%3,6701,14185
JSON11.2%478018
JavaScript1.7%71368
Markdown0.7%3101
CSS0.5%22018
Total 4,272 1,144 190

PHP Code Analysis | More results »

Lines of code 3,505
Total complexity 654
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 90

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

[03-Dec-2023 15:34:55 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 153
[03-Dec-2023 15:34:55 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 154
[03-Dec-2023 15:34:55 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
[03-Dec-2023 15:34:55 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 159
[03-Dec-2023 15:34:55 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[03-Dec-2023 15:34:55 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
[03-Dec-2023 15:35:06 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 153
[03-Dec-2023 15:35:06 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 154
[03-Dec-2023 15:35:06 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
[03-Dec-2023 15:35:06 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 159
[03-Dec-2023 15:35:06 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[03-Dec-2023 15:35:06 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