Does "Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
2 | PHP fatal errors |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 81.88 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.1.1 |
---|---|
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/woo-advanced-discounts/ |
Badges |
|
URL | /wp-admin/edit.php?post_type=o-discount&page=wad-pro-features |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=woo-advanced-discounts%2Fwad.php&plugin_status=all&paged=1&s&_wpnonce=773c7ae37b |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.194 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit.php?post_type=o-discount |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.313 s |
Memory usage | 3.11 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php?post_type=o-discount |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.280 s |
Memory usage | 3.27 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.201 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.288 s | 0.271 s | -0.017 s | 3.05 MiB | 3.13 MiB | + 90.04 KiB |
/wp-admin/edit.php | 0.187 s | 0.187 s | +0.000 s | 3.07 MiB | 3.16 MiB | + 89.38 KiB |
/wp-admin/post-new.php | 0.772 s | 0.999 s | +0.227 s | 4.97 MiB | 5.06 MiB | + 97.41 KiB |
/wp-admin/upload.php | 0.547 s | 0.276 s | -0.271 s | 2.99 MiB | 3.06 MiB | + 72.38 KiB |
/wp-admin/options-writing.php | 0.169 s | 0.163 s | -0.006 s | 2.99 MiB | 3.05 MiB | + 59.91 KiB |
/wp-admin/media-new.php | 0.272 s | 0.246 s | -0.026 s | 2.97 MiB | 3.05 MiB | + 84.51 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.181 s | 0.194 s | +0.013 s | 2.98 MiB | 3.07 MiB | + 89.7 KiB |
/wp-admin/post-new.php?post_type=page | 0.605 s | 0.808 s | +0.203 s | 4.96 MiB | 5.05 MiB | + 88.99 KiB |
/wp-admin/options-discussion.php | 0.216 s | 0.295 s | +0.079 s | 2.98 MiB | 3.05 MiB | + 73.75 KiB |
/wp-admin/edit-comments.php | 0.200 s | 0.232 s | +0.032 s | 3 MiB | 3.07 MiB | + 72.73 KiB |
/ | 0.280 s | 0.179 s | -0.101 s | 2.94 MiB | ||
Average | 0.338 s | 0.350 s | +0.012 s | 3.35 MiB | 3.48 MiB | + 81.88 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 | 34.8% | 3,597 | 1,053 | 14 | |
CSS | 31.3% | 3,240 | 178 | 6 | |
JavaScript | 24.9% | 2,578 | 182 | 8 | |
PO File | 8.8% | 906 | 412 | 2 | |
SVG | 0.2% | 24 | 1 | 1 | |
Total | 10,345 | 1,826 | 31 |
Lines of code | 3,601 |
---|---|
Total complexity | 642 |
Median class complexity | 11.0 |
Median method complexity | 2.0 |
Most complex class | WAD_Discount |
Most complex function | O_Utils::admin_fields() |
Classes | 10 |
---|---|
Methods | 122 |
Functions | 19 |
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.
ID | Name |
---|---|
o-list | List |
o-discount | Discount |
{
"o-list": {
"o-list-settings-box": {
"title": "List settings",
"context": "advanced"
}
},
"o-discount": {
"o-discount-settings-box": {
"title": "Discount settings",
"context": "advanced"
}
}
}
[03-Mar-2023 02:56:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1360
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-includes/query.php(1004): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('...')
#7 /wp-blog-header.php(19): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1360
[03-Mar-2023 02:56:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1360
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-includes/query.php(1004): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('...')
#7 /wp-blog-header.php(19): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1360