WooCommerce Advanced Product Labels 1.2.3.7

Does "WooCommerce Advanced Product Labels" work with WordPress 6.0.1 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: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.0.1
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=09980fc9e7
Aspect after-activation
HTTP status 200
Load time 0.545 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.171 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.195 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.334 s0.300 s-0.034 s3.72 MiB4.07 MiB+ 355.43 KiB
/wp-admin/edit.php0.195 s0.218 s+0.023 s3.75 MiB4.1 MiB+ 352.48 KiB
/wp-admin/post-new.php0.773 s0.958 s+0.185 s5.55 MiB5.84 MiB+ 299.3 KiB
/wp-admin/upload.php0.402 s0.392 s-0.010 s3.68 MiB3.97 MiB+ 290.59 KiB
/wp-admin/options-writing.php0.148 s0.155 s+0.007 s3.62 MiB3.94 MiB+ 335.12 KiB
/wp-admin/media-new.php0.419 s0.214 s-0.205 s3.66 MiB3.95 MiB+ 290.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.234 s0.210 s-0.024 s3.69 MiB3.97 MiB+ 292.29 KiB
/wp-admin/post-new.php?post_type=page0.720 s0.806 s+0.086 s5.54 MiB5.82 MiB+ 290.27 KiB
/wp-admin/options-discussion.php0.233 s0.282 s+0.049 s3.6 MiB3.94 MiB+ 355.38 KiB
/wp-admin/edit-comments.php0.219 s0.230 s+0.011 s3.69 MiB3.98 MiB+ 290.63 KiB
/0.284 s0.187 s-0.097 s3.6 MiB
Average 0.360 s0.359 s-0.001 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.6%11,6391,07352
CSS35.5%7,85212012
JavaScript9.8%2,164787
PO File1.9%4302162
XML0.2%3402
Total 22,119 1,487 75

PHP Code Analysis | More results »

Lines of code 11,868
Total complexity 2,258
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 453
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

[14-Jul-2022 08:55:21 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
[14-Jul-2022 08:55:29 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