Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.01ms] Passed 4 tests
This is a short check of server-side resources used by YML for Yandex Market
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 35.94 ▼6.02 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.17 ▼15.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.00 ▼7.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.95 ▼11.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.91 ▲2.11 |
Server storage [IO: ▲1.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 176 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for YML for Yandex Market
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲33 | 14.72 ▲0.50 | 1.70 ▼0.14 | 29.77 ▼13.28 |
Dashboard /wp-admin | 2,203 ▲29 | 5.61 ▼0.02 | 91.43 ▼5.45 | 43.05 ▼2.77 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.00 ▲0.04 | 39.66 ▼2.90 | 40.50 ▲5.70 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.71 ▲0.70 | 647.76 ▲46.66 | 60.91 ▲7.82 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.17 ▼0.06 | 104.23 ▲6.52 | 47.33 ▲2.78 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-1.png) image not found
yml-for-yandex-market/yml-for-yandex-market.php 92% from 13 tests
The main file in "YML for Yandex Market" v. 4.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected16,557 lines of code in 164 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 161 | 1,159 | 5,656 | 14,161 |
PO File | 2 | 1,172 | 2,212 | 2,389 |
CSS | 1 | 0 | 1 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 115 | |
Classes | 27 | |
▷ Abstract classes | 1 | 3.70% |
▷ Concrete classes | 26 | 96.30% |
▷ Final classes | 8 | 30.77% |
Methods | 374 | |
▷ Static methods | 16 | 4.28% |
▷ Public methods | 260 | 69.52% |
▷ Protected methods | 21 | 5.61% |
▷ Private methods | 93 | 24.87% |
Functions | 52 | |
▷ Named functions | 43 | 82.69% |
▷ Anonymous functions | 9 | 17.31% |
Constants | 25 | |
▷ Global constants | 20 | 80.00% |
▷ Class constants | 5 | 20.00% |
▷ Public constants | 5 | 100.00% |
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.34MB with 0.21MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 350.43KB | 133.32KB | ▼ 61.96% |