Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.49ms] Passed 4 tests
Server-side resources used by eMail by SMTP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.96 ▲0.94 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.82 ▼3.37 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.23 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.81 ▼25.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.07 ▼3.75 |
eMail by SMTP /wp-admin/options-general.php?page=email-by-smtp/emailbysmtp.php | 3.24 | 34.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by eMail by SMTP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▲0.19 | 1.66 ▲0.01 | 43.27 ▲2.26 |
Dashboard /wp-admin | 2,193 ▲16 | 5.54 ▼0.10 | 84.41 ▼9.52 | 42.05 ▼4.09 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.01 | 36.14 ▼5.99 | 37.24 ▲2.81 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 22.90 ▼0.16 | 675.04 ▲13.72 | 52.87 ▼3.29 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▼0.01 | 100.15 ▼20.26 | 49.76 ▼2.33 |
eMail by SMTP /wp-admin/options-general.php?page=email-by-smtp/emailbysmtp.php | 952 | 2.01 | 23.21 | 28.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/email-by-smtp/emailbysmtp.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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: email by smtp, email, email sending, email configuration, smtp
email-by-smtp/emailbysmtp.php 92% from 13 tests
This is the main PHP file of "eMail by SMTP" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("email-by-smtp.php" instead of "emailbysmtp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected243 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 25 | 243 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin