Does "Cost of Goods: Product Cost & Profit Calculator for WooCommerce" work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .
| 4 | PHP deprecation warnings |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: -4.58 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.
| WordPress version | 6.9 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 10,000+ |
| WordPress.org page | https://wordpress.org/plugins/cost-of-goods-for-woocommerce/ |
| Badges |
|
| 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=a72b504804 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.377 s |
| Memory usage | 3.73 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.221 s |
| Memory usage | 4.1 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.491 s | 0.376 s | -0.115 s | 3.77 MiB | 3.77 MiB | + 944 bytes |
| /wp-admin/edit.php | 0.401 s | 0.360 s | -0.041 s | 3.78 MiB | 3.78 MiB | + 944 bytes |
| /wp-admin/post-new.php | 0.858 s | 0.788 s | -0.070 s | 6.3 MiB | 6.31 MiB | + 5.35 KiB |
| /wp-admin/upload.php | 0.512 s | 0.486 s | -0.026 s | 3.74 MiB | 3.72 MiB | - 16.48 KiB |
| /wp-admin/options-writing.php | 0.360 s | 0.340 s | -0.020 s | 3.71 MiB | 3.7 MiB | - 12.49 KiB |
| /wp-admin/media-new.php | 0.530 s | 0.377 s | -0.153 s | 3.7 MiB | 3.7 MiB | - 4.3 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.350 s | 0.323 s | -0.027 s | 3.71 MiB | 3.72 MiB | + 6.38 KiB |
| /wp-admin/post-new.php?post_type=page | 0.757 s | 0.702 s | -0.055 s | 6.29 MiB | 6.29 MiB | + 896 bytes |
| /wp-admin/options-discussion.php | 0.375 s | 0.424 s | +0.049 s | 3.71 MiB | 3.7 MiB | - 16 KiB |
| /wp-admin/edit-comments.php | 0.372 s | 0.358 s | -0.014 s | 3.73 MiB | 3.72 MiB | - 16.49 KiB |
| / | 0.309 s | 0.220 s | -0.089 s | 4.1 MiB | 4.1 MiB | + 928 bytes |
| Average | 0.483 s | 0.432 s | -0.051 s | 4.23 MiB | 4.23 MiB | - 4.58 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 53.2% | 9,195 | 4,625 | 44 | |
| PO File | 36.6% | 6,319 | 4,452 | 4 | |
| JavaScript | 9.8% | 1,699 | 289 | 12 | |
| CSS | 0.2% | 32 | 6 | 1 | |
| JSON | 0.1% | 25 | 0 | 2 | |
| Markdown | 0.1% | 9 | 0 | 1 | |
| XML | 0.0% | 5 | 0 | 1 | |
| Sass | 0.0% | 0 | 1 | 1 | |
| Total | 17,284 | 9,373 | 66 | ||
| Lines of code | 9,215 |
|---|---|
| Total complexity | 1,393 |
| 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 | 41 |
|---|---|
| Methods | 393 |
| Functions | 24 |
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.
[03-Dec-2025 15:13:46 UTC] PHP Deprecated: Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 15:13:46 UTC] PHP Deprecated: Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 15:13:55 UTC] PHP Deprecated: Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 15:13:55 UTC] PHP Deprecated: Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131