Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.22MB] [CPU: ▼38.45ms] Passed 4 tests
An overview of server-side resources used by Stars SMTP Mailer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 15.71 ▼24.07 |
Dashboard /wp-admin | 2.80 ▼0.51 | 18.81 ▼31.44 |
Posts /wp-admin/edit.php | 2.80 ▼0.56 | 19.46 ▼29.91 |
Add New Post /wp-admin/post-new.php | 2.80 ▼3.09 | 17.40 ▼68.36 |
Media Library /wp-admin/upload.php | 2.80 ▼0.43 | 18.64 ▼14.26 |
Email Log /wp-admin/admin.php?page=stars-smtpm-email-log | 2.80 | 26.79 |
Add New Account /wp-admin/admin.php?page=stars-smtpm-new-account | 2.80 | 17.45 |
SMTP Accounts /wp-admin/admin.php?page=stars-smtpm-accounts | 2.80 | 20.12 |
Test Email /wp-admin/admin.php?page=stars-smtpm-test-mail | 2.80 | 17.64 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 41 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_stars_smtp_settings |
wp_stars_emails_log |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Stars SMTP Mailer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲100 | 13.24 ▼1.25 | 1.69 ▼0.39 | 39.67 ▼4.55 |
Dashboard /wp-admin | 2,314 ▲108 | 4.86 ▲0.02 | 108.59 ▲12.03 | 42.10 ▲6.65 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.05 ▲0.04 | 42.84 ▲7.66 | 37.12 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,558 ▲39 | 17.95 ▼5.10 | 642.64 ▼16.49 | 50.89 ▼8.90 |
Media Library /wp-admin/upload.php | 1,444 ▲53 | 4.27 ▲0.08 | 107.65 ▲7.88 | 46.85 ▼1.17 |
Email Log /wp-admin/admin.php?page=stars-smtpm-email-log | 1,182 | 2.20 | 34.43 | 28.17 |
Add New Account /wp-admin/admin.php?page=stars-smtpm-new-account | 1,136 | 1.83 | 28.53 | 35.93 |
SMTP Accounts /wp-admin/admin.php?page=stars-smtpm-accounts | 1,102 | 2.20 | 32.39 | 28.84 |
Test Email /wp-admin/admin.php?page=stars-smtpm-test-mail | 1,713 | 6.18 | 118.13 | 76.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5643
File class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_stars_smtp_settings
- wp_stars_emails_log
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stars-smtpm-test-mail
- > User deprecated in wp-includes/functions.php+5643
File class-phpmailer.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/PHPMailer.php instead. The PHPMailer class has been moved to wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stars-smtpm-test-mail
- > User deprecated in wp-includes/functions.php+5643
File class-smtp.php is deprecated since version 5.5.0! Use wp-includes/PHPMailer/SMTP.php instead. The SMTP class has been moved to the wp-includes/PHPMailer subdirectory and now uses the PHPMailer\PHPMailer namespace.
- 44 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stars-smtpm-test-mail
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/stars-smtp-mailer/action/stars-class-table-layout.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)
No browser issues were found
Optimizations
Plugin configuration 90% 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 need to be fixed:
- Requires php: Invalid plugin version format
stars-smtp-mailer/stars_smtp_mailer.php 85% from 13 tests
This is the main PHP file of "Stars SMTP Mailer" version 1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 169 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("stars-smtp-mailer.php" instead of "stars_smtp_mailer.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
Success! There were no dangerous files found in this plugin2,396 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 137 | 46 | 1,451 |
CSS | 2 | 6 | 52 | 709 |
JavaScript | 2 | 0 | 3 | 233 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.53% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
24 PNG files occupy 0.25MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.37KB | 0.12KB | ▼ 66.04% |
assets/css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
assets/css/images/ui-bg_flat_65_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
assets/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
assets/css/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png | 0.25KB | 0.11KB | ▼ 53.39% |