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: 300.07 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=79479b0c88 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 1.050 s |
| Memory usage | 3.02 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.327 s |
| Memory usage | 2.93 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/widgets.php |
|---|---|
| Aspect | new-sidebar-widgets |
| HTTP status | 200 |
| Load time | 0.880 s |
| Memory usage | 3.14 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.268 s | 0.300 s | +0.032 s | 2.82 MiB | 3.12 MiB | + 311.72 KiB |
| /wp-admin/edit.php | 0.186 s | 0.192 s | +0.006 s | 2.86 MiB | ||
| /wp-admin/post-new.php | 0.918 s | 1.013 s | +0.095 s | 5.02 MiB | 5.34 MiB | + 327.68 KiB |
| /wp-admin/upload.php | 0.518 s | 0.294 s | -0.224 s | 2.7 MiB | 3 MiB | + 309.08 KiB |
| /wp-admin/options-writing.php | 0.259 s | 0.169 s | -0.090 s | 2.71 MiB | 2.98 MiB | + 280.19 KiB |
| /wp-admin/media-new.php | 0.222 s | 0.196 s | -0.026 s | 2.67 MiB | 2.98 MiB | + 311.44 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.192 s | 0.195 s | +0.003 s | 2.77 MiB | 3.01 MiB | + 248.34 KiB |
| /wp-admin/post-new.php?post_type=page | 1.216 s | 1.075 s | -0.141 s | 5.01 MiB | 5.33 MiB | + 327.6 KiB |
| /wp-admin/options-discussion.php | 0.307 s | 0.333 s | +0.026 s | 2.67 MiB | 2.98 MiB | + 312.7 KiB |
| /wp-admin/edit-comments.php | 0.235 s | 0.259 s | +0.024 s | 2.78 MiB | 3.06 MiB | + 289.04 KiB |
| / | 0.286 s | 0.215 s | -0.071 s | 2.65 MiB | 2.93 MiB | + 282.88 KiB |
| Average | 0.419 s | 0.386 s | -0.033 s | 3.15 MiB | 3.47 MiB | + 300.07 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 | 37.4% | 15,932 | 1,158 | 23 | |
| PHP | 28.7% | 12,212 | 909 | 45 | |
| JavaScript | 13.7% | 5,849 | 223 | 28 | |
| CSS | 12.1% | 5,155 | 183 | 25 | |
| HTML | 7.6% | 3,244 | 7 | 4 | |
| Markdown | 0.2% | 97 | 0 | 1 | |
| JSON | 0.1% | 60 | 0 | 2 | |
| Total | 42,549 | 2,480 | 128 | ||
| Lines of code | 11,528 |
|---|---|
| Total complexity | 2,494 |
| Median class complexity | 15.5 |
| Median method complexity | 3.0 |
| Most complex class | WOOCS |
| Most complex function | WOOCS::get_rate() |
| Classes | 22 |
|---|---|
| Methods | 392 |
| 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"
}
}
}[24-May-2021 22:01:27 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:5371
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 5371