DX Delete Attached Media 2.0.2

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: 3.87 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=04e6394e1a
Aspect after-activation
HTTP status 200
Load time 0.245 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.246 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.271 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.254 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.457 s0.232 s-0.225 s3.07 MiB3.09 MiB+ 18.45 KiB
/wp-admin/edit.php0.181 s0.215 s+0.034 s3.1 MiB3.12 MiB+ 17.15 KiB
/wp-admin/post-new.php0.780 s1.403 s+0.623 s5.02 MiB5.04 MiB+ 19.72 KiB
/wp-admin/upload.php0.533 s0.407 s-0.126 s3.02 MiB3.02 MiB- 216 bytes
/wp-admin/options-writing.php0.228 s0.145 s-0.083 s3.02 MiB3 MiB- 11.94 KiB
/wp-admin/media-new.php0.342 s0.199 s-0.143 s3 MiB3.01 MiB+ 11.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.176 s-0.027 s3.01 MiB3.03 MiB+ 19.05 KiB
/wp-admin/post-new.php?post_type=page1.034 s0.902 s-0.132 s5.01 MiB5.03 MiB+ 14.99 KiB
/wp-admin/options-discussion.php0.260 s0.226 s-0.034 s3 MiB3 MiB+ 5.19 KiB
/wp-admin/edit-comments.php0.242 s0.198 s-0.044 s3.03 MiB3.03 MiB+ 2.85 KiB
/0.301 s0.265 s-0.036 s3.03 MiB2.98 MiB- 54.32 KiB
Average 0.415 s0.397 s-0.018 s3.39 MiB3.4 MiB+ 3.87 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
PHP55.9%5611133
CSS26.6%26701
JavaScript13.5%13501
PO File2.4%2481
SVG1.6%1601
Total 1,003 121 7

PHP Code Analysis | More results »

Lines of code 451
Total complexity 72
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 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 2 lines

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