Order Attachments for WooCommerce 1.1

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

Summary

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

Memory usage: 6.05 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=5f98561699
Aspect after-activation
HTTP status 200
Load time 0.266 s
Memory usage 3 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.168 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.275 s0.245 s-0.030 s3.05 MiB3.06 MiB+ 12.78 KiB
/wp-admin/edit.php0.177 s0.279 s+0.102 s3.07 MiB3.09 MiB+ 12.8 KiB
/wp-admin/post-new.php0.746 s0.980 s+0.234 s4.97 MiB4.99 MiB+ 20.14 KiB
/wp-admin/upload.php0.516 s0.310 s-0.206 s2.99 MiB2.99 MiB- 3.84 KiB
/wp-admin/options-writing.php0.133 s0.148 s+0.015 s2.99 MiB2.97 MiB- 17.82 KiB
/wp-admin/media-new.php0.252 s0.228 s-0.024 s2.97 MiB2.98 MiB+ 8.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.158 s0.171 s+0.013 s2.98 MiB2.99 MiB+ 13.52 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.597 s-0.027 s4.96 MiB4.98 MiB+ 15.73 KiB
/wp-admin/options-discussion.php0.196 s0.282 s+0.086 s2.97 MiB2.97 MiB- 3.98 KiB
/wp-admin/edit-comments.php0.208 s0.203 s-0.005 s3 MiB3 MiB- 4.59 KiB
/0.271 s0.201 s-0.070 s2.94 MiB2.96 MiB+ 13.42 KiB
Average 0.323 s0.331 s+0.008 s3.35 MiB3.36 MiB+ 6.05 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
JavaScript
Language % Lines of code Comment lines Files
PHP86.6%272296
JavaScript9.6%3001
CSS3.8%1201
Total 314 29 8

PHP Code Analysis | More results »

Lines of code 234
Total complexity 43
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 17

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

[29-Nov-2022 06:17:18 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:18 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:20 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:20 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:20 UTC] PHP Warning:  Undefined array key "wc_order_attachment_nonce" in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 62
[29-Nov-2022 06:17:20 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:23 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:23 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:23 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:23 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:24 UTC] PHP Warning:  Undefined array key "wc_order_attachment_nonce" in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 62
[29-Nov-2022 06:17:24 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:26 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:26 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:26 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
[29-Nov-2022 06:17:27 UTC] PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/order-attachments-for-woocommerce/includes/wcoa_admin_configuration.php on line 175
See also: All tests for this plugin