Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.56MB] [CPU: ▲2.09ms] 75% from 4 tests
A check of server-side resources used by Zen Feed
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 655.33ms on /wp-admin/options-general.php?page=mihdan_mailru_pulse_feed)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 41.13 ▲1.71 |
Dashboard /wp-admin | 3.93 ▲0.62 | 53.96 ▲6.58 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 57.72 ▲11.21 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.54 | 84.39 ▼4.86 |
Media Library /wp-admin/upload.php | 3.77 ▲0.53 | 38.38 ▲4.93 |
Zen Feed /wp-admin/options-general.php?page=mihdan_mailru_pulse_feed | 4.14 | 655.33 |
Server storage [IO: ▲0.40MB] [DB: ▲0.05MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Zen Feed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲186 | 14.63 ▲0.23 | 1.78 ▲0.02 | 39.27 ▼7.98 |
Dashboard /wp-admin | 2,356 ▲176 | 6.28 ▲0.65 | 121.16 ▲20.34 | 43.27 ▼2.17 |
Posts /wp-admin/edit.php | 2,299 ▲199 | 3.58 ▲1.56 | 57.70 ▲20.56 | 35.69 ▼3.88 |
Add New Post /wp-admin/post-new.php | 6,317 ▲4,782 | 25.98 ▲0.55 | 873.96 ▲267.32 | 38.66 ▼19.70 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.44 ▲0.19 | 86.15 ▼14.09 | 41.12 ▼3.26 |
Zen Feed /wp-admin/options-general.php?page=mihdan_mailru_pulse_feed | 4,042 | 3.62 | 55.63 | 108.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 98× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php:26
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mihdan-mailru-pulse-feed/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in mihdan-mailru-pulse-feed/assets to your readme.txt
mihdan-mailru-pulse-feed/mihdan-mailru-pulse-feed.php 85% from 13 tests
The main PHP file in "Zen Feed" ver. 0.7.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 185 characters long)
- Domain Path: The domain path folder does not exist ("/languages/")
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
No dangerous file extensions were detected7,261 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 1,745 | 3,219 | 6,325 |
Markdown | 2 | 304 | 0 | 656 |
JSON | 1 | 0 | 0 | 264 |
CSS | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 120 | |
▷ Abstract classes | 2 | 1.67% |
▷ Concrete classes | 118 | 98.33% |
▷ Final classes | 0 | 0.00% |
Methods | 407 | |
▷ Static methods | 43 | 10.57% |
▷ Public methods | 333 | 81.82% |
▷ Protected methods | 54 | 13.27% |
▷ Private methods | 20 | 4.91% |
Functions | 12 | |
▷ Named functions | 1 | 8.33% |
▷ Anonymous functions | 11 | 91.67% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 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
No PNG images were found in this plugin