Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.12ms] Passed 4 tests
An overview of server-side resources used by Yandex Mail SMTP Server for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 41.66 ▲0.36 |
Dashboard /wp-admin | 3.38 ▼0.01 | 49.98 ▼16.63 |
Posts /wp-admin/edit.php | 3.49 ▲0.10 | 50.90 ▼0.56 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 99.13 ▼3.65 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 36.86 ▲1.16 |
Yandex Mail SMTP /wp-admin/options-general.php?page=yandex-smtp | 3.25 | 30.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Yandex Mail SMTP Server for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.23 ▼0.12 | 1.77 ▼0.00 | 43.93 ▲0.12 |
Dashboard /wp-admin | 2,199 ▲22 | 5.57 ▼0.05 | 93.48 ▼5.33 | 42.53 ▼3.25 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.02 | 39.22 ▲3.73 | 36.75 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.49 ▲0.47 | 624.44 ▼65.52 | 63.84 ▲7.26 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.03 | 102.67 ▼2.73 | 43.34 ▼3.36 |
Yandex Mail SMTP /wp-admin/options-general.php?page=yandex-smtp | 821 | 2.03 | 22.69 | 30.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yandex-smtp
- > Notice in wp-content/plugins/smtp-yandex-mail-server/class-yandex-smtp.php+62
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/smtp-yandex-mail-server/admin-styles.css.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: smtp, yandex, smtp server, yandex smtp, yandex mail
smtp-yandex-mail-server/yandex-smtp.php 85% from 13 tests
The main PHP script in "Yandex Mail SMTP Server for WordPress" version 1.0.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("smtp-yandex-mail-server.php" instead of "yandex-smtp.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected155 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 33 | 15 | 155 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 1 | 100.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin