Compare Products for WooCommerce 2.7.10

Does "Compare Products for WooCommerce" work with WordPress 5.8.3 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: 0.048 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.3
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=a10f04c99e
Aspect after-activation
HTTP status 500
Load time 0.526 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.838 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.399 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.348 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.464 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.529 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.322 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.360 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.338 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.603 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.330 s0.355 s+0.025 s3.08 MiB3.82 MiB+ 749.73 KiB
/wp-admin/edit.php0.178 s0.226 s+0.048 s3.11 MiB3.85 MiB+ 749.81 KiB
/wp-admin/post-new.php0.918 s1.381 s+0.463 s5.27 MiB6 MiB+ 754.06 KiB
/wp-admin/upload.php0.611 s0.299 s-0.312 s3.03 MiB3.76 MiB+ 748.68 KiB
/wp-admin/options-writing.php0.146 s0.159 s+0.013 s3.02 MiB3.74 MiB+ 732.66 KiB
/wp-admin/media-new.php0.398 s0.199 s-0.199 s3.01 MiB3.74 MiB+ 748.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.195 s+0.004 s3.04 MiB3.77 MiB+ 749.76 KiB
/wp-admin/post-new.php?post_type=page1.129 s1.327 s+0.198 s5.26 MiB5.99 MiB+ 749.65 KiB
/wp-admin/options-discussion.php0.218 s0.541 s+0.323 s3 MiB3.74 MiB+ 749.48 KiB
/wp-admin/edit-comments.php0.209 s0.221 s+0.012 s3.04 MiB3.77 MiB+ 748.67 KiB
/0.272 s0.224 s-0.048 s2.96 MiB3.62 MiB+ 684.31 KiB
Average 0.418 s0.466 s+0.048 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

[10-Jan-2022 14:34:49 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
[10-Jan-2022 14:34:49 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
[10-Jan-2022 14:34:49 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
[10-Jan-2022 14:34:49 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
[10-Jan-2022 14:34:49 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
[10-Jan-2022 14:34:57 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
[10-Jan-2022 14:35:01 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