Benchmarks
Plugin footprint 83% from 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 gracefully, with no errors
Server metrics [RAM: ▲1.48MB] [CPU: ▲8.75ms] Passed 4 tests
Server-side resources used by Payamito Core
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.97 ▲1.50 | 53.32 ▲10.36 |
Dashboard /wp-admin | 4.79 ▲1.48 | 65.63 ▲13.68 |
Posts /wp-admin/edit.php | 4.84 ▲1.48 | 59.95 ▲12.12 |
Add New Post /wp-admin/post-new.php | 7.39 ▲1.50 | 99.32 ▼1.18 |
Media Library /wp-admin/upload.php | 4.71 ▲1.48 | 58.20 ▲22.34 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 143 new files
Database: no new tables, 7 new options
New WordPress options |
---|
payamito |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Payamito Core: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲196 | 13.63 ▼0.74 | 5.99 ▲4.10 | 38.36 ▼7.87 |
Dashboard /wp-admin | 2,234 ▲46 | 5.86 ▲0.99 | 105.15 ▼11.81 | 49.66 ▲7.83 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▲0.01 | 36.40 ▲0.35 | 40.77 ▲5.07 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.21 ▲5.67 | 694.14 ▼1.95 | 62.59 ▲6.20 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.23 ▼0.01 | 111.00 ▲12.28 | 52.68 ▲10.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- payamito
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/payamito-core/admin/partials/payamito-admin-display.php
- > /wp-content/plugins/payamito-core/public/partials/payamito-public-display.php
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: sms payamito
payamito-core/payamito.php 85% from 13 tests
The main PHP script in "Payamito Core" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("payamito-core.php" instead of "payamito.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin28,103 lines of code in 133 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 101 | 3,541 | 1,978 | 14,501 |
Sass | 15 | 959 | 3 | 4,837 |
CSS | 6 | 280 | 486 | 4,068 |
JavaScript | 7 | 1,265 | 401 | 3,995 |
PO File | 2 | 329 | 417 | 700 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 22.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 6.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 2 | 2.82% |
▷ Concrete classes | 69 | 97.18% |
▷ Final classes | 0 | 0.00% |
Methods | 289 | |
▷ Static methods | 51 | 17.65% |
▷ Public methods | 279 | 96.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 3.46% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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 |
admin/lib/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |