Does "WOOCS - WooCommerce Currency Switcher" work with WordPress 5.7.1 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: 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.
| WordPress version | 5.7.1 |
|---|---|
| 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=627efb2eb9 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 1.307 s |
| Memory usage | 3.01 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.173 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.937 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.271 s | 0.302 s | +0.031 s | 2.82 MiB | 3.12 MiB | + 305.49 KiB |
| /wp-admin/edit.php | 0.186 s | 0.197 s | +0.011 s | 2.86 MiB | ||
| /wp-admin/post-new.php | 0.938 s | 0.980 s | +0.042 s | 5.02 MiB | 5.34 MiB | + 321.45 KiB |
| /wp-admin/upload.php | 0.479 s | 0.652 s | +0.173 s | 2.7 MiB | 2.98 MiB | + 294.91 KiB |
| /wp-admin/options-writing.php | 0.236 s | 0.213 s | -0.023 s | 2.71 MiB | 2.97 MiB | + 265.96 KiB |
| /wp-admin/media-new.php | 0.215 s | 0.228 s | +0.013 s | 2.67 MiB | 2.96 MiB | + 297.27 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.177 s | 0.239 s | +0.062 s | 2.77 MiB | 3.01 MiB | + 242.12 KiB |
| /wp-admin/post-new.php?post_type=page | 1.126 s | 0.809 s | -0.317 s | 5.01 MiB | 5.32 MiB | + 321.38 KiB |
| /wp-admin/options-discussion.php | 0.290 s | 0.280 s | -0.010 s | 2.67 MiB | 2.97 MiB | + 298.52 KiB |
| /wp-admin/edit-comments.php | 0.230 s | 0.225 s | -0.005 s | 2.78 MiB | 3.05 MiB | + 282.81 KiB |
| / | 0.322 s | 0.236 s | -0.086 s | 2.71 MiB | 2.92 MiB | + 219.21 KiB |
| Average | 0.406 s | 0.396 s | -0.010 s | 3.16 MiB | 3.46 MiB | + 284.91 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 | |
|---|---|---|---|---|---|
| PHP | 45.6% | 11,901 | 905 | 44 | |
| CSS | 17.2% | 4,500 | 164 | 21 | |
| JavaScript | 15.5% | 4,058 | 180 | 20 | |
| HTML | 12.4% | 3,244 | 7 | 4 | |
| PO File | 8.6% | 2,248 | 962 | 3 | |
| Markdown | 0.4% | 97 | 0 | 1 | |
| JSON | 0.2% | 60 | 0 | 2 | |
| Total | 26,108 | 2,218 | 95 | ||
| 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 |
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"
}
}
}[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