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: ▲0.30MB] [CPU: ▼4.31ms] Passed 4 tests
Analyzing server-side resources used by RSS for Yandex Zen
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.30 | 49.82 ▲5.61 |
Dashboard /wp-admin | 3.60 ▲0.30 | 49.63 ▼5.61 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 53.00 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 87.59 ▼15.00 |
Media Library /wp-admin/upload.php | 3.53 ▲0.29 | 39.62 ▲2.86 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
yzen_options |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for RSS for Yandex Zen
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 14.37 ▼0.21 | 1.86 ▼0.16 | 41.21 ▼1.69 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▲0.04 | 94.22 ▼0.15 | 42.10 ▲0.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.00 | 39.42 ▼0.35 | 35.12 ▼1.99 |
Add New Post /wp-admin/post-new.php | 6,498 ▲4,956 | 19.17 ▲0.98 | 920.89 ▲257.01 | 66.16 ▲7.84 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.25 ▲0.03 | 102.15 ▲1.18 | 41.47 ▼6.59 |
Яндекс.Дзен /wp-admin/rss-for-yandex-zen.php | 26 | 0.44 | 0.12 | 14.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rss-for-yandex-zen/rss-for-yandex-zen.php:53
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/rss-for-yandex-zen.php
- > Network (severe)
wp-admin/rss-for-yandex-zen.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: yandex zen, yandex, feed, rss, zen
rss-for-yandex-zen/rss-for-yandex-zen.php Passed 13 tests
Analyzing the main PHP file in "RSS for Yandex Zen" version 1.28
76 characters long description:
Создание RSS-ленты для сервиса Яндекс.Дзен.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,606 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 135 | 86 | 1,183 |
JavaScript | 3 | 90 | 27 | 421 |
CSS | 1 | 2 | 7 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 24 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon_coffee.png | 5.14KB | 5.32KB | 0.00% |
img/video.png | 0.12KB | 0.12KB | 0.00% |