Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.45ms] Passed 4 tests
A check of server-side resources used by WP Mail SMTP - SMTP7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.61 ▼3.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.76 ▼1.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.08 ▲2.83 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.38 ▼16.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.37 ▼0.09 |
Mail Smtp Mailer /wp-admin/options-general.php?page=wp-mail-smtp-mailer | 3.20 | 31.36 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
wpmsm_mailer_install_date |
WPMSM_mail_data |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Mail SMTP - SMTP7: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.36 ▼1.04 | 1.84 ▲0.21 | 43.41 ▲4.86 |
Dashboard /wp-admin | 2,210 ▲25 | 4.86 ▼0.02 | 109.54 ▲9.55 | 40.50 ▼2.90 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 40.11 ▲7.15 | 35.26 ▲1.86 |
Add New Post /wp-admin/post-new.php | 1,549 ▲30 | 23.20 ▼0.01 | 665.32 ▼14.00 | 51.32 ▼4.16 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.03 | 96.14 ▼0.45 | 40.00 ▼0.32 |
Mail Smtp Mailer /wp-admin/options-general.php?page=wp-mail-smtp-mailer | 1,023 | 1.73 | 24.27 | 32.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- wpmsm_mailer_install_date
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-mail-smtp-mailer/wp-mail-smtp-mailer.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Admin)
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-mail-smtp-mailer/wp-mail-smtp-mailer.php Passed 13 tests
"WP Mail SMTP - SMTP7" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
65 characters long description:
Make email delivery easy from WordPress. It is easy to configure.
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
No dangerous file extensions were detected434 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 160 | 36 | 317 |
JavaScript | 1 | 43 | 7 | 80 |
CSS | 1 | 5 | 0 | 37 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 3 | 33.33% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 8 | |
▷ Named functions | 8 | 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
There were not PNG files found in your plugin