Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼139.84ms] Passed 4 tests
A check of server-side resources used by Dialog Ez Cash Payment Gateway
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.12 | 35.02 ▲5.12 |
Dashboard /wp-admin | 3.06 ▲0.00 | 43.86 ▲14.13 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 46.88 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 94.51 ▼557.98 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 31.87 ▼6.84 |
Server storage [IO: ▲0.24MB] [DB: ▲0.62MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Dialog Ez Cash Payment Gateway
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲56 | 16.17 ▲0.63 | 6.83 ▼2.85 | 46.12 ▼9.11 |
Dashboard /wp-admin | 2,973 ▲39 | 5.93 ▲0.02 | 136.88 ▼8.66 | 118.09 ▼4.31 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 63.48 ▼2.99 | 85.40 ▼11.64 |
Add New Post /wp-admin/post-new.php | 1,672 ▼0 | 18.95 ▲0.29 | 369.94 ▼12.09 | 113.81 ▲3.90 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.04 | 142.66 ▼7.09 | 127.23 ▲0.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.62MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
oganro-dialog-ezcash/oganro-ezcash-wordpress.php 92% from 13 tests
This is the main PHP file of "Dialog Ez Cash Payment Gateway" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("oganro-dialog-ezcash.php" instead of "oganro-ezcash-wordpress.php")
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 detected336 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 8 | 336 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ezcash.png | 1.87KB | 1.61KB | ▼ 14.05% |