Cost of Goods: Product Cost & Profit Calculator for WooCommerce 3.6.0

Does "Cost of Goods: Product Cost & Profit Calculator for WooCommerce" work with WordPress 6.7.1 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.19 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.7.1
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=9e9167ef9e
Aspect after-activation
HTTP status 200
Load time 0.294 s
Memory usage 3.5 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.194 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.353 s0.268 s-0.085 s3.48 MiB3.48 MiB+ 856 bytes
/wp-admin/edit.php0.218 s0.207 s-0.011 s3.54 MiB3.54 MiB+ 856 bytes
/wp-admin/post-new.php0.860 s0.645 s-0.215 s5.92 MiB5.93 MiB+ 5.26 KiB
/wp-admin/upload.php0.623 s0.730 s+0.107 s3.5 MiB3.48 MiB- 16.57 KiB
/wp-admin/options-writing.php0.246 s0.224 s-0.022 s3.47 MiB3.46 MiB- 12.58 KiB
/wp-admin/media-new.php0.297 s0.286 s-0.011 s3.46 MiB3.46 MiB- 4.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.208 s-0.008 s3.48 MiB3.48 MiB+ 6.29 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.704 s+0.086 s5.92 MiB5.92 MiB+ 808 bytes
/wp-admin/options-discussion.php0.308 s0.281 s-0.027 s3.47 MiB3.46 MiB- 16.08 KiB
/wp-admin/edit-comments.php0.441 s0.240 s-0.201 s3.49 MiB3.48 MiB- 16.58 KiB
/0.378 s0.244 s-0.134 s3.48 MiB3.41 MiB- 70.92 KiB
Average 0.414 s0.367 s-0.047 s3.93 MiB3.92 MiB- 11.19 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
PHP54.2%8,0584,14841
PO File40.3%6,0003,9404
JavaScript5.0%74810611
CSS0.2%3261
JSON0.2%2502
Markdown0.1%901
XML0.0%501
Sass0.0%011
Total 14,877 8,201 62

PHP Code Analysis | More results »

Lines of code 8,067
Total complexity 1,222
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 38
Methods 344
Functions 21

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