Cost of Goods for WooCommerce 3.3.7

Does Cost of Goods for WooCommerce work with WordPress 6.5.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: -11.18 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.5.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=c38b753060
Aspect after-activation
HTTP status 200
Load time 0.298 s
Memory usage 3.38 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.221 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.476 s0.358 s-0.118 s3.44 MiB3.44 MiB+ 728 bytes
/wp-admin/edit.php0.258 s0.215 s-0.043 s3.46 MiB3.46 MiB+ 728 bytes
/wp-admin/post-new.php1.010 s0.669 s-0.341 s5.59 MiB5.6 MiB+ 5.08 KiB
/wp-admin/upload.php0.674 s0.498 s-0.176 s3.38 MiB3.36 MiB- 16.7 KiB
/wp-admin/options-writing.php0.273 s0.211 s-0.062 s3.37 MiB3.35 MiB- 24.73 KiB
/wp-admin/media-new.php0.356 s0.277 s-0.079 s3.35 MiB3.35 MiB- 4.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.215 s-0.008 s3.37 MiB3.37 MiB+ 680 bytes
/wp-admin/post-new.php?post_type=page0.653 s0.685 s+0.032 s5.59 MiB5.59 MiB+ 680 bytes
/wp-admin/options-discussion.php0.393 s0.284 s-0.109 s3.36 MiB3.34 MiB- 16.2 KiB
/wp-admin/edit-comments.php0.283 s0.243 s-0.040 s3.39 MiB3.38 MiB- 16.7 KiB
/0.356 s0.188 s-0.168 s3.42 MiB3.37 MiB- 51.94 KiB
Average 0.450 s0.349 s-0.101 s3.79 MiB3.78 MiB- 11.18 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
PHP66.3%7,7923,83038
PO File27.4%3,2271,8243
JavaScript5.8%6789910
CSS0.3%3261
JSON0.1%1502
Markdown0.1%901
XML0.0%501
Sass0.0%011
Total 11,758 5,760 57

PHP Code Analysis | More results »

Lines of code 7,801
Total complexity 1,177
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 324
Functions 20

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