Compare Products for WooCommerce 2.7.8

Does "Compare Products for WooCommerce" work with WordPress 5.7.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: 740.75 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.040 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.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=105e0a8402
Aspect after-activation
HTTP status 500
Load time 0.843 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.951 s
Memory usage 3.8 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.510 s
Memory usage 3.51 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.430 s
Memory usage 3.52 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.586 s
Memory usage 3.5 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.739 s
Memory usage 3.49 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.811 s
Memory usage 3.49 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.423 s
Memory usage 3.51 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.294 s
Memory usage 3.37 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 0.888 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.663 s+0.357 s2.82 MiB3.56 MiB+ 753.73 KiB
/wp-admin/edit.php0.264 s0.251 s-0.013 s2.86 MiB3.6 MiB+ 753.81 KiB
/wp-admin/post-new.php1.620 s1.352 s-0.268 s5.02 MiB5.78 MiB+ 769.5 KiB
/wp-admin/upload.php0.713 s0.570 s-0.143 s2.7 MiB3.42 MiB+ 744.68 KiB
/wp-admin/options-writing.php0.196 s0.423 s+0.227 s2.71 MiB3.41 MiB+ 712.66 KiB
/wp-admin/media-new.php0.307 s0.246 s-0.061 s2.67 MiB3.4 MiB+ 744.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.197 s-0.031 s2.77 MiB3.44 MiB+ 681.76 KiB
/wp-admin/post-new.php?post_type=page1.002 s1.332 s+0.330 s5.01 MiB5.76 MiB+ 765.09 KiB
/wp-admin/options-discussion.php0.359 s0.398 s+0.039 s2.67 MiB3.4 MiB+ 745.48 KiB
/wp-admin/edit-comments.php0.276 s0.295 s+0.019 s2.78 MiB3.5 MiB+ 744.67 KiB
/0.311 s0.299 s-0.012 s2.65 MiB3.37 MiB+ 731.98 KiB
Average 0.507 s0.548 s+0.040 s3.15 MiB3.88 MiB+ 740.75 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

[16-May-2021 18:07:21 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
[16-May-2021 18:07:21 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
[16-May-2021 18:07:21 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
[16-May-2021 18:07:21 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
[16-May-2021 18:07:21 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(292): A3Rev\WCCompare\Install->automatic_add_features()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): 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
[16-May-2021 18:07:31 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
[16-May-2021 18:07:36 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