Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/auto-currency-converter/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php+995
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.52MB] [CPU: ▼45.38ms] Passed 4 tests
A check of server-side resources used by Auto Currency Converter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼1.00 | 8.49 ▼32.18 |
Dashboard /wp-admin | 2.48 ▼0.82 | 11.94 ▼38.70 |
Posts /wp-admin/edit.php | 2.48 ▼0.87 | 11.14 ▼34.83 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.40 | 10.44 ▼75.82 |
Media Library /wp-admin/upload.php | 2.48 ▼0.75 | 9.73 ▼26.48 |
Auto Currency Converter /wp-admin/options-general.php?page=auto_currency_converter | 2.48 | 10.74 |
Server storage [IO: ▲1.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 547 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Currency Converter
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 14.73 ▲0.10 | 1.80 ▲0.13 | 41.60 ▼2.42 |
Dashboard /wp-admin | 2,223 ▲35 | 5.08 ▲0.19 | 115.18 ▼3.10 | 43.86 ▼0.13 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.24 ▲0.23 | 35.68 ▼0.99 | 30.09 ▼13.63 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.50 ▲0.33 | 659.02 ▼19.08 | 61.06 ▲8.32 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.41 ▲0.19 | 98.62 ▼15.15 | 43.48 ▼5.12 |
Auto Currency Converter /wp-admin/options-general.php?page=auto_currency_converter | 840 | 2.23 | 26.22 | 34.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 did not uninstall without warnings or errors
- > Notice in wp-content/plugins/auto-currency-converter/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php+995
Trying to access array offset on value of type null
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=auto_currency_converter
- > Notice in wp-content/plugins/auto-currency-converter/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php+995
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 227× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Doctrine\\ORM\\Query\\Filter\\SQLFilter' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/SoftDeleteable/Filter/SoftDeleteableFilter.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Doctrine\\Common\\Annotations\\Reader' not found in wp-content/plugins/auto-currency-converter/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Gedmo\\Mapping\\Event\\AdapterInterface' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Mapping/Event/Adapter/ORM.php:18
- > PHP Fatal error
Uncaught Error: Class 'Gedmo\\Mapping\\Event\\Adapter\\ORM' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/IpTraceable/Mapping/Event/Adapter/ORM.php:15
- > PHP Fatal error
Uncaught Error: Class 'Gedmo\\Mapping\\Event\\Adapter\\ODM' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Sluggable/Mapping/Event/Adapter/ODM.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Gedmo\\Mapping\\Event\\AdapterInterface' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Mapping/Event/LoggableAdapter.php:14
- > PHP Fatal error
Uncaught Error: Class 'Doctrine\\Common\\Annotations\\Annotation' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Mapping/Annotation/Uploadable.php:18
- > PHP Fatal error
Uncaught Error: Class 'Gedmo\\Mapping\\Driver\\File' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Mapping/Driver/Yaml.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Doctrine\\DBAL\\Logging\\SQLLogger' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Tool/Logging/DBAL/QueryAnalyzer.php:13
- > PHP Fatal error
Uncaught Error: Class 'Gedmo\\Mapping\\Event\\Adapter\\ORM' not found in wp-content/plugins/auto-currency-converter/vendor/gedmo/doctrine-extensions/lib/Gedmo/Tree/Mapping/Event/Adapter/ORM.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: jpy, currency, japan, exchange, japanese...
auto-currency-converter/auto-currency-converter.php 85% from 13 tests
The principal PHP file in "Auto Currency Converter" v. 1.2.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
- Git Repository: An alternative Git repository was detected
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Please make sure to remedy the following
- Do not include executable or dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/auto-currency-converter/beautify.bat
- ☣ wp-content/plugins/auto-currency-converter/generate_test.bat
- ☣ wp-content/plugins/auto-currency-converter/unit_test.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 488 | 4,134 | 11,882 | 23,126 |
JSON | 9 | 5 | 0 | 958 |
CSS | 1 | 33 | 152 | 390 |
Markdown | 9 | 156 | 0 | 353 |
XSD | 2 | 46 | 59 | 243 |
PO File | 1 | 49 | 96 | 65 |
YAML | 2 | 11 | 0 | 50 |
XML | 2 | 3 | 0 | 33 |
DOS Batch | 3 | 4 | 0 | 25 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 144.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 110 | |
Interfaces | 38 | |
Traits | 16 | |
Classes | 260 | |
▷ Abstract classes | 26 | 10.00% |
▷ Concrete classes | 234 | 90.00% |
▷ Final classes | 70 | 29.91% |
Methods | 1,347 | |
▷ Static methods | 59 | 4.38% |
▷ Public methods | 1,125 | 83.52% |
▷ Protected methods | 133 | 9.87% |
▷ Private methods | 89 | 6.61% |
Functions | 27 | |
▷ Named functions | 4 | 14.81% |
▷ Anonymous functions | 23 | 85.19% |
Constants | 103 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 103 | 100.00% |
▷ Public constants | 103 | 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
PNG images were not found in this plugin