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.91MB] [CPU: ▲1.75ms] Passed 4 tests
Server-side resources used by RSS for Yandex Turbo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.37 ▲0.91 | 45.55 ▼0.60 |
Dashboard /wp-admin | 4.27 ▲0.92 | 53.97 ▼9.22 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 57.65 ▲6.38 |
Add New Post /wp-admin/post-new.php | 6.82 ▲0.93 | 118.29 ▲19.41 |
Media Library /wp-admin/upload.php | 4.13 ▲0.90 | 44.72 ▲10.44 |
Server storage [IO: ▲0.63MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
yturbo_options |
Browser metrics Passed 4 tests
An overview of browser requirements for RSS for Yandex Turbo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.30 ▼0.90 | 5.34 ▲3.54 | 43.12 ▼0.95 |
Dashboard /wp-admin | 2,230 ▲27 | 4.87 ▼0.95 | 109.27 ▼5.97 | 48.51 ▲3.89 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▼0.02 | 37.86 ▲3.12 | 38.38 ▲5.99 |
Add New Post /wp-admin/post-new.php | 6,656 ▲5,101 | 22.48 ▲4.18 | 961.09 ▲319.32 | 72.63 ▲15.67 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.19 ▼0.03 | 106.68 ▼0.70 | 53.83 ▲9.33 |
Яндекс.Турбо /wp-admin/rss-for-yandex-turbo.php | 26 | 0.44 | 0.10 | 14.03 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
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 plugin_dir_path() in wp-content/plugins/rss-for-yandex-turbo/rss-for-yandex-turbo.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/rss-for-yandex-turbo.php
- > Network (severe)
wp-admin/rss-for-yandex-turbo.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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: yandex, yandex turbo, rss, feed, turbo
rss-for-yandex-turbo/rss-for-yandex-turbo.php Passed 13 tests
"RSS for Yandex Turbo" version 1.32's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
Создание RSS-ленты для сервиса Яндекс.Турбо.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected3,921 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 419 | 373 | 2,631 |
PHP | 3 | 622 | 3,990 | 653 |
CSS | 3 | 7 | 4 | 637 |
PHP code Passed 2 tests
A brief analysis 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 | 59.50 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 9 | 19.57% |
▷ Public methods | 33 | 71.74% |
▷ Protected methods | 9 | 19.57% |
▷ Private methods | 4 | 8.70% |
Functions | 61 | |
▷ Named functions | 57 | 93.44% |
▷ Anonymous functions | 4 | 6.56% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
19 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/feedback/vkontakte.png | 0.67KB | 0.69KB | 0.00% |
img/feedback/callback.png | 0.68KB | 0.68KB | 0.14% |
img/feedback/telegram.png | 0.65KB | 0.65KB | 0.00% |
img/feedback/whatsapp.png | 0.89KB | 0.91KB | 0.00% |
img/vk.png | 0.57KB | 0.60KB | 0.00% |