Compare Products for WooCommerce 3.1.4

Does "Compare Products for WooCommerce" work with WordPress 6.4.2 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: 695.4 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.2
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=8886df4f63
Aspect after-activation
HTTP status 500
Load time 0.453 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.769 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.433 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.429 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.542 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.395 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.452 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.699 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.327 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 3.046 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.403 s0.437 s+0.034 s3.38 MiB4.06 MiB+ 698.7 KiB
/wp-admin/edit.php0.283 s0.267 s-0.016 s3.41 MiB4.15 MiB+ 762.84 KiB
/wp-admin/post-new.php0.920 s1.014 s+0.094 s5.46 MiB6.16 MiB+ 721.09 KiB
/wp-admin/upload.php0.627 s0.420 s-0.207 s3.32 MiB3.99 MiB+ 681.56 KiB
/wp-admin/options-writing.php0.242 s0.371 s+0.129 s3.32 MiB3.97 MiB+ 674.02 KiB
/wp-admin/media-new.php0.328 s0.392 s+0.064 s3.29 MiB3.97 MiB+ 693.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.222 s0.224 s+0.002 s3.31 MiB4.01 MiB+ 718.79 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.674 s+0.046 s5.45 MiB6.15 MiB+ 720.68 KiB
/wp-admin/options-discussion.php0.434 s0.318 s-0.116 s3.3 MiB3.97 MiB+ 684.3 KiB
/wp-admin/edit-comments.php0.299 s0.362 s+0.063 s3.33 MiB4 MiB+ 681.42 KiB
/0.336 s0.272 s-0.064 s3.36 MiB3.95 MiB+ 612.39 KiB
Average 0.429 s0.432 s+0.003 s3.72 MiB4.4 MiB+ 695.4 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

[12-Dec-2023 07:11:44 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