Does "Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin" work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .
2 | PHP fatal errors |
1 | JavaScript exceptions |
1 | Page failed to load
|
No resource errors |
Memory usage: 87.65 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.075 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.4.2 |
---|---|
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=8b1ad4eea0 |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.208 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.333 s |
Memory usage | 3.44 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.472 s |
Memory usage | 3.46 MiB |
JS errors |
|
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.183 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.407 s | 0.494 s | +0.087 s | 3.38 MiB | 3.47 MiB | + 94.03 KiB |
/wp-admin/edit.php | 0.223 s | 0.336 s | +0.113 s | 3.41 MiB | 3.5 MiB | + 93.69 KiB |
/wp-admin/post-new.php | 0.936 s | 0.937 s | +0.001 s | 5.46 MiB | 5.56 MiB | + 102.53 KiB |
/wp-admin/upload.php | 0.617 s | 0.621 s | +0.004 s | 3.32 MiB | 3.4 MiB | + 77.05 KiB |
/wp-admin/options-writing.php | 0.231 s | 0.285 s | +0.054 s | 3.32 MiB | 3.38 MiB | + 68.95 KiB |
/wp-admin/media-new.php | 0.330 s | 0.382 s | +0.052 s | 3.29 MiB | 3.38 MiB | + 88.87 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.209 s | 0.305 s | +0.096 s | 3.31 MiB | 3.4 MiB | + 94.06 KiB |
/wp-admin/post-new.php?post_type=page | 0.626 s | 0.756 s | +0.130 s | 5.45 MiB | 5.55 MiB | + 102.54 KiB |
/wp-admin/options-discussion.php | 0.413 s | 0.407 s | -0.006 s | 3.3 MiB | 3.38 MiB | + 78.73 KiB |
/wp-admin/edit-comments.php | 0.256 s | 0.609 s | +0.353 s | 3.33 MiB | 3.41 MiB | + 76.05 KiB |
/ | 0.300 s | 0.239 s | -0.061 s | 3.36 MiB | ||
Average | 0.413 s | 0.488 s | +0.075 s | 3.72 MiB | 3.84 MiB | + 87.65 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 | 35.0% | 3,597 | 1,053 | 14 | |
CSS | 31.5% | 3,240 | 178 | 6 | |
JavaScript | 25.4% | 2,614 | 182 | 8 | |
PO File | 7.8% | 803 | 324 | 2 | |
SVG | 0.2% | 24 | 1 | 1 | |
Total | 10,278 | 1,738 | 31 |
Lines of code | 3,601 |
---|---|
Total complexity | 644 |
Median class complexity | 12.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"
}
}
}
[12-Dec-2023 16:10:35 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(324): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3683): do_action_ref_array()
#4 /wp-includes/query.php(1005): 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
[12-Dec-2023 16:10:46 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(324): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3683): do_action_ref_array()
#4 /wp-includes/query.php(1005): 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