DragBlock 23.11.10

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: 293.73 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

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=dd9c4110f2
Aspect after-activation
HTTP status 200
Load time 0.428 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.149 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.186 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.217 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.364 s0.339 s-0.025 s3.38 MiB3.57 MiB+ 193.61 KiB
/wp-admin/edit.php0.323 s0.206 s-0.117 s3.41 MiB3.59 MiB+ 193.6 KiB
/wp-admin/post-new.php0.816 s1.156 s+0.340 s5.46 MiB6.25 MiB+ 810.45 KiB
/wp-admin/upload.php0.671 s0.480 s-0.191 s3.32 MiB3.5 MiB+ 176.95 KiB
/wp-admin/options-writing.php0.221 s0.273 s+0.052 s3.32 MiB3.48 MiB+ 168.8 KiB
/wp-admin/media-new.php0.307 s0.197 s-0.110 s3.29 MiB3.48 MiB+ 188.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.191 s-0.014 s3.31 MiB3.5 MiB+ 193.58 KiB
/wp-admin/post-new.php?post_type=page0.798 s0.815 s+0.017 s5.45 MiB6.24 MiB+ 810.04 KiB
/wp-admin/options-discussion.php0.307 s0.314 s+0.007 s3.3 MiB3.47 MiB+ 176.71 KiB
/wp-admin/edit-comments.php0.223 s0.226 s+0.003 s3.33 MiB3.51 MiB+ 176.23 KiB
/0.261 s0.203 s-0.058 s3.36 MiB3.5 MiB+ 142.63 KiB
Average 0.409 s0.400 s-0.009 s3.72 MiB4.01 MiB+ 293.73 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.6%3,5491,08178
JSON11.5%478018
JavaScript1.7%69366
Markdown0.7%3101
CSS0.5%21017
Total 4,148 1,084 180

PHP Code Analysis | More results »

Lines of code 3,401
Total complexity 636
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 86

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

[16-Nov-2023 05:42:21 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 153
[16-Nov-2023 05:42:21 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 154
[16-Nov-2023 05:42:21 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
[16-Nov-2023 05:42:21 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 159
[16-Nov-2023 05:42:21 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[16-Nov-2023 05:42:21 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
[16-Nov-2023 05:42:31 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 153
[16-Nov-2023 05:42:31 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 154
[16-Nov-2023 05:42:31 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
[16-Nov-2023 05:42:31 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 159
[16-Nov-2023 05:42:31 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 160
[16-Nov-2023 05:42:31 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