DX Delete Attached Media 2.0.4

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: 43.32 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=563b9977e3
Aspect after-activation
HTTP status 200
Load time 0.255 s
Memory usage 3.08 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.159 s
Memory usage 3.18 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.319 s
Memory usage 3.08 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.194 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.774 s0.244 s-0.530 s3.07 MiB3.13 MiB+ 61.71 KiB
/wp-admin/edit.php0.187 s0.193 s+0.006 s3.1 MiB3.16 MiB+ 61.71 KiB
/wp-admin/post-new.php0.731 s0.596 s-0.135 s5.02 MiB5.05 MiB+ 27.99 KiB
/wp-admin/upload.php0.535 s0.459 s-0.076 s3.02 MiB3.06 MiB+ 44.36 KiB
/wp-admin/options-writing.php0.179 s0.172 s-0.007 s3.01 MiB3.04 MiB+ 32.63 KiB
/wp-admin/media-new.php0.271 s0.254 s-0.017 s2.99 MiB3.05 MiB+ 56.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.211 s+0.033 s3.01 MiB3.07 MiB+ 61.66 KiB
/wp-admin/post-new.php?post_type=page0.595 s0.630 s+0.035 s5.01 MiB5.04 MiB+ 23.58 KiB
/wp-admin/options-discussion.php0.220 s0.260 s+0.040 s3 MiB3.04 MiB+ 46.36 KiB
/wp-admin/edit-comments.php0.219 s0.227 s+0.008 s3.03 MiB3.07 MiB+ 44.02 KiB
/0.298 s0.224 s-0.074 s2.97 MiB2.99 MiB+ 16.27 KiB
Average 0.381 s0.315 s-0.065 s3.38 MiB3.43 MiB+ 43.32 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.3%5701163
CSS26.4%26701
JavaScript13.3%13501
PO File2.4%2481
SVG1.6%1601
Total 1,012 124 7

PHP Code Analysis | More results »

Lines of code 460
Total complexity 70
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

[16-May-2023 08:41:24 UTC] PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /wp-includes/functions.php on line 423
[16-May-2023 08:41:24 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