JS Currency Converter 1.2

Does JS Currency Converter work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
2PHP warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 5.77 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 version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/js-currency-converter/
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=js-currency-converter%2Fjs_currency_converter-init.php&plugin_status=all&paged=1&s&_wpnonce=f558e90526
Aspect after-activation
HTTP status 200
Load time 0.436 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Settings → JS Currency Converter

Page screenshot: Settings → JS Currency Converter
URL /wp-admin/options-general.php?page=js-currency-converter%2Fjs_currency_converter-admin-functions.php
Requested URL /wp-admin/options-general.php?page=js-currency-converter/js_currency_converter-admin-functions.php
Aspect menu-item
HTTP status 200
Load time 0.145 s
Memory usage N/A
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.255 s
Memory usage 3.32 MiB
JS errors
[
    {
        "message": "Error: Syntax error, unrecognized expression: .\n    at Function.I.error (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:11769)\n    at Y (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:17234)\n    at re (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:20008)\n    at Function.I (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:7520)\n    at Function.<anonymous> (/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1:2:2898)\n    at Function.e.<computed> [as find] (/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1:2:1582)\n    at ce.fn.init.find (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:21991)\n    at e.<computed>.ce.fn.init (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:22483)\n    at e.<computed>.<anonymous> (/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1:2:2438)\n    at new e.<computed> (/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1:2:1582)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.326 s-0.037 s3.38 MiB3.4 MiB+ 17.2 KiB
/wp-admin/edit.php0.204 s0.205 s+0.001 s3.41 MiB3.42 MiB+ 17.25 KiB
/wp-admin/post-new.php0.841 s0.580 s-0.261 s5.46 MiB5.48 MiB+ 21.08 KiB
/wp-admin/upload.php0.689 s0.491 s-0.198 s3.32 MiB3.32 MiB- 64 bytes
/wp-admin/options-writing.php0.224 s0.226 s+0.002 s3.32 MiB3.31 MiB- 7.22 KiB
/wp-admin/media-new.php0.316 s0.307 s-0.009 s3.3 MiB3.31 MiB+ 12.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.213 s+0.019 s3.31 MiB3.33 MiB+ 17.24 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.580 s-0.025 s5.45 MiB5.47 MiB+ 20.66 KiB
/wp-admin/options-discussion.php0.299 s0.273 s-0.026 s3.3 MiB3.31 MiB+ 1.94 KiB
/wp-admin/edit-comments.php0.232 s0.475 s+0.243 s3.34 MiB3.34 MiB- 448 bytes
/0.281 s0.226 s-0.055 s3.36 MiB3.32 MiB- 36.25 KiB
Average 0.386 s0.355 s-0.031 s3.72 MiB3.73 MiB+ 5.77 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
JavaScript
Language % Lines of code Comment lines Files
PHP48.1%3911683
JavaScript34.2%2781143
PO File7.6%62141
Markdown5.2%4201
CSS4.9%4001
Total 813 296 9

PHP Code Analysis | More results »

Lines of code 383
Total complexity 57
Median class complexity 28.5
Median method complexity 2.5
Most complex class JsCurrencyConverterAdmin
Most complex function JsCurrencyConverterAdmin::get_currency_list()
Classes 2
Methods 18
Functions 0

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.

No new entries found.

PHP Error Log 13 lines

[07-Feb-2024 22:55:49 UTC] PHP Fatal error:  Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /wp-content/plugins/js-currency-converter/js_currency_converter-admin-functions.php:229
Stack trace:
#0 /wp-content/plugins/js-currency-converter/js_currency_converter-admin-functions.php(229): join()
#1 /wp-content/plugins/js-currency-converter/js_currency_converter-admin-functions.php(193): JsCurrencyConverterAdmin->retrieve_exchange_rates()
#2 /wp-includes/class-wp-hook.php(324): JsCurrencyConverterAdmin->jcc_options_page()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin.php(259): do_action()
#6 /wp-admin/options-general.php(10): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/js-currency-converter/js_currency_converter-admin-functions.php on line 229
[07-Feb-2024 22:55:50 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/js-currency-converter/js_currency_converter-front-functions.php on line 148
[07-Feb-2024 22:55:59 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/js-currency-converter/js_currency_converter-front-functions.php on line 148
See also: All tests for this plugin