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.01MB] [CPU: ▼7.39ms] Passed 4 tests
Server-side resources used by Payout payment gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.58 ▲2.01 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.15 ▼1.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 51.58 ▼3.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 84.91 ▼26.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 34.77 ▲1.61 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Payout payment gateway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.73 ▲0.38 | 1.74 ▼0.09 | 43.92 ▼4.07 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▲0.03 | 83.20 ▼7.07 | 43.10 ▲4.11 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.09 | 34.01 ▼5.61 | 41.86 ▲4.75 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.19 ▲5.15 | 654.61 ▲16.46 | 59.92 ▼4.05 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▼0.04 | 97.10 ▼4.79 | 44.08 ▲1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: payout, platobn brna, gateway, slovakia, payout payment gateway...
payout-payment-gateway/payout-gateway.php 77% from 13 tests
"Payout payment gateway" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("payout-payment-gateway.php" instead of "payout-gateway.php")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected914 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 168 | 272 | 731 |
PO File | 1 | 37 | 5 | 106 |
JavaScript | 1 | 10 | 0 | 44 |
CSS | 1 | 3 | 0 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 29 | 76.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 23.68% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 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