DX Delete Attached Media 2.0.3

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

Summary

Errors
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.43 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=038271dae2
Aspect after-activation
HTTP status 200
Load time 0.243 s
Memory usage 3.04 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.151 s
Memory usage 3.14 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.295 s
Memory usage 3.04 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.208 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.729 s0.227 s-0.502 s3.07 MiB3.09 MiB+ 20.91 KiB
/wp-admin/edit.php0.180 s0.177 s-0.003 s3.1 MiB3.12 MiB+ 20.91 KiB
/wp-admin/post-new.php0.728 s0.574 s-0.154 s5.02 MiB5.04 MiB+ 19.77 KiB
/wp-admin/upload.php0.532 s0.414 s-0.118 s3.02 MiB3.02 MiB+ 3.55 KiB
/wp-admin/options-writing.php0.172 s0.159 s-0.013 s3.01 MiB3 MiB- 8.18 KiB
/wp-admin/media-new.php0.259 s0.239 s-0.020 s2.99 MiB3.01 MiB+ 15.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.195 s+0.015 s3.01 MiB3.03 MiB+ 20.86 KiB
/wp-admin/post-new.php?post_type=page0.589 s0.574 s-0.015 s5.01 MiB5.03 MiB+ 15.36 KiB
/wp-admin/options-discussion.php0.206 s0.212 s+0.006 s3 MiB3 MiB+ 5.55 KiB
/wp-admin/edit-comments.php0.212 s0.203 s-0.009 s3.03 MiB3.03 MiB+ 3.22 KiB
/0.297 s0.204 s-0.093 s2.97 MiB2.98 MiB+ 8.45 KiB
Average 0.371 s0.289 s-0.082 s3.38 MiB3.4 MiB+ 11.43 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.5%5751163
CSS26.3%26701
JavaScript13.3%13501
PO File2.4%2481
SVG1.6%1601
Total 1,017 124 7

PHP Code Analysis | More results »

Lines of code 465
Total complexity 71
Median class complexity 33.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 13

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 2 lines

[04-May-2023 15:01:19 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[04-May-2023 15:01:19 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
See also: All tests for this plugin, How to Hide DX Delete Attached Media Admin Menus