Does "WOOCS - WooCommerce Currency Switcher" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .
| 1 | PHP fatal errors |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
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.
| WordPress version | 5.7.2 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 50,000+ |
| WordPress.org page | https://wordpress.org/plugins/woocommerce-currency-switcher/ |
| Badges |
|
| 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 |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.291 s |
| Memory usage | 2.92 MiB |
| JS errors | None |
| Resource errors | None |
| 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 |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.242 s | 0.282 s | +0.040 s | 2.82 MiB | 3.12 MiB | + 303.73 KiB |
| /wp-admin/edit.php | 0.171 s | 0.177 s | +0.006 s | 2.86 MiB | ||
| /wp-admin/post-new.php | 0.840 s | 0.722 s | -0.118 s | 5.02 MiB | 5.34 MiB | + 319.69 KiB |
| /wp-admin/upload.php | 0.446 s | 0.430 s | -0.016 s | 2.7 MiB | 2.98 MiB | + 293.09 KiB |
| /wp-admin/options-writing.php | 0.248 s | 0.200 s | -0.048 s | 2.71 MiB | 2.97 MiB | + 264.2 KiB |
| /wp-admin/media-new.php | 0.212 s | 0.215 s | +0.003 s | 2.67 MiB | 2.96 MiB | + 295.5 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.181 s | 0.211 s | +0.030 s | 2.77 MiB | 3.01 MiB | + 240.35 KiB |
| /wp-admin/post-new.php?post_type=page | 1.069 s | 0.585 s | -0.484 s | 5.01 MiB | 5.32 MiB | + 319.61 KiB |
| /wp-admin/options-discussion.php | 0.277 s | 0.241 s | -0.036 s | 2.67 MiB | 2.96 MiB | + 296.76 KiB |
| /wp-admin/edit-comments.php | 0.233 s | 0.217 s | -0.016 s | 2.78 MiB | 3.05 MiB | + 281.05 KiB |
| / | 0.275 s | 0.221 s | -0.054 s | 2.71 MiB | 2.92 MiB | + 219.46 KiB |
| Average | 0.381 s | 0.318 s | -0.063 s | 3.16 MiB | 3.46 MiB | + 283.34 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PO File | 39.7% | 15,906 | 1,124 | 23 | |
| PHP | 29.9% | 11,972 | 907 | 44 | |
| CSS | 11.7% | 4,678 | 169 | 21 | |
| JavaScript | 10.1% | 4,059 | 149 | 20 | |
| HTML | 8.1% | 3,244 | 7 | 4 | |
| Markdown | 0.2% | 97 | 0 | 1 | |
| JSON | 0.1% | 60 | 0 | 2 | |
| Total | 40,016 | 2,356 | 115 | ||
| 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 |
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.
wp_options 58| ID | Name |
|---|---|
| woocs_selector | WooCommerce Currency Switcher |
| woocs_rates | WooCommerce Currency Rates |
| woocs_converter | WooCommerce Currency Converter |
{
"shop_order": {
"woocs_order_metabox": {
"title": "WOOCS Order Info",
"context": "side"
}
},
"shop_subscription": {
"woocs_order_metabox_wcs": {
"title": "WOOCS Order Info",
"context": "side"
}
}
}[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