Ni Purchase Order(PO) For WooCommerce 1.2.0

Does "Ni Purchase Order(PO) For WooCommerce" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 11.25 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 <10
WordPress.org page https://wordpress.org/plugins/ni-purchase-orderpo-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=ni-purchase-orderpo-for-woocommerce%2Fni-purchase-order-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=01008aa93b
Aspect after-activation
HTTP status 200
Load time 0.280 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

PO

Page screenshot: PO
URL /wp-admin/admin.php?page=niwoopo-dashboard
Aspect menu-item
HTTP status 200
Load time 0.386 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

PO → Manage PO

Page screenshot: PO → Manage PO
URL /wp-admin/admin.php?page=niwoopo-manage-po
Aspect menu-item
HTTP status 200
Load time 0.201 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

PO → Stock Report

Page screenshot: PO → Stock Report
URL /wp-admin/admin.php?page=niwoopo-stock-report
Aspect menu-item
HTTP status 200
Load time 0.391 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

PO → Setting

Page screenshot: PO → Setting
URL /wp-admin/admin.php?page=niwoopo-setting
Aspect menu-item
HTTP status 200
Load time 0.166 s
Memory usage 3.13 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.239 s
Memory usage 2.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.231 s-0.050 s3.05 MiB3.07 MiB+ 19.81 KiB
/wp-admin/edit.php0.184 s0.191 s+0.007 s3.07 MiB3.09 MiB+ 19.1 KiB
/wp-admin/post-new.php0.764 s0.938 s+0.174 s4.97 MiB4.99 MiB+ 24.18 KiB
/wp-admin/upload.php0.532 s0.253 s-0.279 s2.99 MiB2.99 MiB+ 2.45 KiB
/wp-admin/options-writing.php0.141 s0.159 s+0.018 s2.99 MiB2.98 MiB- 10.91 KiB
/wp-admin/media-new.php0.268 s0.230 s-0.038 s2.97 MiB2.98 MiB+ 14.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.305 s0.194 s-0.111 s2.98 MiB3 MiB+ 19.8 KiB
/wp-admin/post-new.php?post_type=page0.646 s0.728 s+0.082 s4.96 MiB4.98 MiB+ 19.77 KiB
/wp-admin/options-discussion.php0.207 s0.261 s+0.054 s2.98 MiB2.98 MiB+ 2.94 KiB
/wp-admin/edit-comments.php0.186 s0.217 s+0.031 s3 MiB3 MiB+ 2.48 KiB
/0.278 s0.210 s-0.068 s2.94 MiB2.95 MiB+ 9.45 KiB
Average 0.345 s0.328 s-0.016 s3.35 MiB3.37 MiB+ 11.25 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
PHP93.8%52,18215,533208
CSS2.4%1,35911447
Markdown1.7%94706
JavaScript1.2%656475
XML0.3%19426
JSON0.3%15405
YAML0.2%8624
SVG0.1%3012
HTML0.0%1701
Total 55,625 15,699 284

PHP Code Analysis | More results »

Lines of code 37,776
Total complexity 8,958
Median class complexity 11.0
Median method complexity 1.0
Most complex class Dompdf\Cpdf
Most complex function HTML5_TreeBuilder::emitToken()
Classes 191
Methods 2,037
Functions 0

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

PHP Error Log 3 lines

[29-Nov-2022 22:43:22 UTC] PHP Deprecated:  Optional parameter $start_date declared before required parameter $order_status is implicitly treated as a required parameter in /wp-content/plugins/ni-purchase-orderpo-for-woocommerce/includes/niwoopo-dashboard.php on line 87
[29-Nov-2022 22:43:22 UTC] PHP Deprecated:  Optional parameter $end_date declared before required parameter $order_status is implicitly treated as a required parameter in /wp-content/plugins/ni-purchase-orderpo-for-woocommerce/includes/niwoopo-dashboard.php on line 87
[29-Nov-2022 22:43:22 UTC] PHP Deprecated:  DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /wp-content/plugins/ni-purchase-orderpo-for-woocommerce/includes/niwoopo-dashboard.php on line 223
See also: All tests for this plugin, How to Hide Ni Purchase Order(PO) For WooCommerce Admin Menus