Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼5.15ms] Passed 4 tests
An overview of server-side resources used by SMTP Mail
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.08 ▼0.61 |
Dashboard /wp-admin | 3.56 ▲0.21 | 46.71 ▼14.79 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.42 ▲3.82 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 86.40 ▼8.66 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.64 ▲3.47 |
SMTP Mail /wp-admin/options-general.php?page=smtpmail-setting | 3.52 | 37.47 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 18 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_smtpmail_data |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
smtpmail_version |
widget_theysaidso_widget |
smtpmail_install |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SMTP Mail
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲78 | 14.67 ▼0.05 | 1.96 ▲0.34 | 36.38 ▼8.84 |
Dashboard /wp-admin | 2,208 ▲31 | 5.59 ▼0.04 | 94.54 ▼0.76 | 41.81 ▲0.29 |
Posts /wp-admin/edit.php | 2,110 ▲13 | 1.99 ▲0.03 | 41.01 ▲3.92 | 35.06 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 21.14 ▼1.96 | 568.48 ▼110.54 | 64.60 ▲12.24 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.21 ▼0.02 | 95.28 ▼1.38 | 44.08 ▲1.45 |
SMTP Mail /wp-admin/options-general.php?page=smtpmail-setting | 1,701 | 2.20 | 25.27 | 63.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_smtpmail_data
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- can_compress_scripts
- smtpmail_install
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- smtpmail_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/smtp-mail/includes/contact-form-7-extensions.php:92
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: smtp setting, phpmailer, send test, mail, smtp
smtp-mail/index.php 85% from 13 tests
The entry point to "SMTP Mail" version 1.3.15 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("3.5" instead of "6.2")
- Main file name: Name the main plugin file the same as the plugin slug ("smtp-mail.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,116 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 408 | 572 | 1,698 |
CSS | 2 | 7 | 4 | 211 |
HTML | 2 | 0 | 0 | 125 |
JavaScript | 4 | 22 | 11 | 82 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin