Compare Products for WooCommerce 3.2.0

Does "Compare Products for WooCommerce" work with WordPress 6.5.5 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: 735.95 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.5.5
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=9dc1aecc7a
Aspect after-activation
HTTP status 500
Load time 0.451 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.716 s
Memory usage 4.37 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.457 s
Memory usage 4.1 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.459 s
Memory usage 4.1 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.541 s
Memory usage 4.09 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.413 s
Memory usage 4.08 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.412 s
Memory usage 4.08 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.798 s
Memory usage 4.12 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.327 s
Memory usage 4.02 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.213 s
Memory usage 6.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.353 s-0.028 s3.44 MiB4.13 MiB+ 707.77 KiB
/wp-admin/edit.php0.219 s0.217 s-0.002 s3.46 MiB4.22 MiB+ 771.91 KiB
/wp-admin/post-new.php0.970 s0.673 s-0.297 s5.59 MiB6.44 MiB+ 870.6 KiB
/wp-admin/upload.php0.649 s0.405 s-0.244 s3.38 MiB4.05 MiB+ 690.51 KiB
/wp-admin/options-writing.php0.233 s0.219 s-0.014 s3.37 MiB4.04 MiB+ 682.47 KiB
/wp-admin/media-new.php0.333 s0.294 s-0.039 s3.35 MiB4.04 MiB+ 702.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.218 s+0.010 s3.37 MiB4.08 MiB+ 727.87 KiB
/wp-admin/post-new.php?post_type=page0.607 s0.781 s+0.174 s5.59 MiB6.43 MiB+ 866.19 KiB
/wp-admin/options-discussion.php0.400 s0.384 s-0.016 s3.36 MiB4.03 MiB+ 691.31 KiB
/wp-admin/edit-comments.php0.259 s0.242 s-0.017 s3.39 MiB4.09 MiB+ 710.51 KiB
/0.318 s0.265 s-0.053 s3.37 MiB4.02 MiB+ 673.59 KiB
Average 0.416 s0.368 s-0.048 s3.79 MiB4.51 MiB+ 735.95 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
JavaScript30.0%14,3211,53226
PHP28.6%13,6822,84355
JSON27.9%13,35005
CSS8.0%3,81911716
PO File3.9%1,8591,6252
LESS1.3%642265
SVG0.1%5106
Sass0.1%4515
HTML0.1%2901
Total 47,798 6,144 121

PHP Code Analysis | More results »

Lines of code 12,552
Total complexity 2,922
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 23

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

[01-Jul-2024 16:18:58 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