WOOCS - WooCommerce Currency Switcher 1.3.4.3

Does "WOOCS - WooCommerce Currency Switcher" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 283.34 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.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 60,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-currency-switcher/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=woocommerce-currency-switcher%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=2832d8972e
Aspect after-activation
HTTP status 200
Load time 0.838 s
Memory usage 3.01 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.291 s
Memory usage 2.92 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.726 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.242 s0.282 s+0.040 s2.82 MiB3.12 MiB+ 303.73 KiB
/wp-admin/edit.php0.171 s0.177 s+0.006 s2.86 MiB
/wp-admin/post-new.php0.840 s0.722 s-0.118 s5.02 MiB5.34 MiB+ 319.69 KiB
/wp-admin/upload.php0.446 s0.430 s-0.016 s2.7 MiB2.98 MiB+ 293.09 KiB
/wp-admin/options-writing.php0.248 s0.200 s-0.048 s2.71 MiB2.97 MiB+ 264.2 KiB
/wp-admin/media-new.php0.212 s0.215 s+0.003 s2.67 MiB2.96 MiB+ 295.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.211 s+0.030 s2.77 MiB3.01 MiB+ 240.35 KiB
/wp-admin/post-new.php?post_type=page1.069 s0.585 s-0.484 s5.01 MiB5.32 MiB+ 319.61 KiB
/wp-admin/options-discussion.php0.277 s0.241 s-0.036 s2.67 MiB2.96 MiB+ 296.76 KiB
/wp-admin/edit-comments.php0.233 s0.217 s-0.016 s2.78 MiB3.05 MiB+ 281.05 KiB
/0.275 s0.221 s-0.054 s2.71 MiB2.92 MiB+ 219.46 KiB
Average 0.381 s0.318 s-0.063 s3.16 MiB3.46 MiB+ 283.34 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.

PO File
PHP
CSS
JavaScript
HTML
Language % Lines of code Comment lines Files
PO File39.7%15,9061,12423
PHP29.9%11,97290744
CSS11.7%4,67816921
JavaScript10.1%4,05914920
HTML8.1%3,24474
Markdown0.2%9701
JSON0.1%6002
Total 40,016 2,356 115

PHP Code Analysis | More results »

Lines of code 11,269
Total complexity 2,474
Median class complexity 15.0
Median method complexity 3.0
Most complex class WOOCS
Most complex function WOOCS::get_rate()
Classes 21
Methods 386
Functions 18

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.

Options wp_options 58

Sidebar Widgets 3

ID Name
woocs_selectorWooCommerce Currency Switcher
woocs_ratesWooCommerce Currency Rates
woocs_converterWooCommerce Currency Converter

Meta Boxes

{
    "shop_order": {
        "woocs_order_metabox": {
            "title": "WOOCS Order Info",
            "context": "side"
        }
    },
    "shop_subscription": {
        "woocs_order_metabox_wcs": {
            "title": "WOOCS Order Info",
            "context": "side"
        }
    }
}

PHP Error Log 11 lines

[13-May-2021 05:50:32 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order_types() in /wp-content/plugins/woocommerce-currency-switcher/classes/woocs_after_33.php:5354
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): WOOCS->manage_posts_extra_tablenav()
#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/includes/class-wp-posts-list-table.php(582): do_action()
#4 /wp-admin/includes/class-wp-list-table.php(1334): WP_Posts_List_Table->extra_tablenav()
#5 /wp-admin/includes/class-wp-list-table.php(1268): WP_List_Table->display_tablenav()
#6 /wp-admin/edit.php(474): WP_List_Table->display()
#7 {main}
  thrown in /wp-content/plugins/woocommerce-currency-switcher/classes/woocs_after_33.php on line 5354
See also: All tests for this plugin, How to Hide the "FOX Order Info" Meta Box