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.05MB] [CPU: ▲2.74ms] Passed 4 tests
An overview of server-side resources used by Check-Mail-SMTP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 46.00 ▲3.19 |
Dashboard /wp-admin | 3.35 ▲0.04 | 56.20 ▲7.45 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 55.17 ▲0.58 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.73 ▼0.27 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 43.49 ▲9.12 |
Check Sever Mail /wp-admin/admin.php?page=check-sever-mail | 3.29 | 41.20 |
Reports /wp-admin/admin.php?page=reports | 3.27 | 42.61 |
SMTP /wp-admin/admin.php?page=smtp | 3.24 | 38.83 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_reports |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Check-Mail-SMTP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲212 | 14.71 ▲0.36 | 1.90 ▼0.02 | 44.30 ▲2.31 |
Dashboard /wp-admin | 2,375 ▲198 | 6.40 ▲0.73 | 109.54 ▲19.17 | 46.02 ▲2.02 |
Posts /wp-admin/edit.php | 2,307 ▲207 | 3.69 ▲1.71 | 47.59 ▲8.67 | 35.30 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,720 ▲190 | 22.56 ▼0.37 | 636.02 ▼14.79 | 41.07 ▼16.09 |
Media Library /wp-admin/upload.php | 1,443 ▲40 | 4.40 ▲0.26 | 85.51 ▼20.20 | 56.30 ▲8.33 |
Check Sever Mail /wp-admin/admin.php?page=check-sever-mail | 1,050 | 3.32 | 45.78 | 33.27 |
Reports /wp-admin/admin.php?page=reports | 1,136 | 3.93 | 60.69 | 28.82 |
SMTP /wp-admin/admin.php?page=smtp | 1,176 | 3.42 | 42.21 | 31.13 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
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 fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/check-server-mail-smtp/reports.php
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)
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smtp
- > Javascript (severe) in unknown
/wp-content/plugins/check-server-mail-smtp/js/bootstrap.min.js?ver=6.3.1 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (SMTP Mailer Settings)
check-server-mail-smtp/main.php 92% from 13 tests
"Check-Mail-SMTP" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("check-server-mail-smtp.php" instead of "main.php")
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 plugin868 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 166 | 99 | 704 |
JavaScript | 2 | 0 | 9 | 162 |
CSS | 2 | 0 | 5 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
images/sort_both (1).png | 0.20KB | 0.29KB | 0.00% |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |