DragBlock 23.10.19

Does DragBlock work with WordPress 6.3.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: 232.8 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.3.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=5a20e4b4b3
Aspect after-activation
HTTP status 200
Load time 0.276 s
Memory usage 2.87 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.164 s
Memory usage 2.83 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.179 s
Memory usage 2.9 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.203 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.309 s-0.037 s2.83 MiB2.93 MiB+ 107.82 KiB
/wp-admin/edit.php0.205 s0.219 s+0.014 s2.85 MiB2.96 MiB+ 107.82 KiB
/wp-admin/post-new.php0.728 s1.054 s+0.326 s5.22 MiB6 MiB+ 799.83 KiB
/wp-admin/upload.php0.576 s0.518 s-0.058 s2.77 MiB2.86 MiB+ 91.17 KiB
/wp-admin/options-writing.php0.228 s0.220 s-0.008 s2.76 MiB2.84 MiB+ 82.4 KiB
/wp-admin/media-new.php0.396 s0.219 s-0.177 s2.74 MiB2.84 MiB+ 102.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.222 s+0.025 s2.76 MiB2.86 MiB+ 107.8 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.752 s+0.148 s5.21 MiB5.98 MiB+ 791.41 KiB
/wp-admin/options-discussion.php0.209 s0.271 s+0.062 s2.75 MiB2.84 MiB+ 90.93 KiB
/wp-admin/edit-comments.php0.261 s0.223 s-0.038 s2.78 MiB2.87 MiB+ 90.45 KiB
/0.286 s0.223 s-0.063 s3.13 MiB3.32 MiB+ 188.56 KiB
Average 0.367 s0.385 s+0.018 s3.25 MiB3.48 MiB+ 232.8 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.

JSON
Language % Lines of code Comment lines Files
JSON92.2%37,125018
PHP7.5%3,0141,00172
JavaScript0.2%68365
Markdown0.1%3101
CSS0.1%22018
Total 40,260 1,004 174

PHP Code Analysis | More results »

Lines of code 2,882
Total complexity 563
Median class complexity 2.0
Median method complexity 2.0
Most complex class DragBlock_Manage_Fonts_Admin
Most complex function dragblock_attributes_parsing()
Classes 6
Methods 28
Functions 82

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

[22-Oct-2023 08:46:50 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 133
[22-Oct-2023 08:46:50 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 134
[22-Oct-2023 08:46:50 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 135
[22-Oct-2023 08:46:50 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 139
[22-Oct-2023 08:46:50 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[22-Oct-2023 08:46:50 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 140
[22-Oct-2023 08:46:59 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 133
[22-Oct-2023 08:46:59 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 134
[22-Oct-2023 08:46:59 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 135
[22-Oct-2023 08:46:59 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 139
[22-Oct-2023 08:46:59 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[22-Oct-2023 08:46:59 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 140
See also: All tests for this plugin, How to Hide DragBlock Admin Menus