Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.62ms] Passed 4 tests
Analyzing server-side resources used by Yandex Mail
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.12 ▼2.09 |
Dashboard /wp-admin | 3.34 ▼0.01 | 52.27 ▼15.73 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.03 ▼4.47 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.66 ▼15.88 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.16 ▼2.41 |
Yandex Mail /wp-admin/options-general.php?page=yandex-mail | 3.20 | 30.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Yandex Mail
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.29 ▼0.91 | 6.56 ▲4.50 | 44.89 ▼1.26 |
Dashboard /wp-admin | 2,210 ▲19 | 5.80 ▲0.88 | 101.92 ▼7.11 | 37.56 ▼6.34 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.01 | 36.16 ▲0.47 | 31.41 ▼4.34 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.54 ▼5.75 | 686.17 ▲9.10 | 70.14 ▲4.83 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.21 ▼0.02 | 96.10 ▼9.21 | 45.38 ▼1.62 |
Yandex Mail /wp-admin/options-general.php?page=yandex-mail | 787 | 2.06 | 23.41 | 24.04 |
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 detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yandex-mail
- > Notice in wp-content/plugins/yandex-mail/options.php+65
Trying to access array offset on value of type bool
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== yandex-mail ===
)
yandex-mail/yandex-mail.php Passed 13 tests
This is the main PHP file of "Yandex Mail" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
106 characters long description:
This plugin gives you the easiest way to send emails through the Yandex SMTP server instead of PHP mail().
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin136 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 22 | 10 | 105 |
PO File | 1 | 14 | 21 | 31 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin