Compare Products for WooCommerce 3.1.3

Does "Compare Products for WooCommerce" work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 700.14 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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40+
WordPress.org page https://wordpress.org/plugins/woocommerce-compare-products/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=woocommerce-compare-products%2Fcompare_products.php&plugin_status=all&paged=1&s&_wpnonce=f619bc9f05
Aspect after-activation
HTTP status 500
Load time 0.269 s
Memory usage N/A
JS errors None
Resource errors None

WC Compare

Page screenshot: WC Compare
URL /wp-admin/admin.php?page=woo-compare-features
Aspect menu-item
HTTP status 200
Load time 0.678 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

WC Compare → Product Manager

Page screenshot: WC Compare → Product Manager
URL /wp-admin/admin.php?page=woo-compare-products
Aspect menu-item
HTTP status 200
Load time 0.382 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

WC Compare → Settings & Style

Page screenshot: WC Compare → Settings & Style
URL /wp-admin/admin.php?page=woo-compare-settings
Aspect menu-item
HTTP status 200
Load time 0.396 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

WC Compare → Settings & Style → Product Page

Page screenshot: WC Compare → Settings & Style → Product Page
URL /wp-admin/admin.php?page=woo-compare-settings&tab=product-page
Aspect menu-item-tab
HTTP status 200
Load time 0.498 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

WC Compare → Settings & Style → Compare Widget

Page screenshot: WC Compare → Settings & Style → Compare Widget
URL /wp-admin/admin.php?page=woo-compare-settings&tab=compare-widget
Aspect menu-item-tab
HTTP status 200
Load time 0.367 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

WC Compare → Settings & Style → Product Cards

Page screenshot: WC Compare → Settings & Style → Product Cards
URL /wp-admin/admin.php?page=woo-compare-settings&tab=product-cards
Aspect menu-item-tab
HTTP status 200
Load time 0.617 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

WC Compare → Settings & Style → Comparison Page

Page screenshot: WC Compare → Settings & Style → Comparison Page
URL /wp-admin/admin.php?page=woo-compare-settings&tab=comparison-page
Aspect menu-item-tab
HTTP status 200
Load time 0.550 s
Memory usage 4.05 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.258 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.275 s
Memory usage 6.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.382 s+0.026 s3.38 MiB4.06 MiB+ 698.7 KiB
/wp-admin/edit.php0.222 s0.225 s+0.003 s3.41 MiB4.15 MiB+ 762.84 KiB
/wp-admin/post-new.php0.894 s0.639 s-0.255 s5.46 MiB6.16 MiB+ 721.09 KiB
/wp-admin/upload.php0.804 s0.517 s-0.287 s3.32 MiB3.99 MiB+ 681.55 KiB
/wp-admin/options-writing.php0.257 s0.277 s+0.020 s3.32 MiB3.97 MiB+ 674.02 KiB
/wp-admin/media-new.php0.323 s0.309 s-0.014 s3.29 MiB3.97 MiB+ 693.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.222 s0.209 s-0.013 s3.31 MiB4.01 MiB+ 718.79 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.614 s+0.006 s5.45 MiB6.15 MiB+ 720.68 KiB
/wp-admin/options-discussion.php0.264 s0.249 s-0.015 s3.3 MiB3.97 MiB+ 684.3 KiB
/wp-admin/edit-comments.php0.237 s0.365 s+0.128 s3.34 MiB4 MiB+ 681.43 KiB
/0.287 s0.312 s+0.025 s3.31 MiB3.95 MiB+ 664.52 KiB
Average 0.407 s0.373 s-0.034 s3.72 MiB4.4 MiB+ 700.14 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.

JavaScript
PHP
JSON
Language % Lines of code Comment lines Files
JavaScript29.9%14,2431,50523
PHP28.7%13,6532,82654
JSON27.9%13,30804
CSS8.0%3,81911716
PO File3.9%1,8591,6252
LESS1.3%642265
SVG0.1%4905
Sass0.1%3013
HTML0.1%2901
Total 47,632 6,100 113

PHP Code Analysis | More results »

Lines of code 12,523
Total complexity 2,918
Median class complexity 13.0
Median method complexity 2.0
Most complex class A3Rev\WCCompare\FrameWork\Admin_Interface
Most complex function A3Rev\WCCompare\FrameWork\Admin_Interface::admin_forms()
Classes 43
Methods 510
Functions 21

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 3

Options wp_options 12

User Metadata wp_usermeta 1

Sidebar Widgets 1

ID Name
woo_compare_widgetWOO Compare Products

Meta Boxes

{
    "product": {
        "woo_compare_feature_box": {
            "title": "Compare Feature Fields",
            "context": "side"
        }
    }
}

PHP Error Log 10 lines

[22-Nov-2023 08:28:17 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, WP_Error given in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php:29
Stack trace:
#0 /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php(29): count()
#1 /wp-includes/class-wp-hook.php(324): A3Rev\WCCompare\Install->automatic_add_compare_categories()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin.php(175): do_action()
#5 /wp-admin/plugins.php(10): require_once('...')
#6 {main}
  thrown in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php on line 29
See also: All tests for this plugin