Compare Products for WooCommerce 2.7.9

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

Summary

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

Memory usage: 742.33 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=3d99acde50
Aspect after-activation
HTTP status 500
Load time 0.554 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.763 s
Memory usage 4.11 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.363 s
Memory usage 3.82 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.304 s
Memory usage 3.82 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.456 s
Memory usage 3.81 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.326 s
Memory usage 3.8 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.509 s
Memory usage 3.8 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.387 s
Memory usage 3.81 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.326 s
Memory usage 3.62 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.588 s
Memory usage 5.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.296 s0.336 s+0.040 s3.08 MiB3.82 MiB+ 749.73 KiB
/wp-admin/edit.php0.173 s0.202 s+0.029 s3.11 MiB3.85 MiB+ 749.81 KiB
/wp-admin/post-new.php0.732 s0.834 s+0.102 s5.27 MiB6 MiB+ 754.06 KiB
/wp-admin/upload.php0.485 s0.338 s-0.147 s3.03 MiB3.76 MiB+ 748.68 KiB
/wp-admin/options-writing.php0.151 s0.163 s+0.012 s3.02 MiB3.74 MiB+ 732.66 KiB
/wp-admin/media-new.php0.416 s0.182 s-0.234 s3.01 MiB3.74 MiB+ 748.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.183 s+0.005 s3.04 MiB3.77 MiB+ 749.76 KiB
/wp-admin/post-new.php?post_type=page0.569 s0.598 s+0.029 s5.26 MiB5.99 MiB+ 749.65 KiB
/wp-admin/options-discussion.php0.229 s0.331 s+0.102 s3 MiB3.74 MiB+ 749.48 KiB
/wp-admin/edit-comments.php0.209 s0.217 s+0.008 s3.04 MiB3.77 MiB+ 748.67 KiB
/0.258 s0.228 s-0.030 s2.96 MiB3.62 MiB+ 684.31 KiB
Average 0.336 s0.328 s-0.008 s3.44 MiB4.16 MiB+ 742.33 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.3%14,0551,45819
PHP28.5%13,6892,78353
JSON27.5%13,20301
CSS7.9%3,78011716
PO File3.9%1,8591,6252
SVG1.5%70204
LESS1.3%642265
HTML0.1%2901
Total 47,959 6,009 101

PHP Code Analysis | More results »

Lines of code 12,424
Total complexity 2,893
Median class complexity 13.5
Median method complexity 2.0
Most complex class A3Rev\WCCompare\FrameWork\Admin_Interface
Most complex function A3Rev\WCCompare\FrameWork\Admin_Interface::admin_forms()
Classes 42
Methods 502
Functions 19

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 15 lines

[14-Nov-2021 11:46:22 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php on line 29
[14-Nov-2021 11:46:22 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php on line 31
[14-Nov-2021 11:46:22 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php on line 33
[14-Nov-2021 11:46:22 UTC] PHP Notice:  Trying to get property 'name' of non-object in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php on line 31
[14-Nov-2021 11:46:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function A3Rev\WCCompare\wc_get_attribute_taxonomies() in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php:49
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): A3Rev\WCCompare\Install->automatic_add_features()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /wp-admin/admin.php(175): do_action()
#4 /wp-admin/plugins.php(10): require_once('/opt/bitnami/ap...')
#5 {main}
  thrown in /wp-content/plugins/woocommerce-compare-products/includes/class-wc-compare-install.php on line 49
[14-Nov-2021 11:46:30 UTC] PHP Warning:  Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/woocommerce-compare-products/classes/class-wc-compare-metabox.php on line 397
[14-Nov-2021 11:46:33 UTC] PHP Warning:  Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/woocommerce-compare-products/classes/class-wc-compare-metabox.php on line 397
See also: All tests for this plugin