DX Delete Attached Media 2.0

Does DX Delete Attached Media work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 9.25 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 version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/dx-delete-attached-media/
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=dx-delete-attached-media%2Fdx-delete-attached-media.php&plugin_status=all&paged=1&s&_wpnonce=927839dfc8
Aspect after-activation
HTTP status 200
Load time 0.307 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

DX Delete Attached Media

Page screenshot: DX Delete Attached Media
URL /wp-admin/admin.php?page=dx-dam-options
Aspect menu-item
HTTP status 200
Load time 0.152 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

DX Delete Attached Media → Help page

Page screenshot: DX Delete Attached Media → Help page
URL /wp-admin/admin.php?page=dx_dam_help
Aspect menu-item
HTTP status 200
Load time 0.408 s
Memory usage 3.28 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.205 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.368 s0.400 s+0.032 s3.37 MiB3.38 MiB+ 12.62 KiB
/wp-admin/edit.php0.184 s0.185 s+0.001 s3.4 MiB3.41 MiB+ 13.32 KiB
/wp-admin/post-new.php0.997 s1.158 s+0.161 s5.65 MiB5.67 MiB+ 16.98 KiB
/wp-admin/upload.php0.559 s0.351 s-0.208 s3.25 MiB3.27 MiB+ 19.48 KiB
/wp-admin/options-writing.php0.361 s0.147 s-0.214 s3.24 MiB3.25 MiB+ 2.71 KiB
/wp-admin/media-new.php0.267 s0.216 s-0.051 s3.23 MiB3.25 MiB+ 19.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.188 s-0.015 s3.27 MiB3.28 MiB+ 13.5 KiB
/wp-admin/post-new.php?post_type=page1.098 s1.083 s-0.015 s5.65 MiB5.66 MiB+ 12.56 KiB
/wp-admin/options-discussion.php0.222 s0.340 s+0.118 s3.22 MiB3.24 MiB+ 19.34 KiB
/wp-admin/edit-comments.php0.219 s0.242 s+0.023 s3.27 MiB3.28 MiB+ 11.51 KiB
/0.274 s0.216 s-0.058 s3.4 MiB3.36 MiB- 39.96 KiB
Average 0.432 s0.411 s-0.021 s3.72 MiB3.73 MiB+ 9.25 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP56.0%5291133
CSS26.6%25101
JavaScript13.2%12501
PO File2.5%2481
SVG1.7%1601
Total 945 121 7

PHP Code Analysis | More results »

Lines of code 419
Total complexity 62
Median class complexity 23.0
Median method complexity 1.0
Most complex class DX_DAM_List
Most complex function DX_DAM_List::get_data()
Classes 1
Methods 6
Functions 12

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.

Options wp_options 1

PHP Error Log 1 lines

[07-Apr-2022 05:04:40 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/dx-delete-attached-media/dx-delete-attached-media.php on line 28
See also: All tests for this plugin, How to Hide DX Delete Attached Media Admin Menus