Order Attachments for WooCommerce 1.0

Does "Order Attachments for WooCommerce" work with WordPress 5.9.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 8.85 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.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/order-attachments-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=order-attachments-for-woocommerce%2Fwcoa.php&plugin_status=all&paged=1&s&_wpnonce=1d41ececd5
Aspect after-activation
HTTP status 200
Load time 0.385 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.212 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.348 s0.554 s+0.206 s3.37 MiB3.38 MiB+ 11.32 KiB
/wp-admin/edit.php0.194 s0.231 s+0.037 s3.4 MiB3.41 MiB+ 12.45 KiB
/wp-admin/post-new.php1.396 s1.777 s+0.381 s6.15 MiB6.17 MiB+ 18.26 KiB
/wp-admin/upload.php0.610 s0.531 s-0.079 s3.25 MiB3.27 MiB+ 18.19 KiB
/wp-admin/options-writing.php0.307 s0.179 s-0.128 s3.24 MiB3.24 MiB+ 1.41 KiB
/wp-admin/media-new.php0.317 s0.241 s-0.076 s3.23 MiB3.24 MiB+ 18.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.215 s+0.010 s3.27 MiB3.28 MiB+ 11.27 KiB
/wp-admin/post-new.php?post_type=page1.102 s0.922 s-0.180 s6.15 MiB6.16 MiB+ 13.84 KiB
/wp-admin/options-discussion.php0.290 s0.364 s+0.074 s3.22 MiB3.24 MiB+ 18.05 KiB
/wp-admin/edit-comments.php0.261 s0.276 s+0.015 s3.27 MiB3.28 MiB+ 10.17 KiB
/0.290 s0.230 s-0.060 s3.4 MiB3.36 MiB- 36.02 KiB
Average 0.484 s0.502 s+0.018 s3.81 MiB3.82 MiB+ 8.85 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
Language % Lines of code Comment lines Files
PHP96.1%222286
JavaScript2.6%601
CSS1.3%301
Total 231 28 8

PHP Code Analysis | More results »

Lines of code 194
Total complexity 36
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function wcoa_save_order_attachments()
Classes 0
Methods 0
Functions 15

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.

Database Tables 2

Meta Boxes

{
    "shop_order": {
        "wcoa_meta_box": {
            "title": "Attachment",
            "context": "side"
        }
    }
}

PHP Error Log 2 lines

[20-Mar-2022 19:50:46 UTC] PHP Notice:  Undefined index: wc_order_attachment_nonce in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 55
[20-Mar-2022 19:50:51 UTC] PHP Notice:  Undefined index: wc_order_attachment_nonce in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 55
See also: All tests for this plugin