Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.20ms] Passed 4 tests
A check of server-side resources used by WordSMTP Simple SMTP Solution
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 41.87 ▲6.04 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.34 ▲1.87 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.43 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.26 ▼15.37 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.50 ▲2.93 |
Report /wp-admin/admin.php?page=word-smtp-reportmenu | 3.28 | 34.42 |
Settings /wp-admin/admin.php?page=word-smtp-topmenu | 3.27 | 34.12 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_scwordsmtp_delivery_log |
wp_scwordsmtp_error_log |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WordSMTP Simple SMTP Solution: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲73 | 13.30 ▼0.99 | 1.72 ▼0.20 | 42.81 ▲3.27 |
Dashboard /wp-admin | 2,253 ▲62 | 5.86 ▼0.05 | 97.71 ▼4.73 | 40.59 ▼2.14 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.15 ▲0.19 | 36.26 ▼1.67 | 32.41 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,552 ▲16 | 23.10 ▼0.29 | 628.17 ▲12.90 | 53.50 ▲2.87 |
Media Library /wp-admin/upload.php | 1,435 ▲44 | 4.25 ▲0.07 | 95.19 ▼5.94 | 42.68 ▲0.79 |
Report /wp-admin/admin.php?page=word-smtp-reportmenu | 1,230 | 2.93 | 72.08 | 44.29 |
Settings /wp-admin/admin.php?page=word-smtp-topmenu | 931 | 2.26 | 38.78 | 42.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_scwordsmtp_delivery_log
- wp_scwordsmtp_error_log
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=word-smtp-reportmenu
- > Network (severe)
wp-content/plugins/wordsmtp/admin/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=word-smtp-reportmenu
- > Network (severe)
wp-content/plugins/wordsmtp/admin/css/images/ui-bg_glass_65_ffffff_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=word-smtp-reportmenu
- > Network (severe)
wp-content/plugins/wordsmtp/admin/css/images/ui-bg_glass_75_e6e6e6_1x400.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: smtp, custom domain mailer solution, email solution for woocommerce, smtp email solution
wordsmtp/wordsmtp.php 85% from 13 tests
"WordSMTP Simple SMTP Solution" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 202 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin9,147 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 2,066 | 6,900 | 6,785 |
CSS | 4 | 55 | 65 | 1,824 |
PHP | 8 | 102 | 106 | 538 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 23 | 88.46% |
▷ Public methods | 24 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.69% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin