WOOCS - WooCommerce Currency Switcher 1.3.6.2

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: 303.41 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=ad9589e2af
Aspect after-activation
HTTP status 200
Load time 0.622 s
Memory usage 3.02 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.186 s
Memory usage 2.93 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.981 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.254 s0.281 s+0.027 s2.82 MiB3.13 MiB+ 314.83 KiB
/wp-admin/edit.php0.179 s0.162 s-0.017 s2.86 MiB
/wp-admin/post-new.php0.856 s0.742 s-0.114 s5.02 MiB5.35 MiB+ 330.9 KiB
/wp-admin/upload.php0.456 s0.475 s+0.019 s2.7 MiB3 MiB+ 312.24 KiB
/wp-admin/options-writing.php0.261 s0.186 s-0.075 s2.71 MiB2.99 MiB+ 283.35 KiB
/wp-admin/media-new.php0.215 s0.216 s+0.001 s2.67 MiB2.98 MiB+ 314.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.196 s+0.018 s2.77 MiB3.02 MiB+ 251.51 KiB
/wp-admin/post-new.php?post_type=page1.066 s0.590 s-0.476 s5.01 MiB5.33 MiB+ 330.82 KiB
/wp-admin/options-discussion.php0.279 s0.229 s-0.050 s2.67 MiB2.98 MiB+ 315.86 KiB
/wp-admin/edit-comments.php0.229 s0.232 s+0.003 s2.78 MiB3.06 MiB+ 292.2 KiB
/0.245 s0.211 s-0.034 s2.65 MiB2.93 MiB+ 287.82 KiB
Average 0.383 s0.320 s-0.063 s3.15 MiB3.48 MiB+ 303.41 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.

PHP
CSS
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP38.8%12,68259547
CSS25.6%8,35122224
JavaScript19.0%6,20321927
PO File11.1%3,6421,2603
Sass4.9%1,5919818
SVG0.3%11004
Markdown0.3%9701
Total 32,676 2,394 124

PHP Code Analysis | More results »

Lines of code 12,449
Total complexity 1,750
Median class complexity 15.0
Median method complexity 3.0
Most complex class WOOCS
Most complex function WOOCS::get_rate()
Classes 21
Methods 268
Functions 25

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 60

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

[07-Jul-2021 10:35:06 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order_types() in /wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php:5397
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.php on line 5397
See also: All tests for this plugin, How to Hide the "FOX Order Info" Meta Box