Cost of Goods for WooCommerce 2.6.3

Does Cost of Goods for WooCommerce work with WordPress 6.0.1 and PHP 7.4.8? 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.99 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=c8e29fafb1
Aspect after-activation
HTTP status 200
Load time 0.270 s
Memory usage 3.69 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.256 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.362 s0.389 s+0.027 s3.72 MiB3.72 MiB+ 1.84 KiB
/wp-admin/edit.php0.201 s0.285 s+0.084 s3.75 MiB3.76 MiB+ 1.84 KiB
/wp-admin/post-new.php1.055 s1.307 s+0.252 s5.55 MiB5.56 MiB+ 10.2 KiB
/wp-admin/upload.php0.474 s0.444 s-0.030 s3.68 MiB3.68 MiB+ 728 bytes
/wp-admin/options-writing.php0.178 s0.168 s-0.010 s3.62 MiB3.66 MiB+ 44.62 KiB
/wp-admin/media-new.php0.556 s0.228 s-0.328 s3.66 MiB3.66 MiB+ 904 bytes
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.212 s+0.003 s3.69 MiB3.69 MiB+ 1.79 KiB
/wp-admin/post-new.php?post_type=page0.982 s1.014 s+0.032 s5.54 MiB5.54 MiB+ 1.79 KiB
/wp-admin/options-discussion.php0.224 s0.351 s+0.127 s3.6 MiB3.66 MiB+ 65.2 KiB
/wp-admin/edit-comments.php0.241 s0.241 s+0.000 s3.69 MiB3.7 MiB+ 712 bytes
/0.307 s0.242 s-0.065 s3.6 MiB3.55 MiB- 52.67 KiB
Average 0.435 s0.444 s+0.008 s4.01 MiB4.02 MiB+ 6.99 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
JavaScript
Language % Lines of code Comment lines Files
PHP64.2%4,9972,42132
PO File21.2%1,6499882
JavaScript13.9%1,08128810
CSS0.3%2661
JSON0.2%1502
Markdown0.1%901
XML0.1%501
Sass0.0%011
Total 7,782 3,704 50

PHP Code Analysis | More results »

Lines of code 4,997
Total complexity 808
Median class complexity 10.5
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 30
Methods 230
Functions 10

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