PDF Invoices and Packing Slips For WooCommerce 1.3.9

Does "PDF Invoices and Packing Slips For WooCommerce" work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 70.39 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.032 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
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/pdf-invoices-and-packing-slips-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=pdf-invoices-and-packing-slips-for-woocommerce%2Fstart.php&plugin_status=all&paged=1&s&_wpnonce=3d770e5e81
Aspect after-activation
HTTP status 200
Load time 0.487 s
Memory usage 3.55 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.230 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.388 s+0.025 s3.47 MiB3.54 MiB+ 68.63 KiB
/wp-admin/edit.php0.212 s0.292 s+0.080 s3.54 MiB3.61 MiB+ 68.73 KiB
/wp-admin/upload.php0.631 s0.440 s-0.191 s3.49 MiB3.54 MiB+ 51.55 KiB
/wp-admin/options-writing.php0.200 s0.256 s+0.056 s3.41 MiB3.52 MiB+ 114.35 KiB
/wp-admin/media-new.php0.251 s0.328 s+0.077 s3.4 MiB3.52 MiB+ 127.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.271 s+0.083 s3.47 MiB3.54 MiB+ 74.41 KiB
/wp-admin/options-discussion.php0.265 s0.375 s+0.110 s3.41 MiB3.52 MiB+ 116.04 KiB
/wp-admin/edit-comments.php0.238 s0.380 s+0.142 s3.49 MiB3.54 MiB+ 51.54 KiB
/0.328 s0.238 s-0.090 s3.45 MiB3.42 MiB- 39.46 KiB
Average 0.297 s0.330 s+0.032 s3.46 MiB3.53 MiB+ 70.39 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
JSON
Language % Lines of code Comment lines Files
PHP74.8%5,36899714
JSON9.9%70801
PO File6.8%4912341
SVG6.7%484053
JavaScript1.2%8522
CSS0.6%4512
Total 7,181 1,234 73

PHP Code Analysis | More results »

Lines of code 4,649
Total complexity 724
Median class complexity 52.0
Median method complexity 2.0
Most complex class APIFW_Invoice
Most complex function APIFW_Invoice::get_invoice_html_template()
Classes 8
Methods 73
Functions 5

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.

Custom Post Types 1

ID Name
apifw_inv_templatesInvoice Templates

PHP Error Log 20 lines

[13-Sep-2024 10:07:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_container() in /wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-backend.php:909
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): APIFW_Backend->add_order_page_meta_box()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1716): do_action()
#4 /wp-admin/edit-form-blocks.php(279): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-backend.php on line 909
[13-Sep-2024 10:07:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_container() in /wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-backend.php:909
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): APIFW_Backend->add_order_page_meta_box()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1716): do_action()
#4 /wp-admin/edit-form-blocks.php(279): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-backend.php on line 909
See also: All tests for this plugin