WOOCS - WooCommerce Currency Switcher 1.3.4.1

Does "WOOCS - WooCommerce Currency Switcher" work with WordPress 5.7 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: 284.91 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
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=ee1790e4cf
Aspect after-activation
HTTP status 200
Load time 0.896 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.205 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.937 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.269 s0.292 s+0.023 s2.82 MiB3.12 MiB+ 305.49 KiB
/wp-admin/edit.php0.178 s0.171 s-0.007 s2.86 MiB
/wp-admin/post-new.php0.916 s0.854 s-0.062 s5.02 MiB5.34 MiB+ 321.45 KiB
/wp-admin/upload.php0.525 s0.495 s-0.030 s2.7 MiB2.98 MiB+ 294.85 KiB
/wp-admin/options-writing.php0.262 s0.198 s-0.064 s2.71 MiB2.97 MiB+ 265.96 KiB
/wp-admin/media-new.php0.230 s0.189 s-0.041 s2.67 MiB2.96 MiB+ 297.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.202 s+0.023 s2.77 MiB3.01 MiB+ 242.12 KiB
/wp-admin/post-new.php?post_type=page1.200 s0.691 s-0.509 s5.01 MiB5.32 MiB+ 321.43 KiB
/wp-admin/options-discussion.php0.327 s0.225 s-0.102 s2.67 MiB2.97 MiB+ 298.47 KiB
/wp-admin/edit-comments.php0.243 s0.209 s-0.034 s2.78 MiB3.05 MiB+ 282.81 KiB
/0.305 s0.235 s-0.070 s2.71 MiB2.92 MiB+ 219.27 KiB
Average 0.421 s0.342 s-0.079 s3.16 MiB3.46 MiB+ 284.91 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
HTML
PO File
Language % Lines of code Comment lines Files
PHP45.5%11,86990444
CSS17.2%4,49716421
JavaScript15.6%4,05818020
HTML12.4%3,24474
PO File8.6%2,2489623
Markdown0.4%9701
JSON0.2%6002
Total 26,073 2,217 95

PHP Code Analysis | More results »

Lines of code 11,169
Total complexity 2,461
Median class complexity 15.0
Median method complexity 3.0
Most complex class WOOCS
Most complex function WOOCS::get_rate()
Classes 21
Methods 385
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

[10-Mar-2021 01:40:18 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:5324
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 5324
See also: All tests for this plugin, How to Hide the "FOX Order Info" Meta Box