Cost of Goods for WooCommerce 3.1.9

Does Cost of Goods for WooCommerce work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: -6.34 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/cost-of-goods-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=cost-of-goods-for-woocommerce%2Fcost-of-goods-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=206cc37f0b
Aspect after-activation
HTTP status 200
Load time 0.436 s
Memory usage 3.32 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.213 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.390 s0.345 s-0.045 s3.38 MiB3.38 MiB+ 728 bytes
/wp-admin/edit.php0.223 s0.219 s-0.004 s3.41 MiB3.41 MiB+ 728 bytes
/wp-admin/post-new.php1.034 s0.617 s-0.417 s5.46 MiB5.46 MiB+ 5.08 KiB
/wp-admin/upload.php0.736 s0.402 s-0.334 s3.32 MiB3.31 MiB- 16.7 KiB
/wp-admin/options-writing.php0.238 s0.338 s+0.100 s3.32 MiB3.29 MiB- 24.11 KiB
/wp-admin/media-new.php0.319 s0.354 s+0.035 s3.29 MiB3.29 MiB- 4.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.206 s-0.006 s3.31 MiB3.31 MiB+ 680 bytes
/wp-admin/post-new.php?post_type=page0.625 s0.610 s-0.015 s5.45 MiB5.45 MiB+ 680 bytes
/wp-admin/options-discussion.php0.330 s0.247 s-0.083 s3.3 MiB3.29 MiB- 16.21 KiB
/wp-admin/edit-comments.php0.260 s0.229 s-0.031 s3.34 MiB3.32 MiB- 16.7 KiB
/0.319 s0.211 s-0.108 s3.31 MiB3.31 MiB+ 712 bytes
Average 0.426 s0.343 s-0.083 s3.72 MiB3.71 MiB- 6.34 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
PO File
Language % Lines of code Comment lines Files
PHP64.7%7,2153,53438
PO File29.0%3,2271,8243
JavaScript5.8%64612110
CSS0.2%2661
JSON0.1%1502
Markdown0.1%901
XML0.0%501
Sass0.0%011
Total 11,143 5,486 57

PHP Code Analysis | More results »

Lines of code 7,221
Total complexity 1,137
Median class complexity 11.0
Median method complexity 2.0
Most complex class Alg_WC_Cost_of_Goods_Orders
Most complex function Alg_WC_Cost_of_Goods_Orders::update_order_items_costs()
Classes 35
Methods 305
Functions 14

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin