Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▲3.89ms] Passed 4 tests
Server-side resources used by Currency Converter - MyShopKit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 57.40 ▲10.02 |
Dashboard /wp-admin | 3.59 ▲0.28 | 55.97 ▲1.73 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 49.15 ▲0.35 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 101.21 ▲4.99 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 44.13 ▲8.50 |
Multi Currency Dashboard /wp-admin/admin.php?page=mskmc_dashboard | 3.42 | 36.38 |
Auth Settings /wp-admin/admin.php?page=mskmc_auth-settings | 3.43 | 34.30 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
mskmc_auth |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Currency Converter - MyShopKit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲188 | 13.93 ▼0.55 | 19.90 ▲17.94 | 43.44 ▼5.28 |
Dashboard /wp-admin | 2,225 ▲28 | 5.84 ▲0.01 | 107.45 ▼6.47 | 67.13 ▲19.93 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 1.97 ▼0.02 | 38.84 ▲2.78 | 34.73 ▲3.08 |
Add New Post /wp-admin/post-new.php | 1,572 ▲38 | 23.96 ▲0.93 | 762.47 ▲101.90 | 45.57 ▼10.81 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.12 ▼0.10 | 112.03 ▲13.25 | 50.08 ▲5.67 |
Multi Currency Dashboard /wp-admin/admin.php?page=mskmc_dashboard | 1,344 | 11.21 | 248.13 | 99.01 |
Auth Settings /wp-admin/admin.php?page=mskmc_auth-settings | 852 | 2.07 | 29.51 | 25.59 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\Illuminate\\Message\\AbstractMessage' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Illuminate/Message/AjaxMessage.php:9
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\Dashboard\\Controllers\\DashboardController' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Dashboard/Dashboard.php:2
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\PostScript\\Controllers\\PostScriptController' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/PostScript/PostScript.php:5
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\RateExchange\\Controllers\\RateExchangeController' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/RateExchange/RateExchange.php:2
- > PHP Fatal error
Trait 'MSKMCWP\\Dashboard\\Shared\\GeneralHelper' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Dashboard/Controllers/DashboardController.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\Illuminate\\Message\\AbstractMessage' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Illuminate/Message/NormalMessage.php:9
- > PHP Fatal error
Trait 'MSKMCWP\\Dashboard\\Shared\\GeneralHelper' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Dashboard/Controllers/AuthController.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Dashboard/Views/AuthSettings.php:1
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\Store\\Controllers\\StoreController' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Store/Store.php:6
- > PHP Fatal error
Uncaught Error: Class 'MSKMCWP\\Illuminate\\Message\\AbstractMessage' not found in wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Illuminate/Message/RestMessage.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mskmc_dashboard
- > Security (severe) in unknown
https://currency-converter-dashboard.netlify.app/static/js/axios.chunk.js 0 Mixed Content: The page at 'https://currency-converter-dashboard.netlify.app/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '/index.php/wp-json/mskmc/v1/purchase-code'. This request has been blocked; the content must be served over HTTPS.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mskmc_dashboard
- > Security (severe) in unknown
https://currency-converter-dashboard.netlify.app/static/js/axios.chunk.js 0 Mixed Content: The page at 'https://currency-converter-dashboard.netlify.app/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '/index.php/wp-json/mskmc/v1/me/settings'. This request has been blocked; the content must be served over HTTPS.
- > GET request to /wp-admin/admin.php?page=mskmc_auth-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'style')" "TypeError: Cannot read properties of null (reading 'style')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/myshopkit-multi-currency-converter-wp/src/Dashboard/Assets/Js/Script.js?ver=651884034d6fb:7:12)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=mskmc_auth-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'style')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3 in myshopkit-multi-currency-converter-wp/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
myshopkit-multi-currency-converter-wp/myshopkit-multi-currency-converter-wp.php 92% from 13 tests
Analyzing the main PHP file in "Currency Converter - MyShopKit" version 1.0.4
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("5.6" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,641 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 237 | 320 | 1,289 |
JavaScript | 1 | 17 | 6 | 216 |
JSON | 2 | 0 | 0 | 100 |
Markdown | 2 | 8 | 0 | 22 |
CSS | 1 | 3 | 9 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 17 | |
▷ Abstract classes | 1 | 5.88% |
▷ Concrete classes | 16 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 17 | 17.89% |
▷ Public methods | 85 | 89.47% |
▷ Protected methods | 4 | 4.21% |
▷ Private methods | 6 | 6.32% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Dashboard/Assets/Images/ico.png | 1.59KB | 1.13KB | ▼ 28.60% |