DX Delete Attached Media 2.0.4.1

Does DX Delete Attached Media work with WordPress 6.2.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: 5.83 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.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=2e519026fb
Aspect after-activation
HTTP status 200
Load time 0.419 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.170 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.303 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.235 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.291 s0.255 s-0.036 s3.07 MiB3.09 MiB+ 20.91 KiB
/wp-admin/edit.php0.219 s0.191 s-0.028 s3.1 MiB3.12 MiB+ 20.91 KiB
/wp-admin/post-new.php0.782 s0.931 s+0.149 s5.02 MiB5.04 MiB+ 19.77 KiB
/wp-admin/upload.php0.595 s0.266 s-0.329 s3.02 MiB3.02 MiB+ 3.55 KiB
/wp-admin/options-writing.php0.184 s0.153 s-0.031 s3.01 MiB3 MiB- 8.18 KiB
/wp-admin/media-new.php0.457 s0.357 s-0.100 s2.99 MiB3.01 MiB+ 15.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.245 s+0.047 s3.01 MiB3.03 MiB+ 20.86 KiB
/wp-admin/post-new.php?post_type=page0.625 s1.016 s+0.391 s5.01 MiB5.03 MiB+ 15.36 KiB
/wp-admin/options-discussion.php0.226 s0.243 s+0.017 s3 MiB3 MiB+ 5.55 KiB
/wp-admin/edit-comments.php0.241 s0.213 s-0.028 s3.03 MiB3.03 MiB+ 3.22 KiB
/0.325 s0.235 s-0.090 s3.03 MiB2.98 MiB- 53.24 KiB
Average 0.377 s0.373 s-0.003 s3.39 MiB3.4 MiB+ 5.83 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

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