JS Currency Converter 1.2

Does JS Currency Converter work with WordPress 6.5.2 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: 9 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.5.2
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=e03cc987d6
Aspect after-activation
HTTP status 200
Load time 0.418 s
Memory usage 3.39 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.138 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.236 s
Memory usage 3.38 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.327 s0.313 s-0.014 s3.44 MiB3.45 MiB+ 17.2 KiB
/wp-admin/edit.php0.186 s0.178 s-0.008 s3.46 MiB3.48 MiB+ 17.25 KiB
/wp-admin/post-new.php0.816 s0.541 s-0.275 s5.59 MiB5.63 MiB+ 41.13 KiB
/wp-admin/upload.php0.571 s0.377 s-0.194 s3.38 MiB3.38 MiB- 64 bytes
/wp-admin/options-writing.php0.204 s0.364 s+0.160 s3.37 MiB3.36 MiB- 7.84 KiB
/wp-admin/media-new.php0.286 s0.279 s-0.007 s3.35 MiB3.36 MiB+ 12.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.194 s+0.011 s3.37 MiB3.38 MiB+ 17.23 KiB
/wp-admin/post-new.php?post_type=page0.497 s0.539 s+0.042 s5.59 MiB5.62 MiB+ 36.72 KiB
/wp-admin/options-discussion.php0.271 s0.236 s-0.035 s3.36 MiB3.36 MiB+ 1.94 KiB
/wp-admin/edit-comments.php0.272 s0.209 s-0.063 s3.39 MiB3.39 MiB- 448 bytes
/0.271 s0.208 s-0.063 s3.42 MiB3.38 MiB- 36.25 KiB
Average 0.353 s0.313 s-0.041 s3.79 MiB3.8 MiB+ 9 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

[18-Apr-2024 06:46:51 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
[18-Apr-2024 06:46:52 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
[18-Apr-2024 06:47:01 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