WooCommerce Advanced Product Labels 1.2.3.8

Does "WooCommerce Advanced Product Labels" work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 315.22 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.026 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/advanced-product-labels-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=advanced-product-labels-for-woocommerce%2Fwoocommerce-advanced-products-labels.php&plugin_status=all&paged=1&s&_wpnonce=cf80e03e58
Aspect after-activation
HTTP status 200
Load time 0.498 s
Memory usage 4.59 MiB
JS errors None
Resource errors None

BeRocket

Page screenshot: BeRocket
URL /wp-admin/admin.php?page=berocket_account
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.94 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.181 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.315 s0.277 s-0.038 s3.72 MiB4.07 MiB+ 355.43 KiB
/wp-admin/edit.php0.186 s0.205 s+0.019 s3.76 MiB4.1 MiB+ 352.48 KiB
/wp-admin/post-new.php0.803 s1.047 s+0.244 s5.55 MiB5.84 MiB+ 299.3 KiB
/wp-admin/upload.php0.426 s0.383 s-0.043 s3.69 MiB3.97 MiB+ 290.59 KiB
/wp-admin/options-writing.php0.162 s0.146 s-0.016 s3.62 MiB3.95 MiB+ 335.12 KiB
/wp-admin/media-new.php0.426 s0.205 s-0.221 s3.66 MiB3.95 MiB+ 290.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.190 s+0.009 s3.69 MiB3.98 MiB+ 292.29 KiB
/wp-admin/post-new.php?post_type=page0.737 s1.061 s+0.324 s5.54 MiB5.83 MiB+ 290.27 KiB
/wp-admin/options-discussion.php0.235 s0.289 s+0.054 s3.6 MiB3.95 MiB+ 355.38 KiB
/wp-admin/edit-comments.php0.205 s0.225 s+0.020 s3.7 MiB3.98 MiB+ 290.63 KiB
/0.262 s0.191 s-0.071 s3.61 MiB
Average 0.358 s0.384 s+0.026 s4.01 MiB4.36 MiB+ 315.22 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP52.7%11,6591,07352
CSS35.5%7,85212012
JavaScript9.8%2,164787
PO File1.9%4302162
XML0.2%3402
Total 22,139 1,487 75

PHP Code Analysis | More results »

Lines of code 11,888
Total complexity 2,267
Median class complexity 23.0
Median method complexity 2.0
Most complex class BeRocket_conditions
Most complex function BeRocket_Framework::display_admin_settings()
Classes 40
Methods 455
Functions 33

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.

Database Tables 1

Options wp_options 3

Capabilities 2

PHP Error Log 18 lines

[31-Aug-2022 08:04:51 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_custom_posts_frontend() on null in /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php:14
Stack trace:
#0 /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php(22): BeRocket_products_label_style_generate->get_labels_ids()
#1 /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php(7): BeRocket_products_label_style_generate->get_styles()
#2 /wp-includes/class-wp-hook.php(307): BeRocket_products_label_style_generate->label_style()
#3 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(476): WP_Hook->do_action()
#5 /wp-includes/general-template.php(3058): do_action()
#6 /opt/bitnami/apps/wordpress/ in /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php on line 14
[31-Aug-2022 08:04:59 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_custom_posts_frontend() on null in /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php:14
Stack trace:
#0 /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php(22): BeRocket_products_label_style_generate->get_labels_ids()
#1 /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php(7): BeRocket_products_label_style_generate->get_styles()
#2 /wp-includes/class-wp-hook.php(307): BeRocket_products_label_style_generate->label_style()
#3 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(476): WP_Hook->do_action()
#5 /wp-includes/general-template.php(3058): do_action()
#6 /opt/bitnami/apps/wordpress/ in /wp-content/plugins/advanced-product-labels-for-woocommerce/includes/style_generate.php on line 14
See also: All tests for this plugin