DragBlock 23.11.19

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

Page speed impact: 0.102 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=9e137e57be
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 3.5 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.157 s
Memory usage 3.46 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.169 s
Memory usage 3.53 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.173 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.324 s0.307 s-0.017 s3.38 MiB3.57 MiB+ 191.1 KiB
/wp-admin/edit.php0.211 s0.201 s-0.010 s3.41 MiB3.59 MiB+ 191.1 KiB
/wp-admin/post-new.php0.865 s2.333 s+1.468 s5.46 MiB14.67 MiB+ 9.21 MiB
/wp-admin/upload.php0.706 s0.397 s-0.309 s3.32 MiB3.49 MiB+ 174.45 KiB
/wp-admin/options-writing.php0.218 s0.188 s-0.030 s3.32 MiB3.48 MiB+ 166.3 KiB
/wp-admin/media-new.php0.300 s0.203 s-0.097 s3.29 MiB3.48 MiB+ 185.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.185 s-0.019 s3.31 MiB3.5 MiB+ 191.08 KiB
/wp-admin/post-new.php?post_type=page0.592 s0.828 s+0.236 s5.45 MiB14.65 MiB+ 9.2 MiB
/wp-admin/options-discussion.php0.334 s0.335 s+0.001 s3.3 MiB3.47 MiB+ 174.21 KiB
/wp-admin/edit-comments.php0.252 s0.221 s-0.031 s3.33 MiB3.5 MiB+ 173.73 KiB
/0.275 s0.210 s-0.065 s3.36 MiB3.49 MiB+ 140.13 KiB
Average 0.389 s0.492 s+0.102 s3.72 MiB5.54 MiB+ 1.81 MiB

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.7%3,6011,10982
JSON11.4%478018
JavaScript1.7%70367
Markdown0.7%3101
CSS0.5%21017
Total 4,201 1,112 185

PHP Code Analysis | More results »

Lines of code 3,442
Total complexity 646
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 87

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

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