Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.49MB] [CPU: ▲0.79ms] Passed 4 tests
This is a short check of server-side resources used by Fio bank - transactions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 47.17 ▲6.41 |
Dashboard /wp-admin | 3.80 ▲0.50 | 56.94 ▲6.78 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 55.12 ▲5.12 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.50 | 94.31 ▼12.59 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 42.35 ▲4.21 |
Správa účtů /wp-admin/edit.php?post_type=fio_accounts | 3.77 | 43.11 |
Fio Bank /wp-admin/admin.php?page=fio_bank_transactions | 3.63 | 29.88 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 234 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Fio bank - transactions
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 14.45 ▲0.20 | 19.01 ▲17.25 | 45.93 ▲4.74 |
Dashboard /wp-admin | 2,221 ▲33 | 5.83 ▼0.05 | 106.17 ▼2.66 | 86.62 ▲41.29 |
Posts /wp-admin/edit.php | 2,122 ▲30 | 2.12 ▲0.10 | 35.79 ▼2.76 | 33.64 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,695 ▲176 | 22.45 ▼0.81 | 684.31 ▲5.84 | 41.72 ▼17.67 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.13 ▼0.09 | 102.12 ▼12.47 | 71.49 ▲22.69 |
Správa účtů /wp-admin/edit.php?post_type=fio_accounts | 1,116 | 1.95 | 36.85 | 31.95 |
Fio Bank /wp-admin/admin.php?page=fio_bank_transactions | 1,762 | 2.76 | 39.67 | 34.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 75× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/psr7/src/PumpStream.php:17
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Api\\IAccount' not found in wp-content/plugins/skaut-fio-bank-transactions/src/Api/Account.php:9
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/psr7/src/Request.php:13
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Class 'FioTransactions\\Vendor\\GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/psr7/src/NoSeekStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/promises/src/RejectedPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'FioTransactions\\Vendor\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/skaut-fio-bank-transactions/vendor/guzzlehttp/psr7/src/MultipartStream.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: fio, shortcode, skaut, multisite, transactions...
skaut-fio-bank-transactions/fio-transactions.php 92% from 13 tests
The principal PHP file in "Fio bank - transactions" v. 1.2.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("skaut-fio-bank-transactions.php" instead of "fio-transactions.php")
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 detected13,863 lines of code in 212 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 202 | 632 | 8,500 | 13,328 |
JavaScript | 6 | 20 | 38 | 282 |
JSON | 1 | 0 | 0 | 234 |
CSS | 3 | 2 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 12.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 33 | |
Traits | 4 | |
Classes | 150 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 150 | 100.00% |
▷ Final classes | 55 | 36.67% |
Methods | 1,189 | |
▷ Static methods | 257 | 21.61% |
▷ Public methods | 996 | 83.77% |
▷ Protected methods | 16 | 1.35% |
▷ Private methods | 177 | 14.89% |
Functions | 194 | |
▷ Named functions | 34 | 17.53% |
▷ Anonymous functions | 160 | 82.47% |
Constants | 106 | |
▷ Global constants | 5 | 4.72% |
▷ Class constants | 101 | 95.28% |
▷ Public constants | 90 | 89.11% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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/Admin/public/img/fio.png | 0.69KB | 0.54KB | ▼ 20.94% |