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: 304.97 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=99a3f14089 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 1.083 s |
| Memory usage | 3.02 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.365 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 | 1.186 s |
| Memory usage | 3.15 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.725 s | 0.451 s | -0.274 s | 2.82 MiB | 3.13 MiB | + 316.6 KiB |
| /wp-admin/edit.php | 0.446 s | 0.265 s | -0.181 s | 2.86 MiB | ||
| /wp-admin/post-new.php | 2.113 s | 1.107 s | -1.006 s | 5.02 MiB | 5.35 MiB | + 332.62 KiB |
| /wp-admin/upload.php | 0.710 s | 0.630 s | -0.080 s | 2.7 MiB | 3 MiB | + 313.96 KiB |
| /wp-admin/options-writing.php | 0.299 s | 0.333 s | +0.034 s | 2.71 MiB | 2.99 MiB | + 285.13 KiB |
| /wp-admin/media-new.php | 0.240 s | 0.294 s | +0.054 s | 2.67 MiB | 2.98 MiB | + 316.32 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.306 s | 0.275 s | -0.031 s | 2.77 MiB | 3.02 MiB | + 253.23 KiB |
| /wp-admin/post-new.php?post_type=page | 1.515 s | 1.194 s | -0.321 s | 5.01 MiB | 5.33 MiB | + 332.54 KiB |
| /wp-admin/options-discussion.php | 0.323 s | 0.455 s | +0.132 s | 2.67 MiB | 2.98 MiB | + 317.58 KiB |
| /wp-admin/edit-comments.php | 0.326 s | 0.388 s | +0.062 s | 2.78 MiB | 3.06 MiB | + 293.98 KiB |
| / | 0.456 s | 0.330 s | -0.126 s | 2.65 MiB | 2.93 MiB | + 287.77 KiB |
| Average | 0.678 s | 0.520 s | -0.158 s | 3.15 MiB | 3.48 MiB | + 304.97 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 | 38.8% | 12,682 | 594 | 47 | |
| CSS | 25.6% | 8,351 | 222 | 24 | |
| JavaScript | 19.0% | 6,203 | 219 | 27 | |
| PO File | 11.1% | 3,642 | 1,260 | 3 | |
| Sass | 4.9% | 1,591 | 98 | 18 | |
| SVG | 0.3% | 110 | 0 | 4 | |
| Markdown | 0.3% | 97 | 0 | 1 | |
| Total | 32,676 | 2,393 | 124 | ||
| Lines of code | 12,448 |
|---|---|
| Total complexity | 1,750 |
| Median class complexity | 15.0 |
| Median method complexity | 3.0 |
| Most complex class | WOOCS |
| Most complex function | WOOCS::get_rate() |
| Classes | 21 |
|---|---|
| Methods | 268 |
| Functions | 25 |
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 60| 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"
}
}
}[28-Jun-2021 22:33:29 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wc_get_order_types() in /wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php:5397
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.php on line 5397