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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.91ms] Passed 4 tests
An overview of server-side resources used by WP Easy Mail SMTP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.51 ▲1.97 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.85 ▼1.31 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.58 ▼4.92 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.97 ▼7.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.63 ▲2.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Easy Mail SMTP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲59 | 13.28 ▼1.31 | 5.00 ▲2.98 | 42.94 ▼0.29 |
Dashboard /wp-admin | 2,219 ▲28 | 5.87 ▲0.95 | 96.85 ▼3.48 | 43.45 ▼0.10 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.02 ▲0.04 | 35.36 ▼6.09 | 33.99 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,528 ▲6 | 23.16 ▼0.02 | 679.04 ▲0.78 | 72.72 ▲13.14 |
Media Library /wp-admin/upload.php | 1,407 ▲25 | 4.21 ▲0.05 | 97.94 ▲0.62 | 42.44 ▼1.76 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'WEMS_MAIL_SMTP_DIRinit/easy-mail-smtp-functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-easy-mail-smtp/admin/easy-mail-smtp-tab-email-test.php on line 2
- > PHP Warning
require_once(WEMS_MAIL_SMTP_DIRinit/easy-mail-smtp-functions.php): failed to open stream: No such file or directory in wp-content/plugins/wp-easy-mail-smtp/admin/easy-mail-smtp-tab-email-test.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-easy-mail-smtp/wp-easy-mail-smtp.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_verify_nonce() in wp-content/plugins/wp-easy-mail-smtp/admin/easy-mail-smtp-tab-settings.php:3
- > PHP Warning
Use of undefined constant WEMS_MAIL_SMTP_DIR - assumed 'WEMS_MAIL_SMTP_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-easy-mail-smtp/admin/easy-mail-smtp-tab-email-test.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-mail-smtp/init/easy-mail-smtp-functions.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
- License: Empty string
wp-easy-mail-smtp/wp-easy-mail-smtp.php Passed 13 tests
"WP Easy Mail SMTP" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
46 characters long description:
Make mail sending easy using SMTP in Wordpress
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 detected240 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 9 | 10 | 217 |
CSS | 1 | 1 | 0 | 16 |
JavaScript | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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
PNG images were not found in this plugin