Compare Products for WooCommerce 3.2.1

Does "Compare Products for WooCommerce" work with WordPress 6.7.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: 709.85 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.7.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=99fba4922d
Aspect after-activation
HTTP status 500
Load time 0.315 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.617 s
Memory usage 4.42 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.406 s
Memory usage 4.2 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.335 s
Memory usage 4.2 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.486 s
Memory usage 4.2 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.374 s
Memory usage 4.2 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.365 s
Memory usage 4.2 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.651 s
Memory usage 4.2 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.288 s
Memory usage 4.07 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 1.819 s
Memory usage 6.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.290 s0.404 s+0.114 s3.48 MiB4.17 MiB+ 708.87 KiB
/wp-admin/edit.php0.185 s0.223 s+0.038 s3.54 MiB4.26 MiB+ 735.58 KiB
/wp-admin/post-new.php0.739 s0.902 s+0.163 s5.92 MiB6.65 MiB+ 743.76 KiB
/wp-admin/upload.php0.553 s0.323 s-0.230 s3.5 MiB4.17 MiB+ 694.57 KiB
/wp-admin/options-writing.php0.218 s0.198 s-0.020 s3.47 MiB4.15 MiB+ 698.56 KiB
/wp-admin/media-new.php0.275 s0.424 s+0.149 s3.46 MiB4.15 MiB+ 706.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.236 s0.197 s-0.039 s3.48 MiB4.18 MiB+ 717.43 KiB
/wp-admin/post-new.php?post_type=page0.582 s0.630 s+0.048 s5.92 MiB6.64 MiB+ 739.28 KiB
/wp-admin/options-discussion.php0.433 s0.232 s-0.201 s3.47 MiB4.15 MiB+ 695.06 KiB
/wp-admin/edit-comments.php0.232 s0.186 s-0.046 s3.49 MiB4.17 MiB+ 694.56 KiB
/0.291 s0.224 s-0.067 s3.41 MiB4.07 MiB+ 673.97 KiB
Average 0.367 s0.358 s-0.008 s3.92 MiB4.62 MiB+ 709.85 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,923
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

[27-Nov-2024 13:03:53 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