WOOCS - WooCommerce Currency Switcher 1.3.4.2

Does "WOOCS - WooCommerce Currency Switcher" work with WordPress 5.7.1 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.1
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=627efb2eb9
Aspect after-activation
HTTP status 200
Load time 1.307 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.173 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.271 s0.302 s+0.031 s2.82 MiB3.12 MiB+ 305.49 KiB
/wp-admin/edit.php0.186 s0.197 s+0.011 s2.86 MiB
/wp-admin/post-new.php0.938 s0.980 s+0.042 s5.02 MiB5.34 MiB+ 321.45 KiB
/wp-admin/upload.php0.479 s0.652 s+0.173 s2.7 MiB2.98 MiB+ 294.91 KiB
/wp-admin/options-writing.php0.236 s0.213 s-0.023 s2.71 MiB2.97 MiB+ 265.96 KiB
/wp-admin/media-new.php0.215 s0.228 s+0.013 s2.67 MiB2.96 MiB+ 297.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.239 s+0.062 s2.77 MiB3.01 MiB+ 242.12 KiB
/wp-admin/post-new.php?post_type=page1.126 s0.809 s-0.317 s5.01 MiB5.32 MiB+ 321.38 KiB
/wp-admin/options-discussion.php0.290 s0.280 s-0.010 s2.67 MiB2.97 MiB+ 298.52 KiB
/wp-admin/edit-comments.php0.230 s0.225 s-0.005 s2.78 MiB3.05 MiB+ 282.81 KiB
/0.322 s0.236 s-0.086 s2.71 MiB2.92 MiB+ 219.21 KiB
Average 0.406 s0.396 s-0.010 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.6%11,90190544
CSS17.2%4,50016421
JavaScript15.5%4,05818020
HTML12.4%3,24474
PO File8.6%2,2489623
Markdown0.4%9701
JSON0.2%6002
Total 26,108 2,218 95

PHP Code Analysis | More results »

Lines of code 11,208
Total complexity 2,463
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

[15-Apr-2021 08:17:49 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:5336
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 5336
See also: All tests for this plugin, How to Hide the "FOX Order Info" Meta Box